From: Pauli Date: Thu, 8 Aug 2024 03:37:38 +0000 (+1000) Subject: test: add error reasons to PBKDF2 tests X-Git-Tag: openssl-3.4.0-alpha1~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3b3abfd5d54812f67c5090b28b4599d0d3f17a;p=thirdparty%2Fopenssl.git test: add error reasons to PBKDF2 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_pbkdf2.txt b/test/recipes/30-test_evp_data/evpkdf_pbkdf2.txt index 36f7375c24c..6aca869b774 100644 --- a/test/recipes/30-test_evp_data/evpkdf_pbkdf2.txt +++ b/test/recipes/30-test_evp_data/evpkdf_pbkdf2.txt @@ -224,6 +224,7 @@ Ctrl.salt = salt:salt Ctrl.iter = iter:1 Ctrl.digest = digest:shake-128 Result = KDF_CTRL_ERROR +Reason = xof digests not allowed Title = FIPS indicator tests @@ -235,6 +236,7 @@ Ctrl.salt = salt:salt Ctrl.iter = iter:4096 Ctrl.digest = digest:sha1 Result = KDF_CTRL_ERROR +Reason = invalid salt length # Test that the operation with unapproved parameters is reported as unapproved FIPSversion = >=3.4.0