#include <iterhash.h>
Inheritance diagram for IteratedHash< T, B, S, BASE >:
Definition at line 71 of file iterhash.h.
Public Types | |
enum | { BLOCKSIZE = S } |
typedef B | ByteOrderClass |
typedef IteratedHashBase< T, BASE >::HashWordType | HashWordType |
Public Member Functions | |
void | TruncatedFinal (byte *hash, unsigned int size) |
unsigned int | DigestSize () const |
unsigned int | OptimalBlockSize () const |
void | Update (const byte *input, unsigned int length) |
byte * | CreateUpdateSpace (unsigned int &size) |
void | Restart () |
Static Public Member Functions | |
void | CorrectEndianess (HashWordType *out, const HashWordType *in, unsigned int byteCount) |
Protected Member Functions | |
IteratedHash (unsigned int digestSize) | |
unsigned int | BlockSize () const |
void | HashBlock (const HashWordType *input) |
virtual void | HashBlock (const T *input)=0 |
virtual void | vTransform (const HashWordType *data)=0 |
T | GetBitCountHi () const |
T | GetBitCountLo () const |
virtual unsigned int | HashMultipleBlocks (const T *input, unsigned int length) |
void | PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80) |
virtual void | Init ()=0 |
Protected Attributes | |
SecBlock< T > | m_data |
SecBlock< T > | m_digest |