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

MD5MAC Class Reference

MD5-MAC. More...

#include <md5mac.h>

Inheritance diagram for MD5MAC:

IteratedHash MessageAuthenticationCode FixedKeyLength IteratedHashBase HashModule HashModule List of all members.

Public Types

enum  { DIGESTSIZE = 16 }

Public Methods

 MD5MAC (const byte *userKey)
void Final (byte *mac)

Protected Methods

void vTransform (const word32 *data)
void Init ()

Protected Attributes

SecBlock<word32> key

Static Protected Methods

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

Static Protected Attributes

const word32 T [12]

Detailed Description

MD5-MAC.

Definition at line 9 of file md5mac.h.


Member Enumeration Documentation

anonymous enum
 

Definition at line 12 of file md5mac.h.


Constructor & Destructor Documentation

MD5MAC::MD5MAC ( const byte * userKey )
 

Definition at line 14 of file md5mac.cpp.


Member Function Documentation

void MD5MAC::Final ( byte * hash ) [virtual]
 

Reimplemented from IteratedHash.

Definition at line 51 of file md5mac.cpp.

void MD5MAC::Init ( ) [protected, virtual]
 

Reimplemented from IteratedHashBase.

Definition at line 43 of file md5mac.cpp.

void MD5MAC::Transform ( word32 * digest,
const word32 * in,
const word32 * key ) [static, protected]
 

Definition at line 74 of file md5mac.cpp.

void MD5MAC::vTransform ( const word32 * data ) [inline, protected]
 

Definition at line 18 of file md5mac.h.


Member Data Documentation

const word32 MD5MAC::T[12] [static, protected]
 

Initializer:

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

Definition at line 21 of file md5mac.h.

SecBlock< word32 > MD5MAC::key [protected]
 

Definition at line 22 of file md5mac.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:54 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000