IteratedHash< T_HashWordType, T_Endianness, T_BlockSize, T_Base > Class Template Reference

#include <iterhash.h>

Inheritance diagram for IteratedHash< T_HashWordType, T_Endianness, T_BlockSize, T_Base >:

IteratedHashBase< T_HashWordType, T_Base > AlgorithmImpl< IteratedHash< unsigned int, EnumToType, 32 >, PanamaHash< B > > HAVAL MD5MAC_Base TTMAC_Base HAVAL3 HAVAL4 HAVAL5 SimpleKeyingInterfaceImpl< MD5MAC_Base, MD5MAC_Base > SimpleKeyingInterfaceImpl< TTMAC_Base, TTMAC_Base > AlgorithmImpl< SimpleKeyingInterfaceImpl< MD5MAC_Base, MD5MAC_Base >, MD5MAC_Base > AlgorithmImpl< SimpleKeyingInterfaceImpl< TTMAC_Base, TTMAC_Base >, TTMAC_Base > MessageAuthenticationCodeImpl< MD5MAC_Base > MessageAuthenticationCodeImpl< TTMAC_Base > ClonableImpl< MessageAuthenticationCodeFinal< MD5MAC_Base >, MessageAuthenticationCodeImpl< MD5MAC_Base > > ClonableImpl< MessageAuthenticationCodeFinal< TTMAC_Base >, MessageAuthenticationCodeImpl< TTMAC_Base > > MessageAuthenticationCodeFinal< MD5MAC_Base > MessageAuthenticationCodeFinal< TTMAC_Base > MD5MAC TTMAC List of all members.

Detailed Description

template<class T_HashWordType, class T_Endianness, unsigned int T_BlockSize, class T_Base = HashTransformation>
class IteratedHash< T_HashWordType, T_Endianness, T_BlockSize, T_Base >

_

Definition at line 59 of file iterhash.h.

Public Types

typedef T_Endianness ByteOrderClass
typedef T_HashWordType HashWordType

Public Member Functions

ByteOrder GetByteOrder () const
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)

Static Public Member Functions

static void CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount)

Static Public Attributes

static const int BLOCKSIZE = T_BlockSize
static CompileAssert<((T_BlockSize
&(T_BlockSize-1))==0)> 
cryptopp_assert___LINE__

Protected Member Functions

 IteratedHash ()
void SetBlockSize (unsigned int blockSize)
void SetStateSize (unsigned int stateSize)
T_HashWordType GetBitCountHi () const
T_HashWordType GetBitCountLo () const
void PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80)
virtual void Init ()=0
virtual void HashEndianCorrectedBlock (const HashWordType *data)=0
virtual size_t HashMultipleBlocks (const T_HashWordType *input, size_t length)
void HashBlock (const HashWordType *input)

Protected Attributes

SecBlock< T_HashWordType > m_data
SecBlock< T_HashWordType > m_digest


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:26 2006 for Crypto++ by  doxygen 1.5.1-p1