summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorjmc <>2008-06-09 06:04:02 +0000
committerjmc <>2008-06-09 06:04:02 +0000
commitf8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f (patch)
tree61ae6991fac1998cdaba43a3e95693a1f5f0bbe2 /src/lib/libc/crypt
parent05a412742403894d384795fc7b3358c5278d7f31 (diff)
downloadopenbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.tar.gz
openbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.tar.bz2
openbsd-f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f.zip
fix an Xr, and use a more appropriate macro;
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/arc4random.38
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.
97The 97The
98.Fn arc4random_stir 98.Fn arc4random_stir
99function reads data using 99function reads data using
100.Xr sysctl 2 100.Xr sysctl 3
101from 101from
102.Pa kern.arandom 102.Va kern.arandom
103and uses it to permute the S-Boxes via 103and uses it to permute the S-Boxes via
104.Fn arc4random_addrandom . 104.Fn arc4random_addrandom .
105.Pp 105.Pp