summaryrefslogtreecommitdiff
path: root/sha.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-28 06:09:46 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-28 06:09:46 -0400
commit1ff6f39ec654cd5690a43a3a2e15d668afe5dd2b (patch)
treee9f4c391e83a34f293a7d7e1e76df2e293e46d76 /sha.cpp
parent1d0c6dd9161a22dddba7ae1197bb1238346cdf09 (diff)
downloadcryptopp-git-1ff6f39ec654cd5690a43a3a2e15d668afe5dd2b.tar.gz
Add proper declaration for Kalyna tables; and split from definitions
Diffstat (limited to 'sha.cpp')
-rw-r--r--sha.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha.cpp b/sha.cpp
index 40a441d9..78f0ab5b 100644
--- a/sha.cpp
+++ b/sha.cpp
@@ -73,11 +73,11 @@ extern void SHA256_HashMultipleBlocks_POWER8(word32 *state, const word32 *data,
extern void SHA512_HashMultipleBlocks_POWER8(word64 *state, const word64 *data, size_t length, ByteOrder order);
#endif
+// We add extern to export table to sha-simd.cpp, but it
+// cleared http://github.com/weidai11/cryptopp/issues/502
extern const word32 SHA256_K[64];
extern const word64 SHA512_K[80];
-// We add extern to export table to sha-simd.cpp, but it
-// cleared http://github.com/weidai11/cryptopp/issues/502
CRYPTOPP_ALIGN_DATA(16)
const word64 SHA512_K[80] = {
W64LIT(0x428a2f98d728ae22), W64LIT(0x7137449123ef65cd),