aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/tiger/tig_tab.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 15:28:38 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:48:24 -0500
commitf3cb3edb512bdcab498d825886c3366c341b3f78 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/hash/tiger/tig_tab.cpp
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
Convert to using standard uintN_t integer types
Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
Diffstat (limited to 'src/lib/hash/tiger/tig_tab.cpp')
-rw-r--r--src/lib/hash/tiger/tig_tab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/hash/tiger/tig_tab.cpp b/src/lib/hash/tiger/tig_tab.cpp
index 4d0bea5ee..3d1dc1eeb 100644
--- a/src/lib/hash/tiger/tig_tab.cpp
+++ b/src/lib/hash/tiger/tig_tab.cpp
@@ -9,7 +9,7 @@
namespace Botan {
-const u64bit Tiger::SBOX1[256] = {
+const uint64_t Tiger::SBOX1[256] = {
0x02AAB17CF7E90C5E, 0xAC424B03E243A8EC, 0x72CD5BE30DD5FCD3,
0x6D019B93F6F97F3A, 0xCD9978FFD21F9193, 0x7573A1C9708029E2,
0xB164326B922A83C3, 0x46883EEE04915870, 0xEAACE3057103ECE6,
@@ -97,7 +97,7 @@ const u64bit Tiger::SBOX1[256] = {
0xFFED95D8F1EA02A2, 0xE72B3BD61464D43D, 0xA6300F170BDC4820,
0xEBC18760ED78A77A };
-const u64bit Tiger::SBOX2[256] = {
+const uint64_t Tiger::SBOX2[256] = {
0xE6A6BE5A05A12138, 0xB5A122A5B4F87C98, 0x563C6089140B6990,
0x4C46CB2E391F5DD5, 0xD932ADDBC9B79434, 0x08EA70E42015AFF5,
0xD765A6673E478CF1, 0xC4FB757EAB278D99, 0xDF11C6862D6E0692,
@@ -185,7 +185,7 @@ const u64bit Tiger::SBOX2[256] = {
0x9010A91E84711AE9, 0x4DF7F0B7B1498371, 0xD62A2EABC0977179,
0x22FAC097AA8D5C0E };
-const u64bit Tiger::SBOX3[256] = {
+const uint64_t Tiger::SBOX3[256] = {
0xF49FCC2FF1DAF39B, 0x487FD5C66FF29281, 0xE8A30667FCDCA83F,
0x2C9B4BE3D2FCCE63, 0xDA3FF74B93FBBBC2, 0x2FA165D2FE70BA66,
0xA103E279970E93D4, 0xBECDEC77B0E45E71, 0xCFB41E723985E497,
@@ -273,7 +273,7 @@ const u64bit Tiger::SBOX3[256] = {
0x454C6FE9F2C0C1CD, 0x419CF6496412691C, 0xD3DC3BEF265B0F70,
0x6D0E60F5C3578A9E };
-const u64bit Tiger::SBOX4[256] = {
+const uint64_t Tiger::SBOX4[256] = {
0x5B0E608526323C55, 0x1A46C1A9FA1B59F5, 0xA9E245A17C4C8FFA,
0x65CA5159DB2955D7, 0x05DB0A76CE35AFC2, 0x81EAC77EA9113D45,
0x528EF88AB6AC0A0D, 0xA09EA253597BE3FF, 0x430DDFB3AC48CD56,