From: Niels Möller Date: Sat, 5 Jan 2008 22:43:43 +0000 (+0100) Subject: (nettle_next_prime): New prototype. X-Git-Tag: nettle_2.0_release_20090608~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00dc6833fae819e936a953c47da4c57e4825d2bc;p=thirdparty%2Fnettle.git (nettle_next_prime): New prototype. Rev: nettle/bignum.h:1.2 --- diff --git a/bignum.h b/bignum.h index 38b30905..97da8171 100644 --- a/bignum.h +++ b/bignum.h @@ -82,6 +82,10 @@ nettle_mpz_random(mpz_t x, void *ctx, nettle_random_func random, const mpz_t n); +void +nettle_next_prime(mpz_t p, mpz_t n, unsigned count, unsigned prime_limit, + void *progress_ctx, nettle_progress_func progress); + /* sexp parsing */ struct sexp_iterator;