Dillo v3.1.1-119-g140d9ebd
|
Go to the source code of this file.
Classes | |
struct | md5_state_s |
Define the state of the MD5 Algorithm. More... | |
Typedefs | |
typedef unsigned char | md5_byte_t |
typedef unsigned int | md5_word_t |
typedef struct md5_state_s | md5_state_t |
Define the state of the MD5 Algorithm. | |
Functions | |
void | md5_init (md5_state_t *pms) |
Initialize the algorithm. | |
void | md5_append (md5_state_t *pms, const md5_byte_t *data, int nbytes) |
Append a string to the message. | |
void | md5_finish (md5_state_t *pms, md5_byte_t digest[16]) |
Finish the message and return the digest. | |
typedef unsigned char md5_byte_t |
typedef struct md5_state_s md5_state_t |
Define the state of the MD5 Algorithm.
typedef unsigned int md5_word_t |
void md5_append | ( | md5_state_t * | pms, |
const md5_byte_t * | data, | ||
int | nbytes | ||
) |
Append a string to the message.
Definition at line 334 of file md5.c.
References md5_state_s::buf, md5_state_s::count, and md5_process().
Referenced by md5_finish(), and md5hexdigest().
void md5_finish | ( | md5_state_t * | pms, |
md5_byte_t | digest[16] | ||
) |
Finish the message and return the digest.
Definition at line 372 of file md5.c.
References md5_state_s::abcd, md5_state_s::count, and md5_append().
Referenced by md5hexdigest().
void md5_init | ( | md5_state_t * | pms | ) |
Initialize the algorithm.
Definition at line 324 of file md5.c.
References md5_state_s::abcd, md5_state_s::count, and T_MASK.
Referenced by md5hexdigest().