summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-13 13:08:56 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-13 13:08:56 -0500
commitf1386ad894707dde41405fc2a9dbdbc7e4550d04 (patch)
tree56c9b64a87c7215051fd5d79882b69cf8cdf9a87 /blake2.cpp
parent660681a884c6fac23de5037f93c8720f66baecb3 (diff)
downloadcryptopp-git-f1386ad894707dde41405fc2a9dbdbc7e4550d04.tar.gz
Fix SunCC 12.5 compile with -std=c++11
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/blake2.cpp b/blake2.cpp
index fe237fba..c4be4621 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -46,15 +46,13 @@ struct BLAKE2_IV
static const W iv[8];
};
-template<>
-CRYPTOPP_ALIGN_DATA(16)
+template <>
const word32 BLAKE2_IV<word32, false>::iv[8] = {
0x6A09E667UL, 0xBB67AE85UL, 0x3C6EF372UL, 0xA54FF53AUL,
0x510E527FUL, 0x9B05688CUL, 0x1F83D9ABUL, 0x5BE0CD19UL
};
-template<>
-CRYPTOPP_ALIGN_DATA(16)
+template <>
const word64 BLAKE2_IV<word64, true>::iv[8] = {
W64LIT(0x6a09e667f3bcc908), W64LIT(0xbb67ae8584caa73b),
W64LIT(0x3c6ef372fe94f82b), W64LIT(0xa54ff53a5f1d36f1),