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/sha512.c | |
parent | 93256bf5d148f3b8fa02a410b4477c6c9ca20e65 (diff) | |
download | openssl-03e389cf049e4bbc2f6d0028dc320fb0583aad2c.zip openssl-03e389cf049e4bbc2f6d0028dc320fb0583aad2c.tar.gz openssl-03e389cf049e4bbc2f6d0028dc320fb0583aad2c.tar.bz2 |
Allow for dynamic base in Win64 FIPS module.
Diffstat (limited to 'crypto/sha/sha512.c')
-rw-r--r-- | crypto/sha/sha512.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index e95a5b3..aab1f1e 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -50,6 +50,7 @@ #include "cryptlib.h" +__fips_constseg const char SHA512_version[]="SHA-512" OPENSSL_VERSION_PTEXT; #if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ @@ -261,6 +262,7 @@ unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md) } #ifndef SHA512_ASM +__fips_constseg static const SHA_LONG64 K512[80] = { U64(0x428a2f98d728ae22),U64(0x7137449123ef65cd), U64(0xb5c0fbcfec4d3b2f),U64(0xe9b5dba58189dbbc), |