X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FBN_rand.pod;h=2a8bed5fed8f1c75c3c49ff792a0c4e27110865d;hp=e4c94e3d12d02bb18eaed178123c592723a234ea;hb=e306892994a0f189089916d2ea66b3bdc0b2d777;hpb=836f996010d6a5f38d9a13279c37e84a42819966 diff --git a/doc/crypto/BN_rand.pod b/doc/crypto/BN_rand.pod index e4c94e3d12..2a8bed5fed 100644 --- a/doc/crypto/BN_rand.pod +++ b/doc/crypto/BN_rand.pod @@ -12,7 +12,7 @@ BN_rand, BN_pseudo_rand - generate pseudo-random number int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); - int BN_rand_range(BIGNUM *rnd, BIGNUM *min, BIGNUM *range); + int BN_rand_range(BIGNUM *rnd, BIGNUM *range); =head1 DESCRIPTION @@ -28,8 +28,7 @@ non-cryptographic purposes and for certain purposes in cryptographic protocols, but usually not for key generation etc. BN_rand_range() generates a cryptographically strong pseudo-random -number B in the range B E= B E B + B. -B may be NULL, in that case 0 E= B E B. +number B in the range 0 = B E B. The PRNG must be seeded prior to calling BN_rand() or BN_rand_range().