ReactOS 0.4.15-dev-7953-g1f49173
md5.h File Reference

Go to the source code of this file.

Classes

struct  MD5_CTX
 

Functions

void MD5Init (MD5_CTX *mdContext)
 
void MD5Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen)
 
void MD5Final (unsigned char hash[], MD5_CTX *mdContext)
 

Function Documentation

◆ MD5Final()

void MD5Final ( unsigned char  hash[],
MD5_CTX mdContext 
)

◆ MD5Init()

void MD5Init ( MD5_CTX mdContext)

Definition at line 45 of file md5.c.

46{
47 ctx->buf[0] = 0x67452301;
48 ctx->buf[1] = 0xefcdab89;
49 ctx->buf[2] = 0x98badcfe;
50 ctx->buf[3] = 0x10325476;
51
52 ctx->i[0] = ctx->i[1] = 0;
53}

◆ MD5Update()

void MD5Update ( MD5_CTX mdContext,
unsigned char inBuf,
unsigned int  inLen 
)