]> git.ipfire.org Git - thirdparty/openssl.git/commit
Allow 0 length plaintext and aad for aes-siv
authorSaEvangelista <sabranevangelista@gmail.com>
Tue, 4 Feb 2025 02:19:28 +0000 (21:19 -0500)
committerTomas Mraz <tomas@openssl.org>
Wed, 26 Feb 2025 11:21:08 +0000 (12:21 +0100)
commitf11c10d83e95ecbff8a7670168a52495d2ee080f
tree931c3d666949d04380eaa0828036a0c6ba584e1c
parent20599e480f3ba783d6554d3e078d08bdd8e92e66
Allow 0 length plaintext and aad for aes-siv

Test vectors taken from wycheproof:

https://github.com/C2SP/wycheproof/blob/master/testvectors/aes_siv_cmac_test.json

Fixes #26580

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26658)
crypto/modes/siv128.c
providers/implementations/ciphers/cipher_aes_siv.c
test/recipes/30-test_evp_data/evpciph_aes_siv.txt