aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/sm4
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-10 19:19:19 -0400
committerJack Lloyd <[email protected]>2018-10-01 12:53:53 -0400
commit8eb900731da945d276f723534af09592213ee582 (patch)
treed080c6fd2ca760796b522d21288b0b4bfc0b6e65 /src/lib/block/sm4
parenta792728e8941b62761052f5e0d288ba13a016c77 (diff)
Remove support for Visual C++ 2013
Closes GH #1557
Diffstat (limited to 'src/lib/block/sm4')
-rw-r--r--src/lib/block/sm4/sm4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/sm4/sm4.cpp b/src/lib/block/sm4/sm4.cpp
index 8d9d05604..e8f73e185 100644
--- a/src/lib/block/sm4/sm4.cpp
+++ b/src/lib/block/sm4/sm4.cpp
@@ -14,7 +14,7 @@ namespace Botan {
namespace {
-BOTAN_ALIGNAS(64)
+alignas(64)
const uint8_t SM4_SBOX[256] = {
0xD6, 0x90, 0xE9, 0xFE, 0xCC, 0xE1, 0x3D, 0xB7, 0x16, 0xB6, 0x14, 0xC2, 0x28, 0xFB, 0x2C, 0x05,
0x2B, 0x67, 0x9A, 0x76, 0x2A, 0xBE, 0x04, 0xC3, 0xAA, 0x44, 0x13, 0x26, 0x49, 0x86, 0x06, 0x99,
@@ -37,7 +37,7 @@ const uint8_t SM4_SBOX[256] = {
/*
* SM4_SBOX_T[j] == L(SM4_SBOX[j]).
*/
-BOTAN_ALIGNAS(64)
+alignas(64)
const uint32_t SM4_SBOX_T[256] = {
0x8ED55B5B, 0xD0924242, 0x4DEAA7A7, 0x06FDFBFB, 0xFCCF3333, 0x65E28787,
0xC93DF4F4, 0x6BB5DEDE, 0x4E165858, 0x6EB4DADA, 0x44145050, 0xCAC10B0B,