Deleted Added
full compact
BN_rand.3 (100947) BN_rand.3 (110010)
1.\" Automatically generated by Pod::Man version 1.15
1.\" Automatically generated by Pod::Man version 1.15
2.\" Tue Jul 30 09:21:22 2002
2.\" Mon Jan 13 19:27:28 2003
3.\"
4.\" Standard preamble:
5.\" ======================================================================
6.de Sh \" Subsection heading
7.br
8.if t .Sp
9.ne 5
10.PP

--- 122 unchanged lines hidden (view full) ---

133. ds Th \o'LP'
134. ds ae ae
135. ds Ae AE
136.\}
137.rm #[ #] #H #V #F C
138.\" ======================================================================
139.\"
140.IX Title "BN_rand 3"
3.\"
4.\" Standard preamble:
5.\" ======================================================================
6.de Sh \" Subsection heading
7.br
8.if t .Sp
9.ne 5
10.PP

--- 122 unchanged lines hidden (view full) ---

133. ds Th \o'LP'
134. ds ae ae
135. ds Ae AE
136.\}
137.rm #[ #] #H #V #F C
138.\" ======================================================================
139.\"
140.IX Title "BN_rand 3"
141.TH BN_rand 3 "0.9.6e" "2002-07-30" "OpenSSL"
141.TH BN_rand 3 "0.9.7" "2003-01-13" "OpenSSL"
142.UC
143.SH "NAME"
144BN_rand, BN_pseudo_rand \- generate pseudo-random number
145.SH "SYNOPSIS"
146.IX Header "SYNOPSIS"
147.Vb 1
148\& #include <openssl/bn.h>
149.Ve

--- 31 unchanged lines hidden (view full) ---

181.PP
182The \s-1PRNG\s0 must be seeded prior to calling \fIBN_rand()\fR or \fIBN_rand_range()\fR.
183.SH "RETURN VALUES"
184.IX Header "RETURN VALUES"
185The functions return 1 on success, 0 on error.
186The error codes can be obtained by ERR_get_error(3).
187.SH "SEE ALSO"
188.IX Header "SEE ALSO"
142.UC
143.SH "NAME"
144BN_rand, BN_pseudo_rand \- generate pseudo-random number
145.SH "SYNOPSIS"
146.IX Header "SYNOPSIS"
147.Vb 1
148\& #include <openssl/bn.h>
149.Ve

--- 31 unchanged lines hidden (view full) ---

181.PP
182The \s-1PRNG\s0 must be seeded prior to calling \fIBN_rand()\fR or \fIBN_rand_range()\fR.
183.SH "RETURN VALUES"
184.IX Header "RETURN VALUES"
185The functions return 1 on success, 0 on error.
186The error codes can be obtained by ERR_get_error(3).
187.SH "SEE ALSO"
188.IX Header "SEE ALSO"
189bn(3), err(3), rand(3),
189bn(3), ERR_get_error(3), rand(3),
190RAND_add(3), RAND_bytes(3)
191.SH "HISTORY"
192.IX Header "HISTORY"
193\&\fIBN_rand()\fR is available in all versions of SSLeay and OpenSSL.
194\&\fIBN_pseudo_rand()\fR was added in OpenSSL 0.9.5. The \fBtop\fR == \-1 case
195and the function \fIBN_rand_range()\fR were added in OpenSSL 0.9.6a.
196\&\fIBN_pseudo_rand_range()\fR was added in OpenSSL 0.9.6c.
190RAND_add(3), RAND_bytes(3)
191.SH "HISTORY"
192.IX Header "HISTORY"
193\&\fIBN_rand()\fR is available in all versions of SSLeay and OpenSSL.
194\&\fIBN_pseudo_rand()\fR was added in OpenSSL 0.9.5. The \fBtop\fR == \-1 case
195and the function \fIBN_rand_range()\fR were added in OpenSSL 0.9.6a.
196\&\fIBN_pseudo_rand_range()\fR was added in OpenSSL 0.9.6c.