fwcutter/make: Avoid _DEFAULT_SOURCE warning
[b43-tools.git] / 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         union _u {
10                 unsigned char in[64];
11                 uint32_t in_u32[16];
12         } u;
13 };
14
15 void MD5Init(struct MD5Context *ctx);
16 void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len);
17 void MD5Final(unsigned char *digest, struct MD5Context *ctx);
18
19 #endif /* FWCUTTER_MD5_H_ */