diff options
Diffstat (limited to 'bignum.h')
-rw-r--r-- | bignum.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -71,29 +71,29 @@ nettle_mpz_init_set_str_256_u(mpz_t x, /* Returns a uniformly distributed random number 0 <= x < 2^n */ void nettle_mpz_random_size(mpz_t x, - void *ctx, nettle_random_func random, + void *ctx, nettle_random_func *random, unsigned bits); /* Returns a number x, almost uniformly random in the range * 0 <= x < n. */ void nettle_mpz_random(mpz_t x, - void *ctx, nettle_random_func random, + 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); + void *progress_ctx, nettle_progress_func *progress); void nettle_random_prime(mpz_t p, unsigned bits, int top_bits_set, - void *ctx, nettle_random_func random, - void *progress_ctx, nettle_progress_func progress); + void *ctx, nettle_random_func *random, + void *progress_ctx, nettle_progress_func *progress); void _nettle_generate_pocklington_prime (mpz_t p, mpz_t r, unsigned bits, int top_bits_set, - void *ctx, nettle_random_func random, + void *ctx, nettle_random_func *random, const mpz_t p0, const mpz_t q, const mpz_t p0q); |