diff options
| author | J08nY | 2017-02-14 21:20:08 +0100 |
|---|---|---|
| committer | J08nY | 2017-02-14 21:20:08 +0100 |
| commit | 39c6155e0193ff69dcdf765e936487bfcf4f1b17 (patch) | |
| tree | 93230b214c64951ded6451f439f304ccca02b7e0 /src/math/random.h | |
| parent | 0c5ff628d52678bb44b9c595daf1289833d0e532 (diff) | |
| download | ecgen-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.h | 2 |
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); |
