From 00dc6833fae819e936a953c47da4c57e4825d2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Sat, 5 Jan 2008 23:43:43 +0100 Subject: (nettle_next_prime): New prototype. Rev: nettle/bignum.h:1.2 --- bignum.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bignum.h') 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; -- cgit v1.2.1