Crypto++  5.6.3
Free C++ class library of cryptographic schemes
tiger.h
1 #ifndef CRYPTOPP_TIGER_H
2 #define CRYPTOPP_TIGER_H
3 
4 #include "config.h"
5 #include "iterhash.h"
6 
7 NAMESPACE_BEGIN(CryptoPP)
8 
9 /// <a href="http://www.cryptolounge.org/wiki/Tiger">Tiger</a>
10 class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger>
11 {
12 public:
13  static void InitState(HashWordType *state);
14  static void Transform(word64 *digest, const word64 *data);
15  void TruncatedFinal(byte *hash, size_t size);
16  static const char * StaticAlgorithmName() {return "Tiger";}
17 
18 protected:
19  static const word64 table[4*256+3];
20 };
21 
22 NAMESPACE_END
23 
24 #endif
Tiger
Definition: tiger.h:10
Converts a typename to an enumerated value.
Definition: cryptlib.h:115
Library configuration file.
Crypto++ library namespace.