openModeller
Version 1.5.0
|
Go to the source code of this file.
Macros | |
#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)]) |
Functions | |
static void * | body (MD5_CTX *ctx, void *data, unsigned long size) |
void | MD5_Init (MD5_CTX *ctx) |
void | MD5_Update (MD5_CTX *ctx, void *data, unsigned long size) |
void | MD5_Final (unsigned char *result, MD5_CTX *ctx) |
#define F | ( | x, | |
y, | |||
z | |||
) | ((z) ^ ((x) & ((y) ^ (z)))) |
#define G | ( | x, | |
y, | |||
z | |||
) | ((y) ^ ((z) & ((x) ^ (y)))) |
#define I | ( | x, | |
y, | |||
z | |||
) | ((y) ^ ((x) | ~(z))) |
#define SET | ( | n | ) |
Definition at line 78 of file md5.c.
Referenced by body().
#define STEP | ( | f, | |
a, | |||
b, | |||
c, | |||
d, | |||
x, | |||
t, | |||
s | |||
) |
|
static |
Definition at line 92 of file md5.c.
References MD5_CTX::a, MD5_CTX::b, MD5_CTX::c, MD5_CTX::d, F, G, GET, H, I, SET, and STEP.
Referenced by MD5_Final(), and MD5_Update().
void MD5_Final | ( | unsigned char * | result, |
MD5_CTX * | ctx | ||
) |
Definition at line 244 of file md5.c.
References MD5_CTX::a, MD5_CTX::b, body(), MD5_CTX::buffer, MD5_CTX::c, MD5_CTX::d, MD5_CTX::hi, and MD5_CTX::lo.
Referenced by CacheManager::getContentIdMd5().
void MD5_Init | ( | MD5_CTX * | ctx | ) |
Definition at line 199 of file md5.c.
References MD5_CTX::a, MD5_CTX::b, MD5_CTX::c, MD5_CTX::d, MD5_CTX::hi, and MD5_CTX::lo.
Referenced by CacheManager::getContentIdMd5().
void MD5_Update | ( | MD5_CTX * | ctx, |
void * | data, | ||
unsigned long | size | ||
) |
Definition at line 210 of file md5.c.
References body(), MD5_CTX::buffer, MD5_CTX::hi, and MD5_CTX::lo.
Referenced by CacheManager::getContentIdMd5().