Go to the source code of this file.
#define md5byte unsigned char |
Definition at line 32 of file md5.h.
void MD5Buffer |
( |
const unsigned char * |
buf, |
|
|
unsigned int |
len, |
|
|
unsigned char |
sig[16] |
|
) |
| |
Definition at line 275 of file md5.c.
void MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len)
void MD5Init(struct MD5Context *ctx)
void MD5Final(md5byte digest[16], struct MD5Context *ctx)
void MD5Final |
( |
unsigned char |
digest[16], |
|
|
struct MD5Context * |
context |
|
) |
| |
Definition at line 81 of file md5.c.
85 ctx->buf[0] = 0x67452301;
86 ctx->buf[1] = 0xefcdab89;
87 ctx->buf[2] = 0x98badcfe;
88 ctx->buf[3] = 0x10325476;
static void detectEndianess()
void MD5SigToString |
( |
unsigned char |
sig[16], |
|
|
char * |
str, |
|
|
int |
len |
|
) |
| |
Definition at line 285 of file md5.c.
287 unsigned char *sig_p;
289 unsigned int high, low;
294 for (sig_p = (
unsigned char *)signature;
295 sig_p < (
unsigned char *)signature + 16;
301 if (str_p + 1 >= max_p) {
Definition at line 99 of file md5.c.
106 if ((ctx->bytes[0] = t + len) < t)
111 memcpy((
md5byte *)ctx->in + 64 - t,
buf, len);
123 memcpy(ctx->in,
buf, 64);
131 memcpy(ctx->in,
buf, len);
void MD5Transform(UWORD32 buf[4], UWORD32 const in[16])
static void byteSwap(UWORD32 *buf, unsigned words)