]> git.ipfire.org Git - thirdparty/openssl.git/commit
Allow get_params to return length of the AES-GCM tag parameter
authorLeon Timmermans <fawaka@gmail.com>
Mon, 11 Aug 2025 20:25:59 +0000 (22:25 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Nov 2025 13:19:20 +0000 (14:19 +0100)
commitfc563b4d48e2229f6d52a95ff32a527fa983ef68
tree2ba139d5350642f2084b9395a11d401c02cc4e47
parentab60626253853eaefb2f786779bc9aefc1de8395
Allow get_params to return length of the AES-GCM tag parameter

Previously, EVP_CIPHER_CTX_get_params would not report the length of the
tag parameter when called with a NULL data pointer. This change makes the
function behave as documented.

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