Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
572 B

  1. #ifndef CRYPTOPP_TIGER_H
  2. #define CRYPTOPP_TIGER_H
  3. #include "config.h"
  4. #include "iterhash.h"
  5. NAMESPACE_BEGIN(CryptoPP)
  6. /// <a href="http://www.cryptolounge.org/wiki/Tiger">Tiger</a>
  7. class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger>
  8. {
  9. public:
  10. static void InitState(HashWordType *state);
  11. static void Transform(word64 *digest, const word64 *data);
  12. void TruncatedFinal(byte *hash, size_t size);
  13. static const char * StaticAlgorithmName() {return "Tiger";}
  14. protected:
  15. static const word64 table[4*256+3];
  16. };
  17. NAMESPACE_END
  18. #endif