summaryrefslogtreecommitdiff
path: root/whrlpool.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-21 14:19:00 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-21 14:19:00 -0500
commitc4e0942a68a3242ff9d9c4e9a0da26a06b57f201 (patch)
tree34c7417786620c619930e8b162bddc9af5f91702 /whrlpool.cpp
parent5631da3697ea7a8c926df4d2a71dcc62d2effff7 (diff)
downloadcryptopp-git-c4e0942a68a3242ff9d9c4e9a0da26a06b57f201.tar.gz
Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION
Diffstat (limited to 'whrlpool.cpp')
-rw-r--r--whrlpool.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/whrlpool.cpp b/whrlpool.cpp
index 9fb28bda..a510ba79 100644
--- a/whrlpool.cpp
+++ b/whrlpool.cpp
@@ -127,9 +127,11 @@ void Whirlpool::TruncatedFinal(byte *hash, size_t size)
*/
#if CRYPTOPP_SSE2_ASM_AVAILABLE
-CRYPTOPP_ALIGN_DATA(16) static const word64 Whirlpool_C[4*256+R] CRYPTOPP_SECTION_ALIGN16 = {
+CRYPTOPP_ALIGN_DATA(16)
+CRYPTOPP_TABLE
+const word64 Whirlpool_C[4*256+R] = {
#else
-static const word64 Whirlpool_C[4*256+R] = {
+const word64 Whirlpool_C[4*256+R] = {
#endif
W64LIT(0x18186018c07830d8), W64LIT(0x23238c2305af4626), W64LIT(0xc6c63fc67ef991b8), W64LIT(0xe8e887e8136fcdfb),
W64LIT(0x878726874ca113cb), W64LIT(0xb8b8dab8a9626d11), W64LIT(0x0101040108050209), W64LIT(0x4f4f214f426e9e0d),