mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
test: run ML-KEM tests for both default and FIPS providers
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Hugo Landau <hlandau@devever.net> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26338)
This commit is contained in:
parent
3c9b0ca13c
commit
b8835e874d
@ -93,6 +93,17 @@ push @files, qw(
|
||||
evppkey_kas.txt
|
||||
evppkey_mismatch.txt
|
||||
) unless $no_ec;
|
||||
push @files, qw(
|
||||
evppkey_ml_kem_512_keygen.txt
|
||||
evppkey_ml_kem_512_encap.txt
|
||||
evppkey_ml_kem_512_decap.txt
|
||||
evppkey_ml_kem_768_keygen.txt
|
||||
evppkey_ml_kem_768_encap.txt
|
||||
evppkey_ml_kem_768_decap.txt
|
||||
evppkey_ml_kem_1024_keygen.txt
|
||||
evppkey_ml_kem_1024_encap.txt
|
||||
evppkey_ml_kem_1024_decap.txt
|
||||
) unless $no_ml_kem;
|
||||
|
||||
# A list of tests that only run with the default provider
|
||||
# (i.e. The algorithms are not present in the fips provider)
|
||||
@ -145,17 +156,6 @@ push @defltfiles, qw(
|
||||
evppkey_ml_dsa_siggen.txt
|
||||
evppkey_ml_dsa_sigver.txt
|
||||
) unless $no_ml_dsa;
|
||||
push @defltfiles, qw(
|
||||
evppkey_ml_kem_512_keygen.txt
|
||||
evppkey_ml_kem_512_encap.txt
|
||||
evppkey_ml_kem_512_decap.txt
|
||||
evppkey_ml_kem_768_keygen.txt
|
||||
evppkey_ml_kem_768_encap.txt
|
||||
evppkey_ml_kem_768_decap.txt
|
||||
evppkey_ml_kem_1024_keygen.txt
|
||||
evppkey_ml_kem_1024_encap.txt
|
||||
evppkey_ml_kem_1024_decap.txt
|
||||
) unless $no_ml_kem;
|
||||
|
||||
plan tests =>
|
||||
+ (scalar(@configs) * scalar(@files))
|
||||
|
Loading…
x
Reference in New Issue
Block a user