]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test: add error reasons to KMAC tests
authorPauli <ppzgs1@gmail.com>
Thu, 8 Aug 2024 03:32:27 +0000 (13:32 +1000)
committerPauli <ppzgs1@gmail.com>
Sat, 10 Aug 2024 06:35:53 +0000 (16:35 +1000)
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)

test/recipes/30-test_evp_data/evpmac_common.txt

index b0ecf4911ba1833f17c043868ccc3804c7bce184..a7c8426dd7daed4c672e036b65335d5e0efbf43a 100644 (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