summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/BN_rand.3
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-06-11 19:00:55 +0000
committerjkim <jkim@FreeBSD.org>2015-06-11 19:00:55 +0000
commitd675e841ef78a78bab5972d63fa3d8d15ecdbb19 (patch)
treeaf421c8f5f156e1b4b26149d5c4964d037dd0454 /secure/lib/libcrypto/man/BN_rand.3
parentaec7d82113b7de83f7ac3f9470fde49813358dec (diff)
downloadFreeBSD-src-d675e841ef78a78bab5972d63fa3d8d15ecdbb19.zip
FreeBSD-src-d675e841ef78a78bab5972d63fa3d8d15ecdbb19.tar.gz
Merge OpenSSL 1.0.1n.
Diffstat (limited to 'secure/lib/libcrypto/man/BN_rand.3')
-rw-r--r--secure/lib/libcrypto/man/BN_rand.37
1 files changed, 4 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/man/BN_rand.3 b/secure/lib/libcrypto/man/BN_rand.3
index 7531b02..0c6cb25 100644
--- a/secure/lib/libcrypto/man/BN_rand.3
+++ b/secure/lib/libcrypto/man/BN_rand.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.30)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.30)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "BN_rand 3"
-.TH BN_rand 3 "2015-03-19" "1.0.1m" "OpenSSL"
+.TH BN_rand 3 "2015-06-11" "1.0.1n" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -161,7 +161,8 @@ most significant bit of the random number can be zero. If \fBtop\fR is 0,
it is set to 1, and if \fBtop\fR is 1, the two most significant bits of
the number will be set to 1, so that the product of two such random
numbers will always have 2*\fBbits\fR length. If \fBbottom\fR is true, the
-number will be odd.
+number will be odd. The value of \fBbits\fR must be zero or greater. If \fBbits\fR is
+1 then \fBtop\fR cannot also be 1.
.PP
\&\fIBN_pseudo_rand()\fR does the same, but pseudo-random numbers generated by
this function are not necessarily unpredictable. They can be used for
OpenPOWER on IntegriCloud