aboutsummaryrefslogtreecommitdiff
path: root/src/math/random.h
diff options
context:
space:
mode:
authorJ08nY2017-02-14 21:20:08 +0100
committerJ08nY2017-02-14 21:20:08 +0100
commit39c6155e0193ff69dcdf765e936487bfcf4f1b17 (patch)
tree93230b214c64951ded6451f439f304ccca02b7e0 /src/math/random.h
parent0c5ff628d52678bb44b9c595daf1289833d0e532 (diff)
downloadecgen-39c6155e0193ff69dcdf765e936487bfcf4f1b17.tar.gz
ecgen-39c6155e0193ff69dcdf765e936487bfcf4f1b17.tar.zst
ecgen-39c6155e0193ff69dcdf765e936487bfcf4f1b17.zip
Added point generation:
- Prime order points for all prime divisors of curve order (all prime subgroups) - Random points - Minimal set of generators of the whole group (one or two points)
Diffstat (limited to 'src/math/random.h')
-rw-r--r--src/math/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/random.h b/src/math/random.h
index 5d3d17f..d044b90 100644
--- a/src/math/random.h
+++ b/src/math/random.h
@@ -8,7 +8,7 @@
#include <pari/pari.h>
#include <stdbool.h>
-bool random_init();
+bool random_init(void);
GEN random_prime(long bits);