Revision e88dfd5ee50f9d934edd966369339ee5573c67d4 authored by erbsland-dev on 10 September 2024, 19:24:59 UTC, committed by Tomas Mraz on 13 September 2024, 08:13:32 UTC
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) (cherry picked from commit 645edf50f0274448174d9739543bf01b1708b2f5)
1 parent 1727cbb
File | Mode | Size |
---|---|---|
apps_shims.c | -rw-r--r-- | 1.3 KB |
basic_output.c | -rw-r--r-- | 2.4 KB |
cb.c | -rw-r--r-- | 480 bytes |
driver.c | -rw-r--r-- | 12.9 KB |
fake_random.c | -rw-r--r-- | 7.1 KB |
format_output.c | -rw-r--r-- | 16.8 KB |
load.c | -rw-r--r-- | 2.6 KB |
main.c | -rw-r--r-- | 988 bytes |
options.c | -rw-r--r-- | 1.7 KB |
output.c | -rw-r--r-- | 1.0 KB |
output.h | -rw-r--r-- | 2.5 KB |
provider.c | -rw-r--r-- | 7.3 KB |
random.c | -rw-r--r-- | 1.1 KB |
stanza.c | -rw-r--r-- | 3.9 KB |
test_cleanup.c | -rw-r--r-- | 387 bytes |
test_options.c | -rw-r--r-- | 616 bytes |
tests.c | -rw-r--r-- | 16.6 KB |
testutil_init.c | -rw-r--r-- | 3.8 KB |
tu_local.h | -rw-r--r-- | 2.4 KB |

Computing file changes ...