~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to tigertab.cpp

  • Committer: weidai
  • Date: 2010-06-18 01:52:34 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:485
avoid SecBlock of arrays

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "pch.h"
2
2
#include "tiger.h"
3
3
 
4
 
#ifdef WORD64_AVAILABLE
5
 
 
6
4
NAMESPACE_BEGIN(CryptoPP)
7
5
 
8
 
const word64 Tiger::table[4*256] = 
 
6
const word64 Tiger::table[4*256+3] = 
9
7
{
10
8
        W64LIT(0x02AAB17CF7E90C5E)   /*    0 */,    W64LIT(0xAC424B03E243A8EC)   /*    1 */,
11
9
        W64LIT(0x72CD5BE30DD5FCD3)   /*    2 */,    W64LIT(0x6D019B93F6F97F3A)   /*    3 */,
518
516
        W64LIT(0xBF6C70E5F776CBB1)   /* 1016 */,    W64LIT(0x411218F2EF552BED)   /* 1017 */,
519
517
        W64LIT(0xCB0C0708705A36A3)   /* 1018 */,    W64LIT(0xE74D14754F986044)   /* 1019 */,
520
518
        W64LIT(0xCD56D9430EA8280E)   /* 1020 */,    W64LIT(0xC12591D7535F5065)   /* 1021 */,
521
 
        W64LIT(0xC83223F1720AEF96)   /* 1022 */,    W64LIT(0xC3A0396F7363A51F)   /* 1023 */
 
519
        W64LIT(0xC83223F1720AEF96)   /* 1022 */,    W64LIT(0xC3A0396F7363A51F)   /* 1023 */,
 
520
        W64LIT(0xffffffffffffffff),
 
521
        W64LIT(0xA5A5A5A5A5A5A5A5),
 
522
        W64LIT(0x0123456789ABCDEF),
522
523
};
523
524
 
524
525
NAMESPACE_END
525
 
 
526
 
#endif