#include <string.h>
#include "md5.h"
Go to the source code of this file.
|
#define | F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) |
|
#define | G(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) |
|
#define | H(x, y, z) ((x) ^ (y) ^ (z)) |
|
#define | I(x, y, z) ((y) ^ ((x) | ~(z))) |
|
#define | STEP(f, a, b, c, d, x, t, s) |
|
#define | SET(n) |
|
#define | GET(n) (ctx->block[(n)]) |
|
#define F |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((z) ^ ((x) & ((y) ^ (z)))) |
Definition at line 51 of file md5.c.
#define G |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((y) ^ ((z) & ((x) ^ (y)))) |
Definition at line 52 of file md5.c.
#define GET |
( |
|
n) | |
(ctx->block[(n)]) |
Definition at line 84 of file md5.c.
#define H |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((x) ^ (y) ^ (z)) |
Definition at line 53 of file md5.c.
#define I |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((y) ^ ((x) | ~(z))) |
Definition at line 54 of file md5.c.
Value:
Definition at line 78 of file md5.c.
#define STEP |
( |
|
f, |
|
|
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
x, |
|
|
|
t, |
|
|
|
s |
|
) |
| |
Value:(a) += f((b), (c), (d)) + (x) + (t); \
(a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \
(a) += (b);
Definition at line 59 of file md5.c.
void MD5_Final |
( |
unsigned char * |
result, |
|
|
MD5_CTX * |
ctx |
|
) |
| |
void MD5_Update |
( |
MD5_CTX * |
ctx, |
|
|
void * |
data, |
|
|
unsigned long |
size |
|
) |
| |