]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(nettle_next_prime): New prototype.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 5 Jan 2008 22:43:43 +0000 (23:43 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 5 Jan 2008 22:43:43 +0000 (23:43 +0100)
Rev: nettle/bignum.h:1.2

bignum.h

index 38b30905f4eb8363598273a3f7a1b7872a35bdbd..97da817185f6687cf317f720de587f25ce27a77c 100644 (file)
--- 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;