提交 8da18ea1 编写于 作者: D Dr. Stephen Henson

Add partial GCM tests to fipsalgtest.pl

上级 7aaa88e5
......@@ -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"};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册