Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

tiger.h

00001 #ifndef CRYPTOPP_TIGER_H 00002 #define CRYPTOPP_TIGER_H 00003 00004 #include "cryptopp_config.h" 00005 00006 #ifdef WORD64_AVAILABLE 00007 00008 #include "iterhash.h" 00009 00010 NAMESPACE_BEGIN(CryptoPP) 00011 00012 /// <a href="http://www.weidai.com/scan-mirror/md.html#Tiger">Tiger</a> 00013 class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger> 00014 { 00015 public: 00016 static void InitState(HashWordType *state); 00017 static void Transform(word64 *digest, const word64 *data); 00018 void TruncatedFinal(byte *hash, unsigned int size); 00019 static const char * StaticAlgorithmName() {return "Tiger";} 00020 00021 protected: 00022 static const word64 table[4*256]; 00023 }; 00024 00025 NAMESPACE_END 00026 00027 #endif 00028 00029 #endif

Generated on Fri Aug 27 14:01:30 2004 for Crypto++ by doxygen 1.3.8