]> git.gag.com Git - debian/atlc/blob - tools/src/md5.h
Imported Debian patch 4.6.0-1
[debian/atlc] / tools / src / md5.h
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 */
19