X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fsha%2Fsha256.c;h=d43ee653a35eff197adf2ff8d798369f597c9cb3;hp=8952d87673b6f9c37ab5404f7b5f98fc05aaaefc;hb=03e389cf049e4bbc2f6d0028dc320fb0583aad2c;hpb=93256bf5d148f3b8fa02a410b4477c6c9ca20e65 diff --git a/crypto/sha/sha256.c b/crypto/sha/sha256.c index 8952d87673..d43ee653a3 100644 --- a/crypto/sha/sha256.c +++ b/crypto/sha/sha256.c @@ -14,6 +14,7 @@ #include #include +__fips_constseg const char SHA256_version[]="SHA-256" OPENSSL_VERSION_PTEXT; int SHA224_Init (SHA256_CTX *c) @@ -115,6 +116,7 @@ void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num); #include "md32_common.h" #ifndef SHA256_ASM +__fips_constseg static const SHA_LONG K256[64] = { 0x428a2f98UL,0x71374491UL,0xb5c0fbcfUL,0xe9b5dba5UL, 0x3956c25bUL,0x59f111f1UL,0x923f82a4UL,0xab1c5ed5UL,