Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

md5.cpp File Reference

#include "wx/wxprec.h"
#include "wx/md5.h"
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Defines

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
#define F2(x, y, z)   F1(z, x, y)
#define F3(x, y, z)   (x ^ y ^ z)
#define F4(x, y, z)   (y ^ (x | ~z))
#define MD5STEP(f, w, x, y, z, data, s)   ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
#define byteReverse(buf, len)

Functions

char * MD5End (MD5_CTX *ctx, char *buf)
void MD5Final (unsigned char digest[16], MD5_CTX *ctx)
void MD5Init (MD5_CTX *ctx)
void MD5Update (MD5_CTX *ctx, unsigned char const *buf, unsigned len)
void MD5Transform (unsigned int buf[4], unsigned int const in[16])

Define Documentation

#define byteReverse buf,
len   ) 
 

#define F1 x,
y,
 )     (z ^ (x & (y ^ z)))
 

#define F2 x,
y,
 )     F1(z, x, y)
 

#define F3 x,
y,
 )     (x ^ y ^ z)
 

#define F4 x,
y,
 )     (y ^ (x | ~z))
 

#define MD5STEP f,
w,
x,
y,
z,
data,
 )     ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
 


Function Documentation

char* MD5End MD5_CTX ctx,
char *  buf
 

void MD5Final unsigned char  digest[16],
MD5_CTX ctx
 

void MD5Init MD5_CTX ctx  ) 
 

void MD5Transform unsigned int  buf[4],
unsigned int const   in[16]
 

void MD5Update MD5_CTX ctx,
unsigned char const *  buf,
unsigned  len
 


Generated on Sat Nov 12 20:09:00 2005 for WebUpdate by  doxygen 1.4.4