Skip to content

Commit

Permalink
kdf test: restrict the version of the FIPS provider
Browse files Browse the repository at this point in the history
Concatenation tests are provider version specific, limit them to supporting
versions.

Fixes #21134

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #21140)
  • Loading branch information
paulidale authored and t8m committed Jun 8, 2023
1 parent 2c4124a commit 45fefe1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/recipes/30-test_evp_data/evpkdf_kbkdf_counter.txt
Expand Up @@ -1842,6 +1842,7 @@ Ctrl.hexinfo = hexinfo:8e9db3335779db688bcfe096668d9c3bc64e193e3529c430e68d09d56
Output = 6db880daac98b078ee389a2164252ded61322d661e2b49247ea921e544675d8f17af2bf66dd40d81

# Test concat of multiple info (Uses existing test data, and just splits the info into separate fields)
FIPSversion = >=3.2.0
KDF = KBKDF
Ctrl.mode = mode:COUNTER
Ctrl.digest = digest:SHA512
Expand Down
1 change: 1 addition & 0 deletions test/recipes/30-test_evp_data/evpkdf_ss.txt
Expand Up @@ -1121,6 +1121,7 @@ Ctrl.hexinfo = hexinfo:307e300a06082b06010502030603a01f041d301ba0071b0553552e534
Output = d3c78b78d75313e9a926f75dfb012363fa17fa01db

# Test concat of multiple info (Uses existing test data, and just splits the info into separate fields)
FIPSversion = >=3.2.0
KDF = SSKDF
Ctrl.digest = digest:SHA512
Ctrl.hexsecret = hexsecret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Expand Down
1 change: 1 addition & 0 deletions test/recipes/30-test_evp_data/evpkdf_x963.txt
Expand Up @@ -112,6 +112,7 @@ Ctrl.hexinfo = hexinfo:eb17da8851c41c7ac6710b1c49f324f8
Output = 829a28b81f9e95b5f306604067499c07d5944ca034ed130d513951f7143e4e162bad8adb2833e53b8235c293cd2a809659ac7f7e392cba6a543660e5d95070c0c9e6a9cdc38123e22da61bb4cbb6ad6d1a58a069e934fc231bd9fe39a24afcbf322ccea385f0418f3b01c1edd6e7124593a1cefe3e48fcd95daaf72cfd973c59

# Test concat of multiple info (Uses existing test data, and just splits the info into separate fields)
FIPSversion = >=3.2.0
KDF = X963KDF
Ctrl.digest = digest:SHA512
Ctrl.hexsecret = hexsecret:0096172bf47d06d544ae98471490cf9e52ee59ea7a2208b33b26c52d4952bb8f41b2211d3f9ff32e77ca8cc906ba8d246ff266ddf1df8f53824ccb15b8fb39724703
Expand Down

0 comments on commit 45fefe1

Please sign in to comment.