compiler.h: disable __STRICT_ANSI__ for djgpp
[nasm.git] / md5.h
blob147d3dd94e5123983c07d36e4ba55a8e327a899b
1 #ifndef _MD5_H_
2 #define _MD5_H_
4 #include <stdint.h>
6 #define MD5_HASHBYTES 16
8 typedef struct MD5Context {
9 uint32_t buf[4];
10 uint32_t bits[2];
11 unsigned char in[64];
12 } MD5_CTX;
14 extern void MD5Init(MD5_CTX *context);
15 extern void MD5Update(MD5_CTX *context, unsigned char const *buf,
16 unsigned len);
17 extern void MD5Final(unsigned char digest[MD5_HASHBYTES], MD5_CTX *context);
18 extern void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
19 extern char * MD5End(MD5_CTX *, char *);
20 extern char * MD5File(const char *, char *);
21 extern char * MD5Data (const unsigned char *, unsigned int, char *);
23 #endif /* !_MD5_H_ */