HMAC_Base Class Reference

#include <hmac.h>

Inheritance diagram for HMAC_Base:

VariableKeyLength< 16, 0, INT_MAX > MessageAuthenticationCode HashTransformation SimpleKeyingInterface Algorithm Clonable SimpleKeyingInterfaceImpl< HMAC_Base, HMAC< T > > AlgorithmImpl< SimpleKeyingInterfaceImpl< HMAC_Base, HMAC< T > >, HMAC< T > > MessageAuthenticationCodeImpl< HMAC_Base, HMAC< T > > HMAC< T > List of all members.

Detailed Description

_

Definition at line 12 of file hmac.h.

Public Member Functions

 HMAC_Base ()
void UncheckedSetKey (const byte *userKey, unsigned int keylength, const NameValuePairs &params)
void Restart ()
 discard the current state, and restart with a new message
void Update (const byte *input, size_t length)
 process more input
void TruncatedFinal (byte *mac, size_t size)
 truncated version of Final()
unsigned int OptimalBlockSize () const
 input to Update() should have length a multiple of this for optimal speed
unsigned int DigestSize () const
 size of the hash returned by Final()

Static Public Member Functions

static size_t __cdecl StaticGetValidKeyLength (size_t n)

Static Public Attributes

static const int MIN_KEYLENGTH
static const int MAX_KEYLENGTH
static const int DEFAULT_KEYLENGTH
static const int KEYLENGTH_MULTIPLE
static const int IV_REQUIREMENT
static const int IV_LENGTH

Protected Member Functions

virtual HashTransformationAccessHash ()=0
byte * AccessIpad ()
byte * AccessOpad ()
byte * AccessInnerHash ()


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