Process Hacker
md5.c File Reference
#include <phbase.h>
#include <md5.h>

Go to the source code of this file.

Macros

#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 = _rotl(w, s), w += x )
 

Functions

void MD5Transform (ULONG buf[4], ULONG in[16])
 
VOID MD5Init (_Out_ MD5_CTX *Context)
 
VOID MD5Update (_Inout_ MD5_CTX *Context, _In_reads_bytes_(Length) UCHAR *Input, _In_ ULONG Length)
 
VOID MD5Final (_Inout_ MD5_CTX *Context)
 

Macro Definition Documentation

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

Definition at line 130 of file md5.c.

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

Definition at line 131 of file md5.c.

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

Definition at line 132 of file md5.c.

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

Definition at line 133 of file md5.c.

#define MD5STEP (   f,
  w,
  x,
  y,
  z,
  data,
 
)    ( w += f(x, y, z) + data, w = _rotl(w, s), w += x )

Definition at line 136 of file md5.c.

Function Documentation

VOID MD5Final ( _Inout_ MD5_CTX Context)

Definition at line 88 of file md5.c.

VOID MD5Init ( _Out_ MD5_CTX Context)

Definition at line 21 of file md5.c.

void MD5Transform ( ULONG  buf[4],
ULONG  in[16] 
)

Definition at line 144 of file md5.c.

VOID MD5Update ( _Inout_ MD5_CTX Context,
_In_reads_bytes_(Length) UCHAR *  Input,
_In_ ULONG  Length 
)

Definition at line 38 of file md5.c.