TTMAC_Base Class Reference

_ More...

#include <ttmac.h>

Inheritance diagram for TTMAC_Base:
FixedKeyLength< 20 > IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > IteratedHashBase< T, BASE > BASE

List of all members.

Public Types

typedef LittleEndian ByteOrderClass
typedef word32 HashWordType

Public Member Functions

unsigned int DigestSize () const
void UncheckedSetKey (const byte *userKey, unsigned int keylength, const NameValuePairs &params)
void TruncatedFinal (byte *mac, size_t size)
 CRYPTOPP_COMPILE_ASSERT ((T_BlockSize &(T_BlockSize-1))==0)
unsigned int BlockSize () const
ByteOrder GetByteOrder () const
unsigned int OptimalBlockSize () const
unsigned int OptimalDataAlignment () const
void Update (const byte *input, size_t length)
byte * CreateUpdateSpace (size_t &size)
void Restart ()

Static Public Member Functions

static std::string StaticAlgorithmName ()
static size_t CRYPTOPP_API StaticGetValidKeyLength (size_t)
static void CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount)

Protected Member Functions

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

Static Protected Member Functions

static void Transform (word32 *digest, const word32 *X, bool last)

Protected Attributes

FixedSizeSecBlock< word32, 10 > m_digest
FixedSizeSecBlock< word32, 5 > m_key
FixedSizeSecBlock< word32,
T_BlockSize/sizeof(word32)> 
m_data

Detailed Description

_

Definition at line 12 of file ttmac.h.


The documentation for this class was generated from the following file:

Generated on Fri Sep 18 16:14:32 2009 for Crypto++ by  doxygen 1.6.1