26 #include "KeccakCore.h" 
   39     void update(
const void *data, 
size_t len);
 
   40     void finalize(
void *hash, 
size_t len);
 
   44     void resetHMAC(
const void *key, 
size_t keyLen);
 
   45     void finalizeHMAC(
const void *key, 
size_t keyLen, 
void *hash, 
size_t hashLen);
 
   64     void update(
const void *data, 
size_t len);
 
   65     void finalize(
void *hash, 
size_t len);
 
   69     void resetHMAC(
const void *key, 
size_t keyLen);
 
   70     void finalizeHMAC(
const void *key, 
size_t keyLen, 
void *hash, 
size_t hashLen);
 
Abstract base class for cryptographic hash algorithms.
Keccak core sponge function.
void finalizeHMAC(const void *key, size_t keyLen, void *hash, size_t hashLen)
Finalizes the HMAC hashing process and returns the hash.
size_t blockSize() const
Size of the internal block used by the hash algorithm.
void resetHMAC(const void *key, size_t keyLen)
Resets the hash ready for a new HMAC hashing process.
static const size_t HASH_SIZE
Constant for the size of the hash output of SHA3-256.
void clear()
Clears the hash state, removing all sensitive data, and then resets the hash ready for a new hashing ...
void reset()
Resets the hash ready for a new hashing process.
void update(const void *data, size_t len)
Updates the hash with more data.
virtual ~SHA3_256()
Destroys this hash object after clearing sensitive information.
void finalize(void *hash, size_t len)
Finalizes the hashing process and returns the hash.
SHA3_256()
Constructs a new SHA3-256 hash object.
size_t hashSize() const
Size of the hash result from finalize().
static const size_t BLOCK_SIZE
Constant for the block size of SHA3-256.
void update(const void *data, size_t len)
Updates the hash with more data.
void finalizeHMAC(const void *key, size_t keyLen, void *hash, size_t hashLen)
Finalizes the HMAC hashing process and returns the hash.
virtual ~SHA3_512()
Destroys this hash object after clearing sensitive information.
void reset()
Resets the hash ready for a new hashing process.
SHA3_512()
Constructs a new SHA3-512 hash object.
static const size_t HASH_SIZE
Constant for the size of the hash output of SHA3-512.
void resetHMAC(const void *key, size_t keyLen)
Resets the hash ready for a new HMAC hashing process.
size_t hashSize() const
Size of the hash result from finalize().
void finalize(void *hash, size_t len)
Finalizes the hashing process and returns the hash.
void clear()
Clears the hash state, removing all sensitive data, and then resets the hash ready for a new hashing ...
size_t blockSize() const
Size of the internal block used by the hash algorithm.
static const size_t BLOCK_SIZE
Constant for the block size of SHA3-512.