]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/evp_extra_test.c
Always reset IV for CBC, OFB, and CFB mode on cipher context reinit
authorTomas Mraz <tomas@openssl.org>
Fri, 9 Apr 2021 10:01:16 +0000 (12:01 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 12 Apr 2021 07:49:09 +0000 (09:49 +0200)
commit4ec4b063e0d4cc3d58c709e309b1ec5a9aea3379
tree80aa9d500d29c32e783600a54c5b8273dfd68ffb
parent3f883c7c835ff577a6df37e238956c5b9016dc93
Always reset IV for CBC, OFB, and CFB mode on cipher context reinit

This is necessary to keep compatibility with 1.1.1 implementation
of the CBC, OFB, and CFB mode ciphers.

Fixes #14704

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14811)
providers/implementations/ciphers/ciphercommon.c
test/evp_extra_test.c