summaryrefslogtreecommitdiffstats
path: root/doc/crypto/bn.pod
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-09-03 12:58:16 +0000
committerBodo Möller <bodo@openssl.org>2001-09-03 12:58:16 +0000
commit983495c4b215b7418dc3470fa8bc9c919c09c683 (patch)
tree1f22a7ae4ac1c0f6d82eb0e7745c3371f14df091 /doc/crypto/bn.pod
parent931a23a5a55d153db9a0a76ee27e28af90be86e6 (diff)
Use uniformly chosen witnesses for Miller-Rabin test
(by using new BN_pseudo_rand_range function)
Diffstat (limited to 'doc/crypto/bn.pod')
-rw-r--r--doc/crypto/bn.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/crypto/bn.pod b/doc/crypto/bn.pod
index cbe3bc704f..210dfeac08 100644
--- a/doc/crypto/bn.pod
+++ b/doc/crypto/bn.pod
@@ -69,6 +69,7 @@ bn - multiprecision integer arithmetics
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
int BN_rand_range(BIGNUM *rnd, BIGNUM *range);
+ int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits,int safe, BIGNUM *add,
BIGNUM *rem, void (*callback)(int, int, void *), void *cb_arg);