diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-08 18:37:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-08 18:37:10 +0000 |
commit | a0a75f1cffdf769d9451ca829da41ae1bb5af4ba (patch) | |
tree | 5cf5b6489290fa62cbadcbfd17e90f8ec0660bd0 /lib | |
parent | 5bcb0b18905e67cd579a22a9b60e2d48be82d3f5 (diff) |
arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandom
Diffstat (limited to 'lib')
-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 |