Branch: refs/heads/master
Home:
https://github.com/openssl/openssl
Commit: 2506f1fc323b567b0e48a13b6069c7778077e55e
https://github.com/openssl/openssl/commit/2506f1fc323b567b0e48a13b6069c7778077e55e
Author: Hamzah Yamani <
hamzah.y...@gmail.com>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M test/evp_aead_test.c
M test/evp_extra_test.c
Log Message:
-----------
test: migrate test_aes_siv_ctx_enc_retval from evp_extra_test.c to evp_aead_test.c
Move test_aes_siv_ctx_enc_retval() out of test/evp_extra_test.c into
test/evp_aead_test.c, rename it to test_evp_aead_enc_retval() and run
it over aead_list instead of only AES-128-SIV.
The check is that after a completed encrypt, a further
EVP_EncryptUpdate() on the same context is rejected,
and the EVP_EncryptFinal_ex() that follows fails as well,
instead of reporting the earlier success. GCM, OCB and ASCON mark
the context finished. SIV stores the result of the last operation,
so a rejected Update makes the following Final fail.
CCM, GCM-SIV and ChaCha20-Poly1305 are skipped: Final currently succeeds
after the rejected Update, and what it should do is not settled yet.
ChaCha20-Poly1305 reports the same mode as ASCON, so it is matched
by name.
Key and IV are sized from the resolved cipher parameters, the context
is set up with EVP_EncryptInit_ex2(), and the tag is fetched after Final
with OSSL_PARAM.
Assisted-by: Claude:claude-sonnet-5
Reviewed-by: Neil Horman <
nho...@openssl.org>
Reviewed-by: Nikola Pajkovsky <
nik...@openssl.org>
Reviewed-by: Eugene Syromiatnikov <
es...@openssl.org>
Merge-date: Mon Oct 12 13:15:18 2026
Merged-from:
https://github.com/openssl/openssl/pull/33135
To unsubscribe from these emails, change your notification settings at
https://github.com/openssl/openssl/settings/notifications