diff options
| author | jmc <> | 2008-06-09 06:04:02 +0000 |
|---|---|---|
| committer | jmc <> | 2008-06-09 06:04:02 +0000 |
| commit | f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f (patch) | |
| tree | 61ae6991fac1998cdaba43a3e95693a1f5f0bbe2 | |
| parent | 05a412742403894d384795fc7b3358c5278d7f31 (diff) | |
| download | openbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.tar.gz openbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.tar.bz2 openbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.zip | |
fix an Xr, and use a more appropriate macro;
| -rw-r--r-- | src/lib/libc/crypt/arc4random.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/crypt/arc4random.3 b/src/lib/libc/crypt/arc4random.3 index db9405aa78..2a12c6d94e 100644 --- a/src/lib/libc/crypt/arc4random.3 +++ b/src/lib/libc/crypt/arc4random.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: arc4random.3,v 1.25 2008/06/08 18:37:09 deraadt Exp $ | 1 | .\" $OpenBSD: arc4random.3,v 1.26 2008/06/09 06:04:02 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> | 3 | .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> |
| 4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| @@ -30,7 +30,7 @@ | |||
| 30 | .\" | 30 | .\" |
| 31 | .\" Manual page, using -mandoc macros | 31 | .\" Manual page, using -mandoc macros |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: June 8 2008 $ | 33 | .Dd $Mdocdate: June 9 2008 $ |
| 34 | .Dt ARC4RANDOM 3 | 34 | .Dt ARC4RANDOM 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -97,9 +97,9 @@ as it avoids "modulo bias" when the upper bound is not a power of two. | |||
| 97 | The | 97 | The |
| 98 | .Fn arc4random_stir | 98 | .Fn arc4random_stir |
| 99 | function reads data using | 99 | function reads data using |
| 100 | .Xr sysctl 2 | 100 | .Xr sysctl 3 |
| 101 | from | 101 | from |
| 102 | .Pa kern.arandom | 102 | .Va kern.arandom |
| 103 | and uses it to permute the S-Boxes via | 103 | and uses it to permute the S-Boxes via |
| 104 | .Fn arc4random_addrandom . | 104 | .Fn arc4random_addrandom . |
| 105 | .Pp | 105 | .Pp |
