diff options
author | 2013-10-22 06:51:41 +0000 | |
---|---|---|
committer | 2013-10-22 06:51:41 +0000 | |
commit | f58764f011730c552a75b7a61f012c804883b804 (patch) | |
tree | 91686f1b9ad07e9eb4571876e5749523b3982f77 | |
parent | delete extra words; Henri Kemppainen (diff) | |
download | wireguard-openbsd-f58764f011730c552a75b7a61f012c804883b804.tar.xz wireguard-openbsd-f58764f011730c552a75b7a61f012c804883b804.zip |
tweak previous;
-rw-r--r-- | lib/libc/crypt/arc4random.3 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3 index 5344769d75d..476bc280170 100644 --- a/lib/libc/crypt/arc4random.3 +++ b/lib/libc/crypt/arc4random.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: arc4random.3,v 1.31 2013/10/22 06:40:36 deraadt Exp $ +.\" $OpenBSD: arc4random.3,v 1.32 2013/10/22 06:51:41 jmc Exp $ .\" .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" All rights reserved. @@ -93,7 +93,6 @@ as it avoids "modulo bias" when the upper bound is not a power of two. In the worst case, this function may consume multiple iterations to ensure uniformity; see the source code to understand the problem and solution. -.Pp .Sh RETURN VALUES These functions are always successful, and no return value is reserved to indicate an error. @@ -102,14 +101,13 @@ reserved to indicate an error. .Xr rand48 3 , .Xr random 3 .Sh HISTORY -.Pp These functions first appeared in .Ox 2.1 . .Pp The original version of this random number generator used the RC4 (also known as ARC4) algorithm. In -.Ox 5.5 , +.Ox 5.5 it was replaced with the ChaCha20 cipher, and it may be replaced again in the future as cryptographic techniques advance. A good mnemonic is |