mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Add partial GCM tests to fipsalgtest.pl
This commit is contained in:
parent
7aaa88e55c
commit
8da18ea1a5
@ -290,6 +290,18 @@ my @fips_aes_ccm_test_list = (
|
||||
|
||||
);
|
||||
|
||||
my @fips_aes_gcm_test_list = (
|
||||
|
||||
# AES GCM tests
|
||||
|
||||
"AES GCM",
|
||||
|
||||
[ "gcmDecrypt128", "fips_gcmtest -decrypt" ],
|
||||
[ "gcmDecrypt192", "fips_gcmtest -decrypt" ],
|
||||
[ "gcmDecrypt256", "fips_gcmtest -decrypt" ],
|
||||
|
||||
);
|
||||
|
||||
# Triple DES tests
|
||||
|
||||
my @fips_des3_test_list = (
|
||||
@ -457,6 +469,7 @@ my %fips_enabled = (
|
||||
"des3-cfb1" => 0,
|
||||
drbg => 0,
|
||||
ccm => 0,
|
||||
gcm => 0,
|
||||
dh => 0,
|
||||
ecdh => 0,
|
||||
);
|
||||
@ -546,6 +559,7 @@ push @fips_test_list, @fips_des3_test_list if $fips_enabled{"des3"};
|
||||
push @fips_test_list, @fips_des3_cfb1_test_list if $fips_enabled{"des3-cfb1"};
|
||||
push @fips_test_list, @fips_drbg_test_list if $fips_enabled{"drbg"};
|
||||
push @fips_test_list, @fips_aes_ccm_test_list if $fips_enabled{"aes-ccm"};
|
||||
push @fips_test_list, @fips_aes_gcm_test_list if $fips_enabled{"aes-gcm"};
|
||||
push @fips_test_list, @fips_dh_test_list if $fips_enabled{"dh"};
|
||||
push @fips_test_list, @fips_ecdh_test_list if $fips_enabled{"ecdh"};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user