HMAC_Base Class Reference

#include <hmac.h>

Inheritance diagram for HMAC_Base:

VariableKeyLength< 16, 0, UINT_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 Types

enum  
enum  

Public Member Functions

 HMAC_Base ()
void UncheckedSetKey (const byte *userKey, unsigned int keylength)
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)

Protected Member Functions

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


The documentation for this class was generated from the following files:
Generated on Thu Nov 23 16:17:05 2006 for Crypto++ by  doxygen 1.5.1-p1