diff options
| author | jmc <> | 2013-10-22 06:51:41 +0000 | 
|---|---|---|
| committer | jmc <> | 2013-10-22 06:51:41 +0000 | 
| commit | 99f36bb6bbe7e097ecb64645a1a37030afe8efed (patch) | |
| tree | 79600f114fbbb23c7ab14fbda7571c11e5caf0d4 /src/lib/libc | |
| parent | 8c1a7ae619cb339f1895ccb376a2ea0e065bf2ff (diff) | |
| download | openbsd-99f36bb6bbe7e097ecb64645a1a37030afe8efed.tar.gz openbsd-99f36bb6bbe7e097ecb64645a1a37030afe8efed.tar.bz2 openbsd-99f36bb6bbe7e097ecb64645a1a37030afe8efed.zip | |
tweak previous;
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/crypt/arc4random.3 | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/lib/libc/crypt/arc4random.3 b/src/lib/libc/crypt/arc4random.3 index 5344769d75..476bc28017 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.31 2013/10/22 06:40:36 deraadt Exp $ | 1 | .\" $OpenBSD: arc4random.3,v 1.32 2013/10/22 06:51:41 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. | 
| @@ -93,7 +93,6 @@ as it avoids "modulo bias" when the upper bound is not a power of two. | |||
| 93 | In the worst case, this function may consume multiple iterations | 93 | In the worst case, this function may consume multiple iterations | 
| 94 | to ensure uniformity; see the source code to understand the problem | 94 | to ensure uniformity; see the source code to understand the problem | 
| 95 | and solution. | 95 | and solution. | 
| 96 | .Pp | ||
| 97 | .Sh RETURN VALUES | 96 | .Sh RETURN VALUES | 
| 98 | These functions are always successful, and no return value is | 97 | These functions are always successful, and no return value is | 
| 99 | reserved to indicate an error. | 98 | reserved to indicate an error. | 
| @@ -102,14 +101,13 @@ reserved to indicate an error. | |||
| 102 | .Xr rand48 3 , | 101 | .Xr rand48 3 , | 
| 103 | .Xr random 3 | 102 | .Xr random 3 | 
| 104 | .Sh HISTORY | 103 | .Sh HISTORY | 
| 105 | .Pp | ||
| 106 | These functions first appeared in | 104 | These functions first appeared in | 
| 107 | .Ox 2.1 . | 105 | .Ox 2.1 . | 
| 108 | .Pp | 106 | .Pp | 
| 109 | The original version of this random number generator used the | 107 | The original version of this random number generator used the | 
| 110 | RC4 (also known as ARC4) algorithm. | 108 | RC4 (also known as ARC4) algorithm. | 
| 111 | In | 109 | In | 
| 112 | .Ox 5.5 , | 110 | .Ox 5.5 | 
| 113 | it was replaced with the ChaCha20 cipher, and it may be replaced | 111 | it was replaced with the ChaCha20 cipher, and it may be replaced | 
| 114 | again in the future as cryptographic techniques advance. | 112 | again in the future as cryptographic techniques advance. | 
| 115 | A good mnemonic is | 113 | A good mnemonic is | 
