blob: f1e018a0b37ac305463f1e94f4cfc9bbd0cbe47e [file] [log] [blame]
struct BigNum;
/* Generate a Sophie Germain prime */
int germainPrimeGen(struct BigNum *bn, unsigned order,
int (*f)(void *arg, int c), void *arg);
/* The same, but search for using the given step size */
int germainPrimeGenStrong(struct BigNum *bn, struct BigNum const *step,
unsigned order, int (*f)(void *arg, int c), void *arg);