Avoid calling into provider with the same iv_len or key_len
authorTomas Mraz <tomas@openssl.org>
Fri, 31 Mar 2023 13:46:15 +0000 (15:46 +0200)
committerPauli <pauli@openssl.org>
Sun, 2 Apr 2023 22:22:28 +0000 (08:22 +1000)
commiteb52450f5151e8e78743ab05de21a344823316f5
treeadcc6528c3bd5754275bca0ee171c3030eb41557
parentfae5a15573fb314d0a5bc06f3929fd5ec6ffe5a5
Avoid calling into provider with the same iv_len or key_len

Fixes #20625

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20664)
crypto/evp/evp_enc.c