BN_X931_derive_prime 3327 EXIST:OPENSSL_FIPS:FUNCTION:
BN_X931_generate_prime 3328 EXIST:OPENSSL_FIPS:FUNCTION:
RSA_X931_derive 3329 EXIST:OPENSSL_FIPS:FUNCTION:RSA
+SHA512_Update 3356 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA256_Init 3479 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA224 3510 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA384_Update 3551 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA224_Final 3560 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA224_Update 3562 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA512_Final 3581 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA224_Init 3631 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA512_Init 3633 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA256 3654 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA256_Transform 3664 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA512 3669 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA512_Transform 3675 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA256_Final 3712 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
+SHA384_Init 3737 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA384_Final 3740 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA384 3745 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512
+SHA256_Update 3765 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256
$crypto.=" crypto/ui/ui.h crypto/ui/ui_compat.h";
$crypto.=" crypto/krb5/krb5_asn.h";
$crypto.=" crypto/tmdiff.h";
-$crypto.=" fips-1.0/fips.h fips-1.0/rand/fips_rand.h";
+$crypto.=" fips-1.0/fips.h fips-1.0/rand/fips_rand.h fips-1.0/sha/fips_sha.h";
my $symhacks="crypto/symhacks.h";
$a .= ",RSA" if($s =~ /PEM_Seal(Final|Init|Update)/);
$a .= ",RSA" if($s =~ /RSAPrivateKey/);
$a .= ",RSA" if($s =~ /SSLv23?_((client|server)_)?method/);
+ # SHA2 algorithms only defined in FIPS mode for
+ # OpenSSL 0.9.7
+ $p .= "OPENSSL_FIPS" if($s =~ /SHA[235]/);
$platform{$s} =
&reduce_platforms((defined($platform{$s})?$platform{$s}.',':"").$p);