]> mj.ucw.cz Git - libucw.git/blob - lib/md5.h
lizzard -> lizard
[libucw.git] / lib / md5.h
1 #ifndef MD5_H
2 #define MD5_H
3
4 typedef u32 uint32;
5
6 struct MD5Context {
7         uint32 buf[4];
8         uint32 bits[2];
9         unsigned char in[64];
10 };
11
12 void MD5Init(struct MD5Context *context);
13 void MD5Update(struct MD5Context *context, unsigned char const *buf,
14                unsigned len);
15 void MD5Final(unsigned char digest[16], struct MD5Context *context);
16 void MD5Transform(uint32 buf[4], uint32 const in[16]);
17
18 #endif /* !MD5_H */