whrlpool.h

00001 #ifndef CRYPTOPP_WHIRLPOOL_H
00002 #define CRYPTOPP_WHIRLPOOL_H
00003 
00004 #include "config.h"
00005 
00006 #ifdef WORD64_AVAILABLE
00007 
00008 #include "iterhash.h"
00009 
00010 NAMESPACE_BEGIN(CryptoPP)
00011 
00012 //! <a href="http://www.cryptolounge.org/wiki/Whirlpool">Whirlpool</a>
00013 class Whirlpool : public IteratedHashWithStaticTransform<word64, BigEndian, 64, 64, Whirlpool>
00014 {
00015 public:
00016     static void InitState(HashWordType *state);
00017     static void Transform(word64 *digest, const word64 *data);
00018     void TruncatedFinal(byte *hash, size_t size);
00019     static const char * StaticAlgorithmName() {return "Whirlpool";}
00020 };
00021 
00022 NAMESPACE_END
00023 
00024 #endif
00025 
00026 #endif

Generated on Thu Jul 5 22:21:38 2007 for Crypto++ by  doxygen 1.5.2