Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
primes.h
Go to the documentation of this file.
1// DO NOT EDIT! generated by ./autogen
2
3#ifndef primes_h
4#define primes_h
5
7#include <inttypes.h>
8
9// #define _M5_
10
11#if defined P2047m1l226
12#define primes_num 226
13#define two_cofactor 64
14#define primes_batches 15
15#define WOMBATKEYS 67
16#define NUMBER_OF_WORDS 32
17#define UPPER_BOUND 1044 // Bits of 4 * sqrt( [p + 1] / [2^e] )
18#define ELLIGATOR_SEED 2
19
20#elif defined P2047m4l205
21#define primes_num 207
22#define two_cofactor 275
23#define primes_batches 13
24#define WOMBATKEYS 68
25#define NUMBER_OF_WORDS 32
26#define UPPER_BOUND 1044 // Bits of 4 * sqrt( [p + 1] / [2^e] )
27#define ELLIGATOR_SEED 15
28
29#elif defined P2047m6l194
30#define primes_num 196
31#define two_cofactor 387
32#define primes_batches 12
33#define WOMBATKEYS 69
34#define NUMBER_OF_WORDS 32
35#define UPPER_BOUND 1044 // Bits of 4 * sqrt( [p + 1] / [2^e] )
36#define ELLIGATOR_SEED 4
37
38#elif defined P2047m7l188
39#define primes_num 190
40#define two_cofactor 450
41#define primes_batches 10
42#define WOMBATKEYS 70
43#define NUMBER_OF_WORDS 32
44#define UPPER_BOUND 1044 // Bits of 4 * sqrt( [p + 1] / [2^e] )
45#define ELLIGATOR_SEED 7
46#else
47
48#error BITS must be 2048
49#endif
50
51#define primes NS(primes)
52#define primes_dac NS(primes_dac)
53#define primes_daclen NS(primes_daclen)
54
55#define batch_start NS(batch_start)
56#define batch_stop NS(batch_stop)
57#define batch_keybounds_start NS(batch_keybounds_start)
58#define batch_keybounds_stop NS(batch_keybounds_stop)
59#define batch_numkeys NS(batch_numkeys)
60#define batch_maxdac NS(batch_maxdac)
61
62extern const int64_t primes[primes_num];
63extern const int64_t primes_dac[primes_num];
64extern const int64_t primes_daclen[primes_num];
65extern const int64_t batch_start[primes_batches];
66extern const int64_t batch_stop[primes_batches];
67extern const int64_t batch_keybounds_start[primes_batches+1];
68extern const int64_t batch_keybounds_stop[primes_batches];
69extern const int64_t batch_numkeys[primes_batches];
70extern const int64_t batch_maxdac[primes_batches];
71extern const int8_t strategy[WOMBATKEYS];
72
73#endif
#define batch_keybounds_start
Definition primes.h:57
#define primes
Definition primes.h:51
const int8_t strategy[WOMBATKEYS]
#define batch_maxdac
Definition primes.h:60
#define batch_keybounds_stop
Definition primes.h:58
#define primes_dac
Definition primes.h:52
#define batch_start
Definition primes.h:55
#define primes_daclen
Definition primes.h:53
#define batch_numkeys
Definition primes.h:59
#define batch_stop
Definition primes.h:56