summaryrefslogtreecommitdiff
path: root/tigertab.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-04-15 23:44:44 +0000
committerweidai <weidai11@users.noreply.github.com>2007-04-15 23:44:44 +0000
commiteef93ab86b5ccbd857a574ccbdd36451c6bcf77f (patch)
tree52a0e0c70e97c3d442146c36b4691a7d3c04fe0c /tigertab.cpp
parentc2397a460098debadac81cbe48129ba1e013f3b8 (diff)
downloadcryptopp-git-eef93ab86b5ccbd857a574ccbdd36451c6bcf77f.tar.gz
MMX/SSE2 optimizations
Diffstat (limited to 'tigertab.cpp')
-rw-r--r--tigertab.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tigertab.cpp b/tigertab.cpp
index c6d543c3..0197c211 100644
--- a/tigertab.cpp
+++ b/tigertab.cpp
@@ -5,7 +5,7 @@
NAMESPACE_BEGIN(CryptoPP)
-const word64 Tiger::table[4*256] =
+const word64 Tiger::table[4*256+3] =
{
W64LIT(0x02AAB17CF7E90C5E) /* 0 */, W64LIT(0xAC424B03E243A8EC) /* 1 */,
W64LIT(0x72CD5BE30DD5FCD3) /* 2 */, W64LIT(0x6D019B93F6F97F3A) /* 3 */,
@@ -518,7 +518,10 @@ const word64 Tiger::table[4*256] =
W64LIT(0xBF6C70E5F776CBB1) /* 1016 */, W64LIT(0x411218F2EF552BED) /* 1017 */,
W64LIT(0xCB0C0708705A36A3) /* 1018 */, W64LIT(0xE74D14754F986044) /* 1019 */,
W64LIT(0xCD56D9430EA8280E) /* 1020 */, W64LIT(0xC12591D7535F5065) /* 1021 */,
- W64LIT(0xC83223F1720AEF96) /* 1022 */, W64LIT(0xC3A0396F7363A51F) /* 1023 */
+ W64LIT(0xC83223F1720AEF96) /* 1022 */, W64LIT(0xC3A0396F7363A51F) /* 1023 */,
+ W64LIT(0xffffffffffffffff),
+ W64LIT(0xA5A5A5A5A5A5A5A5),
+ W64LIT(0x0123456789ABCDEF),
};
NAMESPACE_END