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
00013
00014 class
Whirlpool : public
IteratedHashWithStaticTransform<word64, BigEndian, 64, 64,
Whirlpool>
00015 {
00016
public:
00017
static void InitState(HashWordType *state);
00018
static void Transform(word64 *digest,
const word64 *data);
00019
void TruncatedFinal(byte *hash,
unsigned int size);
00020
static const char * StaticAlgorithmName() {
return "Whirlpool";}
00021 };
00022
00023 NAMESPACE_END
00024
00025
#endif
00026
00027
#endif