Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame] | 1 | struct BigNum; |
2 | |||||
3 | /* Generate a Sophie Germain prime */ | ||||
4 | int germainPrimeGen(struct BigNum *bn, unsigned order, | ||||
5 | int (*f)(void *arg, int c), void *arg); | ||||
6 | /* The same, but search for using the given step size */ | ||||
7 | int germainPrimeGenStrong(struct BigNum *bn, struct BigNum const *step, | ||||
8 | unsigned order, int (*f)(void *arg, int c), void *arg); |