author | Ryan C. Gordon <icculus@icculus.org> |
Mon, 23 Dec 2013 20:44:04 -0500 | |
changeset 14 | f359fb8eec3c |
parent 0 | d7ee4e2ed49d |
permissions | -rw-r--r-- |
0 | 1 |
#ifndef _INCL_MD5_H_ |
2 |
#define _INCL_MD5_H_ |
|
3 |
||
4 |
#include <stdint.h> |
|
5 |
||
6 |
typedef struct MD5_CTX |
|
7 |
{ |
|
8 |
uint32_t count[2]; |
|
9 |
uint32_t abcd[4]; |
|
10 |
uint8_t buf[64]; |
|
11 |
} MD5_CTX; |
|
12 |
||
13 |
void MD5_init(MD5_CTX *pms); |
|
14 |
void MD5_append(MD5_CTX *pms, const uint8_t *data, int nbytes); |
|
15 |
void MD5_finish(MD5_CTX *pms, uint8_t digest[16]); |
|
16 |
||
17 |
#endif |
|
18 |
||
19 |
// end of md5.h ... |