]> git.ipfire.org Git - thirdparty/openssl.git/commit
AEAD: Raise an error on EVP_DecryptFinal_ex() without the tag being set
authorDaniel Kubec <kubec@openssl.org>
Sat, 11 Oct 2025 10:45:42 +0000 (12:45 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 Oct 2025 15:58:14 +0000 (17:58 +0200)
commitb9e6d360100bc1184a96f98231d096238e8e2df4
tree2f04bc754b41da057efd6e2cc1bef720916731d5
parenta64d3153c748a20ffde0474509913618c7138e3c
AEAD: Raise an error on EVP_DecryptFinal_ex() without the tag being set

In AEAD cipher providers raise an error when EVP_DecryptFinal_ex()
is called without the authentication tag being set.

Fixes #28730

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28872)
providers/implementations/ciphers/cipher_chacha20_poly1305.c.in
providers/implementations/ciphers/ciphercommon_ccm.c.in
providers/implementations/ciphers/ciphercommon_gcm.c.in