summaryrefslogtreecommitdiff
path: root/gcm.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-06-14 19:14:09 -0400
committerJeffrey Walton <noloader@gmail.com>2016-06-14 19:14:09 -0400
commitc1f025343a1cfd4d2acb7e1eeb83eea935a7a4cf (patch)
treea03f55cd3b6b239fc7788f4d4583ab1bf789dfb0 /gcm.cpp
parenta6090c64edfc51d9d573398d4b266b2718d09546 (diff)
downloadcryptopp-git-c1f025343a1cfd4d2acb7e1eeb83eea935a7a4cf.tar.gz
Add C++11 alignas support. Deleting 'alignas' branch
Diffstat (limited to 'gcm.cpp')
-rw-r--r--gcm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcm.cpp b/gcm.cpp
index b5299832..ecbfb0c9 100644
--- a/gcm.cpp
+++ b/gcm.cpp
@@ -100,7 +100,8 @@ inline static void Xor16(byte *a, const byte *b, const byte *c)
}
#if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
-static CRYPTOPP_ALIGN_DATA(16) const word64 s_clmulConstants64[] = {
+CRYPTOPP_ALIGN_DATA(16)
+static const word64 s_clmulConstants64[] = {
W64LIT(0xe100000000000000), W64LIT(0xc200000000000000),
W64LIT(0x08090a0b0c0d0e0f), W64LIT(0x0001020304050607),
W64LIT(0x0001020304050607), W64LIT(0x08090a0b0c0d0e0f)};