[openssl/openssl] ea6551: [test] check tag abuse for AEAD ciphers
"'Billy Brumley' via openssl-commits" <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: ea655177e0d0dd7885640d1d9a921ef6d2c9bf8c
https://github.com/openssl/openssl/commit/ea655177e0d0dd7885640d1d9a921ef6d2c9bf8c
Author: Billy Brumley <[email protected]>
Date: 2026-06-30 (Tue, 30 Jun 2026)
Changed paths:
M providers/implementations/ciphers/cipher_aes_gcm_siv.c
M providers/implementations/ciphers/cipher_aes_ocb.c
M providers/implementations/ciphers/ciphercommon_gcm.c
M test/evp_extra_test.c
Log Message:
-----------
[test] check tag abuse for AEAD ciphers
With AEAD ciphers, a tag is an input for decryption (the value to verify)
and an output of encryption (the generated value). Therefore:
- supplying a tag value while encrypting must fail
- reading a tag while decrypting must fail
- error codes should be consistent across all AEADs
Assisted-by: Claude:claude-opus-4-8
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Daniel Kubec <[email protected]>
MergeDate: Tue Jun 30 07:47:03 2026
(Merged from https://github.com/openssl/openssl/pull/31734)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/b00f7b-ea6551%40github.com.