test: add error reasons to KMAC tests

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/25135)
This commit is contained in:
Pauli 2024-08-08 13:32:27 +10:00
parent 068c9bee37
commit 77915ae8eb

View File

@ -554,6 +554,7 @@ Output = 28c815
Custom = "My Tagged Application"
Ctrl = size:3
Result = MAC_INIT_ERROR
Reason = invalid output length
FIPSversion = >=3.4.0
MAC = KMAC256
@ -564,6 +565,7 @@ Custom = "My Tagged Application"
Ctrl = size:3
Ctrl = no-short-mac:1
Result = MAC_INIT_ERROR
Reason = invalid output length
# Old FIPS providers accept short output
FIPSversion = <3.4.0