From 1ff6f39ec654cd5690a43a3a2e15d668afe5dd2b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 28 Oct 2018 06:09:46 -0400 Subject: Add proper declaration for Kalyna tables; and split from definitions --- sha.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sha.cpp') 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), -- cgit v1.2.1