#include <whirlpool.h>
This struct is used to keep track of the whirlpool transform, i.e. its hashing state, input buffer, number of hashed bits, etc.
Definition at line 70 of file whirlpool.h.
Data Fields | |
uint8_t | len [LENGTHBYTES] |
uint8_t | buf [WBLOCKBYTES] |
int | bits |
int | pos |
uint64_t | hash [DIGESTBYTES/8] |
uint8_t whirlpool_t::len[LENGTHBYTES] |
global number of hashed bits
Definition at line 71 of file whirlpool.h.
Referenced by whirlpool_add(), whirlpool_finalize(), and whirlpool_init().
uint8_t whirlpool_t::buf[WBLOCKBYTES] |
buffer of data to hash
Definition at line 72 of file whirlpool.h.
Referenced by whirlpool_add(), whirlpool_finalize(), whirlpool_init(), and whirlpool_transform().
current number of bits on the buffer
Definition at line 73 of file whirlpool.h.
Referenced by whirlpool_add(), whirlpool_finalize(), and whirlpool_init().
int whirlpool_t::pos |
current (possibly incomplete) byte slot on the buffer
Definition at line 74 of file whirlpool.h.
Referenced by whirlpool_add(), whirlpool_finalize(), and whirlpool_init().
uint64_t whirlpool_t::hash[DIGESTBYTES/8] |
the hashing state
Definition at line 75 of file whirlpool.h.
Referenced by whirlpool_finalize(), whirlpool_init(), and whirlpool_transform().