summaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2008-01-05 23:43:43 +0100
committerNiels Möller <nisse@lysator.liu.se>2008-01-05 23:43:43 +0100
commit00dc6833fae819e936a953c47da4c57e4825d2bc (patch)
treea3a108c8e3f0f6f5eddbd518dc1e489ee2a97a41 /bignum.h
parent6a0733148b2fcde0c28c09695e2bb492cfce2941 (diff)
downloadnettle-00dc6833fae819e936a953c47da4c57e4825d2bc.tar.gz
(nettle_next_prime): New prototype.
Rev: nettle/bignum.h:1.2
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h4
1 files changed, 4 insertions, 0 deletions
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;