Fabcoin Core  0.16.2
P2P Digital Currency
whrlpool.h
Go to the documentation of this file.
1 #ifndef CRYPTOPP_WHIRLPOOL_H
2 #define CRYPTOPP_WHIRLPOOL_H
3 
4 #include "config.h"
5 #include "iterhash.h"
6 
8 
11 {
12 public:
13  static void InitState(HashWordType *state);
14  static void Transform(word64 *digest, const word64 *data);
15  void TruncatedFinal(byte *hash, size_t size);
16  CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "Whirlpool";}
17 };
18 
20 
21 #endif
uint8_t byte
Definition: Common.h:57
#define CRYPTOPP_STATIC_CONSTEXPR
Definition: config.h:892
Iterated hash with a static transformation function.
Definition: iterhash.h:150
#define NAMESPACE_BEGIN(x)
Definition: config.h:200
Converts an enumeration to a type suitable for use as a template parameter.
Definition: cryptlib.h:116
Library configuration file.
Whirlpool
Definition: whrlpool.h:10
unsigned long long word64
Definition: config.h:240
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Definition: whrlpool.h:16
uint8_t const size_t const size
Definition: sha3.h:20
#define NAMESPACE_END
Definition: config.h:201
uint8_t const * data
Definition: sha3.h:19