diff options
author | miod <> | 2014-07-09 17:36:58 +0000 |
---|---|---|
committer | miod <> | 2014-07-09 17:36:58 +0000 |
commit | 8f147593f649791212451b70b61f2560f8cd408b (patch) | |
tree | 5ca70911551fb5fc0dd2488879e16bf54a97ac1c /src/lib/libcrypto/doc/DES_set_key.pod | |
parent | a78955ae4a5a81f10fff6443c03c56c6240709ac (diff) | |
download | openbsd-8f147593f649791212451b70b61f2560f8cd408b.tar.gz openbsd-8f147593f649791212451b70b61f2560f8cd408b.tar.bz2 openbsd-8f147593f649791212451b70b61f2560f8cd408b.zip |
Remove mention that the PRNG needs to be seeded before invoking some
functions.
Diffstat (limited to 'src/lib/libcrypto/doc/DES_set_key.pod')
-rw-r--r-- | src/lib/libcrypto/doc/DES_set_key.pod | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/doc/DES_set_key.pod b/src/lib/libcrypto/doc/DES_set_key.pod index b49545877a..75638a149a 100644 --- a/src/lib/libcrypto/doc/DES_set_key.pod +++ b/src/lib/libcrypto/doc/DES_set_key.pod | |||
@@ -114,9 +114,7 @@ consists of 8 bytes with odd parity. The least significant bit in | |||
114 | each byte is the parity bit. The key schedule is an expanded form of | 114 | each byte is the parity bit. The key schedule is an expanded form of |
115 | the key; it is used to speed the encryption process. | 115 | the key; it is used to speed the encryption process. |
116 | 116 | ||
117 | DES_random_key() generates a random key. The PRNG must be seeded | 117 | DES_random_key() generates a random key. |
118 | prior to using this function (see L<rand(3)|rand(3)>). If the PRNG | ||
119 | could not generate a secure key, 0 is returned. | ||
120 | 118 | ||
121 | Before a DES key can be used, it must be converted into the | 119 | Before a DES key can be used, it must be converted into the |
122 | architecture dependent I<DES_key_schedule> via the | 120 | architecture dependent I<DES_key_schedule> via the |