diff options
author | Andy Polyakov <appro@openssl.org> | 2011-09-14 20:48:49 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-09-14 20:48:49 +0000 |
commit | 03e389cf049e4bbc2f6d0028dc320fb0583aad2c (patch) | |
tree | 61020185544c4ff9567d236e9c1ee3a74ee417c8 /crypto/sha/sha256.c | |
parent | 93256bf5d148f3b8fa02a410b4477c6c9ca20e65 (diff) |
Allow for dynamic base in Win64 FIPS module.
Diffstat (limited to 'crypto/sha/sha256.c')
-rw-r--r-- | crypto/sha/sha256.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <openssl/sha.h> #include <openssl/opensslv.h> +__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, |