add .gbp.conf for gbp service
[tools/isomd5sum.git] / md5.h
1
2 #ifndef MD5_H
3 #define MD5_H
4
5 #include <sys/types.h>
6
7 typedef u_int32_t uint32;
8
9 struct MD5Context {
10         uint32 buf[4];
11         uint32 bits[2];
12         unsigned char in[64];
13         int doByteReverse;
14 };
15
16 void MD5_Init(struct MD5Context *);
17 void MD5_Update(struct MD5Context *, unsigned const char *, unsigned);
18 void MD5_Final(unsigned char digest[16], struct MD5Context *);
19
20 /*
21  * This is needed to make RSAREF happy on some MS-DOS compilers.
22  */
23
24 typedef struct MD5Context MD5_CTX;
25
26 #endif                          /* MD5_H */