summaryrefslogtreecommitdiffstats
path: root/keygen_args.h
diff options
context:
space:
mode:
Diffstat (limited to 'keygen_args.h')
-rw-r--r--keygen_args.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keygen_args.h b/keygen_args.h
new file mode 100644
index 0000000..c9d0bce
--- /dev/null
+++ b/keygen_args.h
@@ -0,0 +1,19 @@
+#ifndef _KEYGEN_ARGS_
+#define _KEYGEN_ARGS_
+
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+
+/* global variables */
+extern char *pubkey;
+extern char *prikey;
+extern long prime_p;
+extern long prime_q;
+extern int random_f;
+
+/* function protypes */
+int keygen_args(int, char **);
+
+#endif
+