whirlpool_t Struct Reference
[Whirlpool hash function]

#include <whirlpool.h>


Detailed Description

dynamic whirlpool state data

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]


Field Documentation

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().

int whirlpool_t::bits

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().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 19 20:38:46 2007 for lucid by  doxygen 1.5.2