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