ICP  1
Classes | Typedefs | Functions
md5.h File Reference
#include "config.h"

Go to the source code of this file.

Classes

struct  MD5Context
 

Typedefs

typedef struct MD5Context MD5_CTX
 

Functions

void MD5Init (struct MD5Context *context, int brokenEndian)
 
void MD5Update (struct MD5Context *context, unsigned char const *buf, unsigned len)
 
void MD5Final (unsigned char digest[16], struct MD5Context *context)
 
void MD5Transform (uint32 buf[4], uint32 const in[16])
 
int mdfile (char *fn, unsigned char *digest)
 
int mdbinfile (char *fn, unsigned char *bindigest)
 
int mdfileBroken (char *fn, unsigned char *digest)
 
int mdbinfileBroken (char *fn, unsigned char *bindigest)
 

Typedef Documentation

typedef struct MD5Context MD5_CTX

Definition at line 44 of file md5.h.

Function Documentation

void MD5Final ( unsigned char  digest[16],
struct MD5Context context 
)
void MD5Init ( struct MD5Context context,
int  brokenEndian 
)

Definition at line 53 of file md5.cpp.

References MD5Context::bits, MD5Context::buf, and MD5Context::doByteReverse.

Referenced by md5sumString().

void MD5Transform ( uint32  buf[4],
uint32 const  in[16] 
)

Definition at line 190 of file md5.cpp.

References F1, F2, F3, F4, and MD5STEP.

Referenced by MD5Final(), and MD5Update().

void MD5Update ( struct MD5Context context,
unsigned char const *  buf,
unsigned  len 
)
int mdbinfile ( char *  fn,
unsigned char *  bindigest 
)
int mdbinfileBroken ( char *  fn,
unsigned char *  bindigest 
)
int mdfile ( char *  fn,
unsigned char *  digest 
)
int mdfileBroken ( char *  fn,
unsigned char *  digest 
)