]>
Commit | Line | Data |
---|---|---|
18c8241a MM |
1 | #ifndef MD5_H |
2 | #define MD5_H | |
3 | ||
4 | struct MD5Context { | |
5 | u32 buf[4]; | |
6 | u32 bits[2]; | |
7 | unsigned char in[64]; | |
8 | }; | |
9 | ||
10 | void MD5Init(struct MD5Context *context); | |
11 | void MD5Update(struct MD5Context *context, unsigned char const *buf, | |
12 | unsigned len); | |
13 | void MD5Final(unsigned char digest[16], struct MD5Context *context); | |
14 | void MD5Transform(u32 buf[4], u32 const in[16]); | |
15 | ||
16 | #endif /* !MD5_H */ |