|
GNU libmicrohttpd
0.9.72
|


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 | MHD_MD5Init (void *ctx_) |
| void | MHD_MD5Update (void *ctx_, const uint8_t *input, size_t len) |
| void | MHD_MD5Final (void *ctx_, uint8_t digest[MD5_DIGEST_SIZE]) |
| #define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_SIZE * 2 + 1) |
| void MHD_MD5Final | ( | void * | ctx_, |
| uint8_t | digest[MD5_DIGEST_SIZE] | ||
| ) |
Final wrapup–call MD5Pad, fill in digest and zero out ctx.
| ctx_ | must be a struct MD5Context * |
Final wrapup, fill in digest and zero out ctx.
| ctx | must be a struct MD5Context * |
Definition at line 61 of file md5.c.
References _MHD_PUT_32BIT_LE, _MHD_PUT_64BIT_LE, MD5Context::buffer, MD5Context::count, MD5_BLOCK_SIZE, MD5Transform(), mhd_assert, NULL, and MD5Context::state.

| void MHD_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 37 of file md5.c.
References MD5Context::count, mhd_assert, NULL, and MD5Context::state.
| void MHD_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 230 of file md5.c.
References MD5Context::buffer, MD5Context::count, MD5_BLOCK_SIZE, MD5Transform(), mhd_assert, NULL, and MD5Context::state.
