~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to tiger.h

  • Committer: weidai
  • Date: 2007-04-15 23:00:27 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:287
MMX/SSE2 optimizations

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
NAMESPACE_BEGIN(CryptoPP)
11
11
 
12
 
/// <a href="http://www.weidai.com/scan-mirror/md.html#Tiger">Tiger</a>
 
12
/// <a href="http://www.cryptolounge.org/wiki/Tiger">Tiger</a>
13
13
class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger>
14
14
{
15
15
public:
19
19
        static const char * StaticAlgorithmName() {return "Tiger";}
20
20
 
21
21
protected:
22
 
        static const word64 table[4*256];
 
22
        static const word64 table[4*256+3];
23
23
};
24
24
 
25
25
NAMESPACE_END