summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/doc/DES_set_key.pod5
-rw-r--r--src/lib/libssl/src/doc/crypto/DES_set_key.pod5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/doc/DES_set_key.pod b/src/lib/libcrypto/doc/DES_set_key.pod
index d6a35eacd4..d1bd43c592 100644
--- a/src/lib/libcrypto/doc/DES_set_key.pod
+++ b/src/lib/libcrypto/doc/DES_set_key.pod
@@ -114,7 +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. 117DES_random_key() generates a random key in odd parity.
118 118
119Before 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
120architecture dependent I<DES_key_schedule> via the 120architecture dependent I<DES_key_schedule> via the
@@ -134,8 +134,7 @@ depend on a global variable.
134DES_set_odd_parity() sets the parity of the passed I<key> to odd. 134DES_set_odd_parity() sets the parity of the passed I<key> to odd.
135 135
136DES_is_weak_key() returns 1 is the passed key is a weak key, 0 if it 136DES_is_weak_key() returns 1 is the passed key is a weak key, 0 if it
137is ok. The probability that a randomly generated key is weak is 137is ok.
1381/2^52, so it is not really worth checking for them.
139 138
140The following routines mostly operate on an input and output stream of 139The following routines mostly operate on an input and output stream of
141I<DES_cblock>s. 140I<DES_cblock>s.
diff --git a/src/lib/libssl/src/doc/crypto/DES_set_key.pod b/src/lib/libssl/src/doc/crypto/DES_set_key.pod
index d6a35eacd4..d1bd43c592 100644
--- a/src/lib/libssl/src/doc/crypto/DES_set_key.pod
+++ b/src/lib/libssl/src/doc/crypto/DES_set_key.pod
@@ -114,7 +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. 117DES_random_key() generates a random key in odd parity.
118 118
119Before 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
120architecture dependent I<DES_key_schedule> via the 120architecture dependent I<DES_key_schedule> via the
@@ -134,8 +134,7 @@ depend on a global variable.
134DES_set_odd_parity() sets the parity of the passed I<key> to odd. 134DES_set_odd_parity() sets the parity of the passed I<key> to odd.
135 135
136DES_is_weak_key() returns 1 is the passed key is a weak key, 0 if it 136DES_is_weak_key() returns 1 is the passed key is a weak key, 0 if it
137is ok. The probability that a randomly generated key is weak is 137is ok.
1381/2^52, so it is not really worth checking for them.
139 138
140The following routines mostly operate on an input and output stream of 139The following routines mostly operate on an input and output stream of
141I<DES_cblock>s. 140I<DES_cblock>s.