summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-09-28 15:00:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-09-28 15:00:45 +0000
commit3a77e1cc3dc4eb48eb5dfb3239150c768f108c6a (patch)
tree991511f09b905aa4cf591b025f534a53d2d54779 /lib/libc
parent87a79262f72f557eabdd56237b3ce661efde288f (diff)
Xr random 4 in a better way
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/arc4random.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3
index fd0185707ff..2bc7dd0d00a 100644
--- a/lib/libc/crypt/arc4random.3
+++ b/lib/libc/crypt/arc4random.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: arc4random.3,v 1.35 2014/11/25 16:45:24 millert Exp $
+.\" $OpenBSD: arc4random.3,v 1.36 2019/09/28 15:00:44 deraadt Exp $
.\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@@ -30,7 +30,7 @@
.\"
.\" Manual page, using -mandoc macros
.\"
-.Dd $Mdocdate: November 25 2014 $
+.Dd $Mdocdate: September 28 2019 $
.Dt ARC4RANDOM 3
.Os
.Sh NAME
@@ -68,7 +68,9 @@ On each call, a cryptographic pseudo-random number generator is used
to generate a new result.
One data pool is used for all consumers in a process, so that consumption
under program flow can act as additional stirring.
-The subsystem is re-seeded from the kernel random number subsystem using
+The subsystem is re-seeded from the kernel
+.Xr random 4
+subsystem using
.Xr getentropy 2
on a regular basis, and also upon
.Xr fork 2 .