summaryrefslogtreecommitdiff
path: root/ariatab.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 /ariatab.cpp
parent5631da3697ea7a8c926df4d2a71dcc62d2effff7 (diff)
downloadcryptopp-git-c4e0942a68a3242ff9d9c4e9a0da26a06b57f201.tar.gz
Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION
Diffstat (limited to 'ariatab.cpp')
-rw-r--r--ariatab.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/ariatab.cpp b/ariatab.cpp
index 567ba72b..6c8a1566 100644
--- a/ariatab.cpp
+++ b/ariatab.cpp
@@ -6,10 +6,8 @@
NAMESPACE_BEGIN(CryptoPP)
NAMESPACE_BEGIN(ARIATab)
-#define EXPORT_TABLE extern
-
CRYPTOPP_ALIGN_DATA(16)
-EXPORT_TABLE
+CRYPTOPP_TABLE
const word32 S1[256]={
0x00636363,0x007c7c7c,0x00777777,0x007b7b7b,0x00f2f2f2,0x006b6b6b,0x006f6f6f,0x00c5c5c5,
0x00303030,0x00010101,0x00676767,0x002b2b2b,0x00fefefe,0x00d7d7d7,0x00ababab,0x00767676,
@@ -46,7 +44,7 @@ const word32 S1[256]={
};
CRYPTOPP_ALIGN_DATA(16)
-EXPORT_TABLE
+CRYPTOPP_TABLE
const word32 S2[256]={
0xe200e2e2,0x4e004e4e,0x54005454,0xfc00fcfc,0x94009494,0xc200c2c2,0x4a004a4a,0xcc00cccc,
0x62006262,0x0d000d0d,0x6a006a6a,0x46004646,0x3c003c3c,0x4d004d4d,0x8b008b8b,0xd100d1d1,
@@ -83,7 +81,7 @@ const word32 S2[256]={
};
CRYPTOPP_ALIGN_DATA(16)
-EXPORT_TABLE
+CRYPTOPP_TABLE
const word32 X1[256]={
0x52520052,0x09090009,0x6a6a006a,0xd5d500d5,0x30300030,0x36360036,0xa5a500a5,0x38380038,
0xbfbf00bf,0x40400040,0xa3a300a3,0x9e9e009e,0x81810081,0xf3f300f3,0xd7d700d7,0xfbfb00fb,
@@ -120,7 +118,7 @@ const word32 X1[256]={
};
CRYPTOPP_ALIGN_DATA(16)
-EXPORT_TABLE
+CRYPTOPP_TABLE
const word32 X2[256]={
0x30303000,0x68686800,0x99999900,0x1b1b1b00,0x87878700,0xb9b9b900,0x21212100,0x78787800,
0x50505000,0x39393900,0xdbdbdb00,0xe1e1e100,0x72727200,0x09090900,0x62626200,0x3c3c3c00,
@@ -157,7 +155,7 @@ const word32 X2[256]={
};
CRYPTOPP_ALIGN_DATA(16)
-EXPORT_TABLE
+CRYPTOPP_TABLE
const word32 KRK[3][4] = {
{0x517cc1b7, 0x27220a94, 0xfe13abe8, 0xfa9a6ee0},
{0x6db14acc, 0x9e21c820, 0xff28b1d5, 0xef5de2b0},