Tests that are changed by #25020 mandate updates to older test suite data to
pass because the FIPS provider's behaviour changes in 3.4.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/25133)
(cherry picked from commit
0793071efaa7f61828b555128587db48c5d24962)
# Test sign with a 2048 bit key with N == 160 is not allowed in fips mode
Availablein = fips
+FIPSversion = <3.4.0
DigestSign = SHA256
Key = DSA-2048-160
Input = "Hello"
# Test sign with a 1024 bit key is not allowed in fips mode
Availablein = fips
+FIPSversion = <3.4.0
DigestSign = SHA256
Securitycheck = 1
Key = DSA-1024-FIPS186-2
# Test sign with a 3072 bit key with N == 224 is not allowed in fips mode
Availablein = fips
+FIPSversion = <3.4.0
DigestSign = SHA256
Securitycheck = 1
Key = DSA-3072-224
# Test sign with a 4096 bit key is not allowed in fips mode
Availablein = fips
+FIPSversion = <3.4.0
DigestSign = SHA256
Securitycheck = 1
Key = DSA-4096-256
# Test that SHA1 is not allowed in fips mode for signing
Availablein = fips
+FIPSversion = <3.4.0
Sign = P-256
Securitycheck = 1
Ctrl = digest:SHA1
# Signing with SHA1 is not allowed in fips mode
Availablein = fips
+FIPSversion = <3.4.0
DigestSign = SHA1
Securitycheck = 1
Key = RSA-2048