summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2014-07-10 13:38:52 +0000
committermiod <>2014-07-10 13:38:52 +0000
commit1082a058669965dec6fa4446b8d1067628bb8e91 (patch)
treea427912b8208a12fc7a310e0112c4fbd505b945e /src
parent281172858344f625c73e08f7af61073307e2d0b0 (diff)
downloadopenbsd-1082a058669965dec6fa4446b8d1067628bb8e91.tar.gz
openbsd-1082a058669965dec6fa4446b8d1067628bb8e91.tar.bz2
openbsd-1082a058669965dec6fa4446b8d1067628bb8e91.zip
Fewer lies, also do not document DES_3cbc_encrypt anymore.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/doc/DES_set_key.pod28
-rw-r--r--src/lib/libssl/src/doc/crypto/DES_set_key.pod28
2 files changed, 12 insertions, 44 deletions
diff --git a/src/lib/libcrypto/doc/DES_set_key.pod b/src/lib/libcrypto/doc/DES_set_key.pod
index 75638a149a..c0447b8bae 100644
--- a/src/lib/libcrypto/doc/DES_set_key.pod
+++ b/src/lib/libcrypto/doc/DES_set_key.pod
@@ -287,8 +287,6 @@ The L<evp(3)|evp(3)> library provides higher-level encryption functions.
287 287
288=head1 BUGS 288=head1 BUGS
289 289
290DES_3cbc_encrypt() is flawed and must not be used in applications.
291
292DES_cbc_encrypt() does not modify B<ivec>; use DES_ncbc_encrypt() 290DES_cbc_encrypt() does not modify B<ivec>; use DES_ncbc_encrypt()
293instead. 291instead.
294 292
@@ -310,33 +308,19 @@ The same applies for DES_string_to_2key().
310 308
311ANSI X3.106 309ANSI X3.106
312 310
313The B<des> library was written to be source code compatible with 311The B<des> library was initially written to be source code compatible with
314the MIT Kerberos library. 312the MIT Kerberos library.
315 313
316=head1 SEE ALSO 314=head1 SEE ALSO
317 315
318crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<rand(3)|rand(3)> 316crypt(3), L<evp(3)|evp(3)>, L<rand(3)|rand(3)>
319 317
320=head1 HISTORY 318=head1 HISTORY
321 319
322In OpenSSL 0.9.7, all des_ functions were renamed to DES_ to avoid 320In OpenSSL 0.9.7, all des_ functions were renamed to DES_ to avoid
323clashes with older versions of libdes. Compatibility des_ functions 321clashes with older versions of libdes.
324are provided for a short while, as well as crypt(). 322
325Declarations for these are in <openssl/des_old.h>. There is no DES_ 323DES_set_key_checked() and DES_set_key_unchecked() were added in
326variant for des_random_seed().
327This will happen to other functions
328as well if they are deemed redundant (des_random_seed() just calls
329RAND_seed() and is present for backward compatibility only), buggy or
330already scheduled for removal.
331
332des_cbc_cksum(), des_cbc_encrypt(), des_ecb_encrypt(),
333des_is_weak_key(), des_key_sched(), des_pcbc_encrypt(),
334des_quad_cksum(), des_random_key() and des_string_to_key()
335are available in the MIT Kerberos library;
336des_check_key_parity(), des_fixup_key_parity() and des_is_weak_key()
337are available in newer versions of that library.
338
339des_set_key_checked() and des_set_key_unchecked() were added in
340OpenSSL 0.9.5. 324OpenSSL 0.9.5.
341 325
342des_generate_random_block(), des_init_random_number_generator(), 326des_generate_random_block(), des_init_random_number_generator(),
@@ -344,7 +328,7 @@ des_new_random_key(), des_set_random_generator_seed() and
344des_set_sequence_number() and des_rand_data() are used in newer 328des_set_sequence_number() and des_rand_data() are used in newer
345versions of Kerberos but are not implemented here. 329versions of Kerberos but are not implemented here.
346 330
347des_random_key() generated cryptographically weak random data in 331DES_random_key() generated cryptographically weak random data in
348SSLeay and in OpenSSL prior version 0.9.5, as well as in the original 332SSLeay and in OpenSSL prior version 0.9.5, as well as in the original
349MIT library. 333MIT library.
350 334
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 75638a149a..c0447b8bae 100644
--- a/src/lib/libssl/src/doc/crypto/DES_set_key.pod
+++ b/src/lib/libssl/src/doc/crypto/DES_set_key.pod
@@ -287,8 +287,6 @@ The L<evp(3)|evp(3)> library provides higher-level encryption functions.
287 287
288=head1 BUGS 288=head1 BUGS
289 289
290DES_3cbc_encrypt() is flawed and must not be used in applications.
291
292DES_cbc_encrypt() does not modify B<ivec>; use DES_ncbc_encrypt() 290DES_cbc_encrypt() does not modify B<ivec>; use DES_ncbc_encrypt()
293instead. 291instead.
294 292
@@ -310,33 +308,19 @@ The same applies for DES_string_to_2key().
310 308
311ANSI X3.106 309ANSI X3.106
312 310
313The B<des> library was written to be source code compatible with 311The B<des> library was initially written to be source code compatible with
314the MIT Kerberos library. 312the MIT Kerberos library.
315 313
316=head1 SEE ALSO 314=head1 SEE ALSO
317 315
318crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<rand(3)|rand(3)> 316crypt(3), L<evp(3)|evp(3)>, L<rand(3)|rand(3)>
319 317
320=head1 HISTORY 318=head1 HISTORY
321 319
322In OpenSSL 0.9.7, all des_ functions were renamed to DES_ to avoid 320In OpenSSL 0.9.7, all des_ functions were renamed to DES_ to avoid
323clashes with older versions of libdes. Compatibility des_ functions 321clashes with older versions of libdes.
324are provided for a short while, as well as crypt(). 322
325Declarations for these are in <openssl/des_old.h>. There is no DES_ 323DES_set_key_checked() and DES_set_key_unchecked() were added in
326variant for des_random_seed().
327This will happen to other functions
328as well if they are deemed redundant (des_random_seed() just calls
329RAND_seed() and is present for backward compatibility only), buggy or
330already scheduled for removal.
331
332des_cbc_cksum(), des_cbc_encrypt(), des_ecb_encrypt(),
333des_is_weak_key(), des_key_sched(), des_pcbc_encrypt(),
334des_quad_cksum(), des_random_key() and des_string_to_key()
335are available in the MIT Kerberos library;
336des_check_key_parity(), des_fixup_key_parity() and des_is_weak_key()
337are available in newer versions of that library.
338
339des_set_key_checked() and des_set_key_unchecked() were added in
340OpenSSL 0.9.5. 324OpenSSL 0.9.5.
341 325
342des_generate_random_block(), des_init_random_number_generator(), 326des_generate_random_block(), des_init_random_number_generator(),
@@ -344,7 +328,7 @@ des_new_random_key(), des_set_random_generator_seed() and
344des_set_sequence_number() and des_rand_data() are used in newer 328des_set_sequence_number() and des_rand_data() are used in newer
345versions of Kerberos but are not implemented here. 329versions of Kerberos but are not implemented here.
346 330
347des_random_key() generated cryptographically weak random data in 331DES_random_key() generated cryptographically weak random data in
348SSLeay and in OpenSSL prior version 0.9.5, as well as in the original 332SSLeay and in OpenSSL prior version 0.9.5, as well as in the original
349MIT library. 333MIT library.
350 334