Browse Source

fix an Xr, and use a more appropriate macro;

OPENBSD_4_4
jmc 16 years ago
parent
commit
ef3228a332
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/lib/libc/crypt/arc4random.3

+ 4
- 4
src/lib/libc/crypt/arc4random.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: arc4random.3,v 1.25 2008/06/08 18:37:09 deraadt Exp $
.\" $OpenBSD: arc4random.3,v 1.26 2008/06/09 06:04:02 jmc Exp $
.\" .\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved. .\" All rights reserved.
@ -30,7 +30,7 @@
.\" .\"
.\" Manual page, using -mandoc macros .\" Manual page, using -mandoc macros
.\" .\"
.Dd $Mdocdate: June 8 2008 $
.Dd $Mdocdate: June 9 2008 $
.Dt ARC4RANDOM 3 .Dt ARC4RANDOM 3
.Os .Os
.Sh NAME .Sh NAME
@ -97,9 +97,9 @@ as it avoids "modulo bias" when the upper bound is not a power of two.
The The
.Fn arc4random_stir .Fn arc4random_stir
function reads data using function reads data using
.Xr sysctl 2
.Xr sysctl 3
from from
.Pa kern.arandom
.Va kern.arandom
and uses it to permute the S-Boxes via and uses it to permute the S-Boxes via
.Fn arc4random_addrandom . .Fn arc4random_addrandom .
.Pp .Pp


Loading…
Cancel
Save