1
#ifndef CRYPTOPP_WHIRLPOOL_H
2
#define CRYPTOPP_WHIRLPOOL_H
4
#include "cryptopp_config.h"
6
#ifdef WORD64_AVAILABLE
10
NAMESPACE_BEGIN(CryptoPP)
12
//! <a href="http://www.weidai.com/scan-mirror/md.html#Whirlpool">Whirlpool</a>
14
class Whirlpool : public IteratedHashWithStaticTransform<word64, BigEndian, 64, 64, Whirlpool>
17
static void InitState(HashWordType *state);
18
static void Transform(word64 *digest, const word64 *data);
19
void TruncatedFinal(byte *hash, unsigned int size);
20
static const char * StaticAlgorithmName() {return "Whirlpool";}