From: Bodo Möller Date: Tue, 8 Feb 2000 21:50:52 +0000 (+0000) Subject: Note about des_ncbc_encrypt. X-Git-Tag: OpenSSL_0_9_5beta1~87 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=8ce288a88163310393f43d334c62d04da17dbaed;hp=cf0694015e8fcb6cd09f191299b6ad9d8793760e Note about des_ncbc_encrypt. --- diff --git a/crypto/pkcs7/Makefile.ssl b/crypto/pkcs7/Makefile.ssl index f0efcff626..2b20d2936c 100644 --- a/crypto/pkcs7/Makefile.ssl +++ b/crypto/pkcs7/Makefile.ssl @@ -93,7 +93,7 @@ dclean: mv -f Makefile.new $(MAKEFILE) clean: - rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff + rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify # DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/doc/crypto/des_modes.pod b/doc/crypto/des_modes.pod index 096a77f4a3..72a4fd2106 100644 --- a/doc/crypto/des_modes.pod +++ b/doc/crypto/des_modes.pod @@ -47,6 +47,8 @@ An error will only affect one ciphertext block. =head2 Cipher Block Chaining Mode (CBC) Normally, this is found as the function I_cbc_encrypt(). +Be aware that des_cbc_encrypt() is not really DES CBC (it does +not update the IV); use des_ncbc_encrypt() instead. =over 2