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