summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/random.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/random.3')
-rw-r--r--src/lib/libc/stdlib/random.37
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/random.3 b/src/lib/libc/stdlib/random.3
index f43f06420d..626b040b50 100644
--- a/src/lib/libc/stdlib/random.3
+++ b/src/lib/libc/stdlib/random.3
@@ -25,7 +25,7 @@
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE. 26.\" SUCH DAMAGE.
27.\" 27.\"
28.\" $OpenBSD: random.3,v 1.17 2003/06/02 20:18:38 millert Exp $ 28.\" $OpenBSD: random.3,v 1.18 2005/11/30 07:51:02 otto Exp $
29.\" 29.\"
30.Dd April 19, 1991 30.Dd April 19, 1991
31.Dt RANDOM 3 31.Dt RANDOM 3
@@ -89,9 +89,8 @@ as the seed.
89.Pp 89.Pp
90The 90The
91.Fn srandomdev 91.Fn srandomdev
92routine initializes a state array using the 92routine initializes a state array using
93.Xr arandom 4 93random numbers obtained from the kernel,
94random number device which returns good random numbers,
95suitable for cryptographic use. 94suitable for cryptographic use.
96Note that this particular seeding procedure can generate 95Note that this particular seeding procedure can generate
97states which are impossible to reproduce by calling 96states which are impossible to reproduce by calling