blob: f1e018a0b37ac305463f1e94f4cfc9bbd0cbe47e [file] [log] [blame]
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -05001struct BigNum;
2
3/* Generate a Sophie Germain prime */
4int 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 */
7int germainPrimeGenStrong(struct BigNum *bn, struct BigNum const *step,
8 unsigned order, int (*f)(void *arg, int c), void *arg);