diff options
| author | 2008-06-08 18:37:09 +0000 | |
|---|---|---|
| committer | 2008-06-08 18:37:09 +0000 | |
| commit | d6e090c2ef724c943492abf5010587dfe5d85f7e (patch) | |
| tree | 666ef4c322b68d7fc590787dc23812f7dda4acc5 /lib/libc | |
| parent | remove a bunch of kerberos definitions (diff) | |
| download | wireguard-openbsd-d6e090c2ef724c943492abf5010587dfe5d85f7e.tar.xz wireguard-openbsd-d6e090c2ef724c943492abf5010587dfe5d85f7e.zip | |
arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandom
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/crypt/arc4random.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3 index 9c9ab8705cf..db9405aa780 100644 --- a/lib/libc/crypt/arc4random.3 +++ b/lib/libc/crypt/arc4random.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: arc4random.3,v 1.24 2008/03/16 22:18:24 jmc Exp $ +.\" $OpenBSD: arc4random.3,v 1.25 2008/06/08 18:37:09 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: March 16 2008 $ +.Dd $Mdocdate: June 8 2008 $ .Dt ARC4RANDOM 3 .Os .Sh NAME @@ -96,8 +96,10 @@ as it avoids "modulo bias" when the upper bound is not a power of two. .Pp The .Fn arc4random_stir -function reads data from -.Pa /dev/arandom +function reads data using +.Xr sysctl 2 +from +.Pa kern.arandom and uses it to permute the S-Boxes via .Fn arc4random_addrandom . .Pp |
