From 3cccd17eed36fc9e87f53576c0831e67d7e35770 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 8 Aug 2024 13:40:57 +1000 Subject: [PATCH] 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) --- test/recipes/30-test_evp_data/evpkdf_ss.txt | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3