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

CMD4 Class Reference

#include <MD4.h>

List of all members.

Public Member Functions

 CMD4 ()
virtual ~CMD4 ()
void Reset ()
void Add (LPCVOID pData, DWORD nLength)
void Finish ()
void GetHash (MD4 *pHash)

Protected Attributes

DWORD m_nState [4]
DWORD m_nCount [2]
BYTE m_pBuffer [64]


Constructor & Destructor Documentation

CMD4::CMD4  ) 
 

Definition at line 32 of file MD4.cpp.

References Reset().

CMD4::~CMD4  )  [virtual]
 

Definition at line 37 of file MD4.cpp.


Member Function Documentation

void CMD4::Add LPCVOID  pData,
DWORD  nLength
 

Definition at line 71 of file MD4.cpp.

References MD4_Add_p5().

Referenced by CED2K::AddToFile(), CED2K::AddToTest(), CED2K::CheckIntegrity(), CED2K::FinishFile(), and CED2K::FromBytes().

void CMD4::Finish  ) 
 

Definition at line 79 of file MD4.cpp.

References m_nCount, MD4_Add_p5(), and MD4_PADDING.

Referenced by CED2K::AddToFile(), CED2K::CheckIntegrity(), CED2K::FinishBlockTest(), CED2K::FinishFile(), and CED2K::FromBytes().

void CMD4::GetHash MD4 pHash  ) 
 

Definition at line 63 of file MD4.cpp.

References MD4::b, and m_nState.

Referenced by CED2K::AddToFile(), CED2K::CheckIntegrity(), CED2K::FinishBlockTest(), CED2K::FinishFile(), and CED2K::FromBytes().

void CMD4::Reset  ) 
 

Definition at line 51 of file MD4.cpp.

References m_nCount, and m_nState.

Referenced by CED2K::AddToFile(), CED2K::BeginBlockTest(), CED2K::BeginFile(), CMD4(), and CED2K::FinishFile().


Member Data Documentation

DWORD CMD4::m_nCount[2] [protected]
 

Definition at line 39 of file MD4.h.

Referenced by Finish(), and Reset().

DWORD CMD4::m_nState[4] [protected]
 

Definition at line 38 of file MD4.h.

Referenced by GetHash(), and Reset().

BYTE CMD4::m_pBuffer[64] [protected]
 

Definition at line 40 of file MD4.h.


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:09 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2