summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-05-27 01:59:58 +0000
committerderaadt <deraadt@openbsd.org>2002-05-27 01:59:58 +0000
commitea11aaf632e630c8ca705a1e9a1156c996d8708c (patch)
tree3c979ea4720214dba199fc61b8a17a7d13d56d56 /share/man/man9
parenta night of cleanup, so i can read this easier (diff)
downloadwireguard-openbsd-ea11aaf632e630c8ca705a1e9a1156c996d8708c.tar.xz
wireguard-openbsd-ea11aaf632e630c8ca705a1e9a1156c996d8708c.zip
kill unused arc4random_8() API
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/random.99
1 files changed, 3 insertions, 6 deletions
diff --git a/share/man/man9/random.9 b/share/man/man9/random.9
index b0c0ff1ea51..3e184065f47 100644
--- a/share/man/man9/random.9
+++ b/share/man/man9/random.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: random.9,v 1.11 2001/09/28 16:02:52 heko Exp $
+.\" $OpenBSD: random.9,v 1.12 2002/05/27 01:59:58 deraadt Exp $
.\"
.\" Copyright (c) 1996,2000 Michael Shalayeff
.\" All rights reserved.
@@ -52,8 +52,6 @@
.Fn add_audio_randomness "int"
.Ft void
.Fn get_random_bytes "void *buf" "size_t nbytes"
-.Ft u_int8_t
-.Fn arc4random_8 "void"
.Ft u_int32_t
.Fn arc4random "void"
.br
@@ -85,9 +83,8 @@ as it would by
.Xr srandom 4
device.
.br
-.Nm arc4random ,
-.Nm arc4random_8
-will give random 32 and 8 respectively bit numbers hashed with
+.Nm arc4random
+will give random 32 bit numbers hashed with
the ARC4 algorithm, which appears to be faster and less abusive
to the entropy pool.
.Sh SEE ALSO