]> git.ipfire.org Git - thirdparty/openssl.git/commit
Allow get_params to return length of AES-GCM IV parameters
authorLeon Timmermans <fawaka@gmail.com>
Mon, 11 Aug 2025 20:08:39 +0000 (22:08 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Nov 2025 13:19:20 +0000 (14:19 +0100)
commitab60626253853eaefb2f786779bc9aefc1de8395
tree5a0375c2fe4a770bb79a7c59c11417bd4f1336dd
parent793a744f2b81171309066ab6aee599bb3e999a36
Allow get_params to return length of AES-GCM IV parameters

Previously, EVP_CIPHER_CTX_get_params would not report the length of the
IV parameters 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