1 #ifndef _MD5_H
2 #define _MD5_H
3 
4 struct md5_context {
5 	uint32 total[2];
6 	uint32 state[4];
7 	uint8 buffer[64];
8 };
9 
10 void md5_starts(struct md5_context *ctx);
11 void md5_update(struct md5_context *ctx, uint8 *input, uint32 length);
12 void md5_finish(struct md5_context *ctx, uint8 digest[16]);
13 
14 /* Uses a static buffer, so beware of how it's used. */
15 char *md5_asciistr(uint8 digest[16]);
16 
17 #endif	/* md5.h */
18