From: Pauli Date: Thu, 8 Aug 2024 03:40:57 +0000 (+1000) Subject: test: add error reasons to Single Step KDF tests X-Git-Tag: openssl-3.4.0-alpha1~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cccd17eed36fc9e87f53576c0831e67d7e35770;p=thirdparty%2Fopenssl.git test: add error reasons to Single Step KDF tests Reviewed-by: Shane Lontis Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/25135) --- diff --git a/test/recipes/30-test_evp_data/evpkdf_ss.txt b/test/recipes/30-test_evp_data/evpkdf_ss.txt index 08d4e8c7035..011ddabc2ae 100644 --- a/test/recipes/30-test_evp_data/evpkdf_ss.txt +++ b/test/recipes/30-test_evp_data/evpkdf_ss.txt @@ -1151,6 +1151,7 @@ Ctrl.digest = digest:SHAKE-256 Ctrl.hexsecret = hexsecret:d09a6b1a472f930db4f5e6b967900744 Ctrl.hexinfo = hexinfo:b117255ab5f1b6b96fc434b0 Result = KDF_CTRL_ERROR +Reason = xof digests not allowed Title = FIPS indicator tests @@ -1161,6 +1162,7 @@ Ctrl.digest = digest:SHA1 Ctrl.hexsecret = hexsecret:d7e6 Ctrl.hexinfo = hexinfo:0bbe1fa8722023d7c3da4fff Result = KDF_CTRL_ERROR +Reason = invalid key length # Test that the key whose length is shorter than 112 bits is reported as # unapproved