add bcm43xx
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / bcm43xx-dscape / fwcutter / md5.h
1 #ifndef FWCUTTER_MD5_H_
2 #define FWCUTTER_MD5_H_
3
4 #include <stdint.h>
5
6 struct MD5Context {
7 uint32_t buf[4];
8 uint32_t bits[2];
9 unsigned char in[64];
10 };
11
12 void MD5Init(struct MD5Context *ctx);
13 void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len);
14 void MD5Final(unsigned char *digest, struct MD5Context *ctx);
15
16 #endif /* FWCUTTER_MD5_H_ */