]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
evp_test: fully test RSA
authorPauli <ppzgs1@gmail.com>
Mon, 3 Mar 2025 00:45:48 +0000 (11:45 +1100)
committerPauli <ppzgs1@gmail.com>
Tue, 4 Mar 2025 07:53:44 +0000 (18:53 +1100)
The evppkey_rsa.txt data were only tested against the default provider.
Change this so that they are tested against the FIPS provider too.
Also add the RSA KEM tests.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26946)

test/recipes/30-test_evp.t

index 018d4aa37e8d2ed3bfe2378b6a42cf79aec57ec6..d87bb223732d1cf335a88f1514ef1a9e2f29e7d2 100644 (file)
@@ -65,7 +65,9 @@ my @files = qw(
                 evpmd_sha.txt
                 evppbe_pbkdf2.txt
                 evppkey_kdf_hkdf.txt
+                evppkey_rsa.txt
                 evppkey_rsa_common.txt
+                evppkey_rsa_kem.txt
                 evppkey_rsa_sigalg.txt
                 evprand.txt
               );
@@ -160,7 +162,6 @@ my @defltfiles = qw(
                      evppbe_pkcs12.txt
                      evppkey_kdf_scrypt.txt
                      evppkey_kdf_tls1_prf.txt
-                     evppkey_rsa.txt
                     );
 push @defltfiles, qw(evppkey_brainpool.txt) unless $no_ec;
 push @defltfiles, qw(evppkey_ecdsa_rfc6979.txt) unless $no_ec;