summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/DES_set_key.pod
diff options
context:
space:
mode:
authormiod <>2014-07-09 17:36:58 +0000
committermiod <>2014-07-09 17:36:58 +0000
commit8f147593f649791212451b70b61f2560f8cd408b (patch)
tree5ca70911551fb5fc0dd2488879e16bf54a97ac1c /src/lib/libcrypto/doc/DES_set_key.pod
parenta78955ae4a5a81f10fff6443c03c56c6240709ac (diff)
downloadopenbsd-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.pod4
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
114each byte is the parity bit. The key schedule is an expanded form of 114each byte is the parity bit. The key schedule is an expanded form of
115the key; it is used to speed the encryption process. 115the key; it is used to speed the encryption process.
116 116
117DES_random_key() generates a random key. The PRNG must be seeded 117DES_random_key() generates a random key.
118prior to using this function (see L<rand(3)|rand(3)>). If the PRNG
119could not generate a secure key, 0 is returned.
120 118
121Before a DES key can be used, it must be converted into the 119Before a DES key can be used, it must be converted into the
122architecture dependent I<DES_key_schedule> via the 120architecture dependent I<DES_key_schedule> via the