]> git.ipfire.org Git - thirdparty/bird.git/blame - lib/md5.h
Some minor fixes.
[thirdparty/bird.git] / lib / md5.h
CommitLineData
18c8241a
MM
1#ifndef MD5_H
2#define MD5_H
3
4struct MD5Context {
5 u32 buf[4];
6 u32 bits[2];
7 unsigned char in[64];
8};
9
10void MD5Init(struct MD5Context *context);
11void MD5Update(struct MD5Context *context, unsigned char const *buf,
12 unsigned len);
13void MD5Final(unsigned char digest[16], struct MD5Context *context);
14void MD5Transform(u32 buf[4], u32 const in[16]);
15
16#endif /* !MD5_H */