#include <iterhash.h>
Definition at line 21 of file iterhash.h.
Public Types | |
typedef T | HashWordType |
Public Member Functions | |
IteratedHashBase () | |
unsigned int | BlockSize () const |
unsigned int | OptimalBlockSize () const |
unsigned int | OptimalDataAlignment () const |
void | Update (const byte *input, size_t length) |
byte * | CreateUpdateSpace (size_t &size) |
void | Restart () |
void | TruncatedFinal (byte *digest, size_t size) |
Protected Member Functions | |
void | SetBlockSize (unsigned int blockSize) |
void | SetStateSize (unsigned int stateSize) |
T | GetBitCountHi () const |
T | GetBitCountLo () const |
void | PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80) |
virtual void | Init ()=0 |
virtual ByteOrder | GetByteOrder () const=0 |
virtual void | HashEndianCorrectedBlock (const HashWordType *data)=0 |
virtual size_t | HashMultipleBlocks (const T *input, size_t length) |
void | HashBlock (const HashWordType *input) |
Protected Attributes | |
SecBlock< T > | m_data |
SecBlock< T > | m_digest |