From: Dr. Stephen Henson Date: Wed, 20 Apr 2011 15:06:44 +0000 (+0000) Subject: Add partial GCM tests to fipsalgtest.pl X-Git-Tag: OpenSSL-fips-2_0-rc1~523 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8da18ea1a5b6d1d3d3c2fbb0c36bbf34dead6fd9;p=oweals%2Fopenssl.git Add partial GCM tests to fipsalgtest.pl --- diff --git a/fips/fipsalgtest.pl b/fips/fipsalgtest.pl index ce17e1ef44..6c4c3b494e 100644 --- a/fips/fipsalgtest.pl +++ b/fips/fipsalgtest.pl @@ -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"};