diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 06:09:46 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 06:09:46 -0400 |
commit | 1ff6f39ec654cd5690a43a3a2e15d668afe5dd2b (patch) | |
tree | e9f4c391e83a34f293a7d7e1e76df2e293e46d76 /sha.cpp | |
parent | 1d0c6dd9161a22dddba7ae1197bb1238346cdf09 (diff) | |
download | cryptopp-git-1ff6f39ec654cd5690a43a3a2e15d668afe5dd2b.tar.gz |
Add proper declaration for Kalyna tables; and split from definitions
Diffstat (limited to 'sha.cpp')
-rw-r--r-- | sha.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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),
|