GNU libmicrohttpd
0.9.63
|
#include "platform.h"
Go to the source code of this file.
Data Structures | |
struct | MD5Context |
Macros | |
#define | MD5_BLOCK_SIZE 64 |
#define | MD5_DIGEST_SIZE 16 |
#define | MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_SIZE * 2 + 1) |
Functions | |
void | MD5Init (void *ctx_) |
void | MD5Update (void *ctx_, const uint8_t *input, size_t len) |
void | MD5Final (void *ctx_, unsigned char digest[MD5_DIGEST_SIZE]) |
#define MD5_BLOCK_SIZE 64 |
Definition at line 23 of file md5.h.
Referenced by MD5Pad(), MD5Transform(), and MD5Update().
#define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_SIZE * 2 + 1) |
void MD5Final | ( | void * | ctx_, |
unsigned char | digest[MD5_DIGEST_SIZE] | ||
) |
Final wrapup–call MD5Pad, fill in digest and zero out ctx.
ctx_ | must be a struct MD5Context * |
Final wrapup–call MD5Pad, fill in digest and zero out ctx.
ctx | must be a struct MD5Context * |
Definition at line 99 of file md5.c.
References MD5Pad(), PUT_32BIT_LE, and MD5Context::state.
void MD5Init | ( | void * | ctx_ | ) |
Start MD5 accumulation. Set bit count to 0 and buffer to mysterious initialization constants.
ctx_ | must be a struct MD5Context * |
Start MD5 accumulation. Set bit count to 0 and buffer to mysterious initialization constants.
ctx | must be a struct MD5Context * |
Definition at line 53 of file md5.c.
References MD5Context::count, and MD5Context::state.
void MD5Update | ( | void * | ctx_, |
const uint8_t * | input, | ||
size_t | len | ||
) |
Update context to reflect the concatenation of another buffer full of bytes.
ctx_ | must be a struct MD5Context * |
Update context to reflect the concatenation of another buffer full of bytes.
Definition at line 237 of file md5.c.
References MD5Context::buffer, MD5Context::count, MD5_BLOCK_SIZE, MD5Transform(), and MD5Context::state.
Referenced by MD5Pad().