blob: 314087e63892c6b1060581819c6b1d8f2ed62791 (
plain)
1 #ifndef _MD5_H
2 #define _MD5_H
3
4 #define uint8 unsigned char
5 #define uint32 unsigned long int
6
7 struct md5_context
8 {
9 uint32 total[2];
10 uint32 state[4];
11 uint8 buffer[64];
12 };
13
14 void md5_starts( struct md5_context *ctx );
15 void md5_update( struct md5_context *ctx, uint8 *input, uint32 length );
16 void md5_finish( struct md5_context *ctx, uint8 digest[16] );
17
18 #endif /* md5.h */
|