GNU libmicrohttpd
0.9.29
|
#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 (struct MD5Context *ctx) |
void | MD5Update (struct MD5Context *ctx, const unsigned char *input, size_t len) |
void | MD5Pad (struct MD5Context *ctx) |
void | MD5Final (unsigned char digest[MD5_DIGEST_SIZE], struct MD5Context *ctx) |
void | MD5Transform (uint32_t state[4], const uint8_t block[MD5_BLOCK_SIZE]) |
#define MD5_BLOCK_SIZE 64 |
Definition at line 23 of file md5.h.
Referenced by MD5Pad(), and MD5Update().
#define MD5_DIGEST_SIZE 16 |
Definition at line 24 of file md5.h.
Referenced by calculate_nonce(), digest_calc_ha1(), and digest_calc_response().
#define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_SIZE * 2 + 1) |
void MD5Final | ( | unsigned char | digest[MD5_DIGEST_SIZE], |
struct MD5Context * | ctx | ||
) |
Definition at line 135 of file md5.c.
References MD5Pad(), PUT_32BIT_LE, and MD5Context::state.
Referenced by calculate_nonce(), digest_calc_ha1(), and digest_calc_response().
void MD5Init | ( | struct MD5Context * | ctx | ) |
Definition at line 50 of file md5.c.
References MD5Context::count, and MD5Context::state.
Referenced by calculate_nonce(), digest_calc_ha1(), and digest_calc_response().
void MD5Pad | ( | struct MD5Context * | ctx | ) |
Definition at line 111 of file md5.c.
References MD5Context::count, MD5_BLOCK_SIZE, MD5Update(), PADDING, and PUT_64BIT_LE.
Referenced by MD5Final().
void MD5Transform | ( | uint32_t | state[4], |
const uint8_t | block[MD5_BLOCK_SIZE] | ||
) |
void MD5Update | ( | struct MD5Context * | ctx, |
const unsigned char * | input, | ||
size_t | len | ||
) |
Definition at line 67 of file md5.c.
References MD5Context::buffer, MD5Context::count, MD5_BLOCK_SIZE, MD5Transform(), and MD5Context::state.
Referenced by calculate_nonce(), digest_calc_ha1(), digest_calc_response(), and MD5Pad().