]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix CTS cipher decrypt so that the updated IV is returned correctly.
authorShane Lontis <shane.lontis@oracle.com>
Fri, 13 Aug 2021 04:36:21 +0000 (14:36 +1000)
committerPauli <pauli@openssl.org>
Tue, 17 Aug 2021 22:38:40 +0000 (08:38 +1000)
commit46ac83eaf30efb676d12583080216f354951e0ae
tree8c5b5dd19aafc6b484c12edf130b220705954058
parent7daabe78a04902d3ae53af3e4a2acfdf6a1f1ec9
Fix CTS cipher decrypt so that the updated IV is returned correctly.

Adding KRB5 test vector 'NextIV' values to evp_test data for AES CTS indicated that the CTS decrypt functions incorrectly returned the wrong IV. The returned IV should match the value returned by the encrypt methods.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16286)
providers/implementations/ciphers/cipher_cts.c
test/recipes/30-test_evp_data/evpciph_aes_cts.txt