aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h
new file mode 100644
index 0000000..9faa946
--- /dev/null
+++ b/src/random.h
@@ -0,0 +1,14 @@
+/*
+ * ecgen, tool for generating Elliptic curve domain parameters
+ * Copyright (C) 2017 J08nY
+ */
+#ifndef ECGEN_RANDOM_H
+#define ECGEN_RANDOM_H
+
+#include <pari/pari.h>
+
+GEN random_prime(long bits);
+
+GEN random_int(long bits);
+
+#endif // ECGEN_RANDOM_H