equal
deleted
inserted
replaced
77 |
77 |
78 /* Initialize the algorithm. */ |
78 /* Initialize the algorithm. */ |
79 void md5_init(md5_state_t *pms); |
79 void md5_init(md5_state_t *pms); |
80 |
80 |
81 /* Append a string to the message. */ |
81 /* Append a string to the message. */ |
82 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); |
82 void md5_append(md5_state_t *pms, const void *data, int nbytes); |
83 |
83 |
84 /* Finish the message and return the digest. */ |
84 /* Finish the message and return the digest. */ |
85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); |
85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); |
86 |
86 |
87 #ifdef __cplusplus |
87 #ifdef __cplusplus |