Add partial GCM tests to fipsalgtest.pl
This commit is contained in:
		@@ -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
 | 
					# Triple DES tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
my @fips_des3_test_list = (
 | 
					my @fips_des3_test_list = (
 | 
				
			||||||
@@ -457,6 +469,7 @@ my %fips_enabled = (
 | 
				
			|||||||
    "des3-cfb1" => 0,
 | 
					    "des3-cfb1" => 0,
 | 
				
			||||||
    drbg	=> 0,
 | 
					    drbg	=> 0,
 | 
				
			||||||
    ccm		=> 0,
 | 
					    ccm		=> 0,
 | 
				
			||||||
 | 
					    gcm		=> 0,
 | 
				
			||||||
    dh		=> 0,
 | 
					    dh		=> 0,
 | 
				
			||||||
    ecdh	=> 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_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_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_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_dh_test_list	if $fips_enabled{"dh"};
 | 
				
			||||||
push @fips_test_list, @fips_ecdh_test_list	if $fips_enabled{"ecdh"};
 | 
					push @fips_test_list, @fips_ecdh_test_list	if $fips_enabled{"ecdh"};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user