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

MD5MAC_Base Class Reference

#include <md5mac.h>

Inheritance diagram for MD5MAC_Base:

FixedKeyLength< 16 > IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > IteratedHashBase2< word32, LittleEndian, MessageAuthenticationCode > List of all members.

Detailed Description

Definition at line 13 of file md5mac.h.

Public Types

enum  { DIGESTSIZE = 16 }
typedef LittleEndian ByteOrderClass
typedef IteratedHashBase<
word32, MessageAuthenticationCode
>::HashWordType 
HashWordType

Public Member Functions

void UncheckedSetKey (const byte *userKey, unsigned int keylength)
void TruncatedFinal (byte *mac, unsigned int size)

Static Public Member Functions

std::string StaticAlgorithmName ()
unsigned int StaticGetValidKeyLength (unsigned int)
void CorrectEndianess (HashWordType *out, const HashWordType *in, unsigned int byteCount)

Protected Member Functions

void vTransform (const word32 *data)
void Init ()
unsigned int BlockSize () const
void HashBlock (const HashWordType *input)
virtual void vTransform (const HashWordType *data)=0

Static Protected Member Functions

void Transform (word32 *buf, const word32 *in, const word32 *key)

Protected Attributes

FixedSizeSecBlock< word32, 12 > m_key

Static Protected Attributes

const word32 T [12]


Member Data Documentation

const word32 MD5MAC_Base::T [static, protected]
 

Initial value:

        { 0xac45ef97,0xcd430f29,0x551b7e45,0x3411801c,
          0x96ce77b1,0x7c8e722e,0x0aab5a5f,0x18be4336,
          0x21b4219d,0x4db987bc,0xbd279da2,0xc3d75bc7 }

Definition at line 10 of file md5mac.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Mar 14 20:44:37 2004 for Crypto++ by doxygen 1.3.6-20040222