openssl/providers/implementations
erbsland-dev 645edf50f0 Add Missing Error Messages for AES-OCB Tag Length Validation
Related to #8331
Addressing found issues by adding specific error messages to improve
feedback when tag length checks fail for the `EVP_CTRL_AEAD_SET_TAG`
parameter in the AES-OCB algorithm.

- Added PROV_R_INVALID_TAG_LENGTH error to indicate when the current tag
  length exceeds the maximum tag length of the algorithm.
- Added `PROV_R_INVALID_TAG_LENGTH` error to indicate when the current tag
  length in the context does not match a custom tag length provided as
  a parameter.
- Added `ERR_R_PASSED_INVALID_ARGUMENT` error to handle cases where an
  invalid pointer is passed in encryption mode.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25425)
2024-09-13 10:10:34 +02:00
..
asymciphers Copyright year updates 2024-09-05 09:35:49 +02:00
ciphers Add Missing Error Messages for AES-OCB Tag Length Validation 2024-09-13 10:10:34 +02:00
digests s390x: Fix s390x_shake_squeeze() when MSA 12 is available 2024-09-06 11:26:06 +02:00
encode_decode Copyright year updates 2024-09-05 09:35:49 +02:00
exchange Copyright year updates 2024-09-05 09:35:49 +02:00
include/prov Copyright year updates 2024-09-05 09:35:49 +02:00
kdfs argon2: Fixed an thread availability error string 2024-09-05 17:32:01 +02:00
kem Copyright year updates 2024-09-05 09:35:49 +02:00
keymgmt Copyright year updates 2024-09-05 09:35:49 +02:00
macs Copyright year updates 2024-09-05 09:35:49 +02:00
rands Copyright year updates 2024-09-05 09:35:49 +02:00
signature Don't restrict the ECDSA settable ctx params unnecessarily 2024-09-09 09:51:50 +02:00
storemgmt Copyright year updates 2023-09-07 09:59:15 +01:00
build.info Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00