Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

IteratedHashBase2< T, B, BASE > Class Template Reference

#include <iterhash.h>

Inheritance diagram for IteratedHashBase2< T, B, BASE >:

IteratedHash< T, B, S, BASE > List of all members.

Detailed Description

template<class T, class B, class BASE>
class IteratedHashBase2< T, B, BASE >

Definition at line 49 of file iterhash.h.

Public Types

typedef B ByteOrderClass
typedef IteratedHashBase<
T, BASE >::HashWordType 
HashWordType

Public Member Functions

 IteratedHashBase2 (unsigned int blockSize, unsigned int digestSize)
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

void HashBlock (const HashWordType *input)
virtual void vTransform (const HashWordType *data)=0
GetBitCountHi () const
GetBitCountLo () const
virtual unsigned int HashMultipleBlocks (const T *input, unsigned int length)
void PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80)
virtual void Init ()=0
virtual void HashBlock (const T *input)=0

Protected Attributes

SecBlock< T > m_data
SecBlock< T > m_digest


The documentation for this class was generated from the following file:
Generated on Tue Jul 8 23:35:08 2003 for Crypto++ by doxygen 1.3.2