outmacho: Fix relative relocations for 32-bit Mach-O (fix typo)
[nasm.git] / md5.h
blobfb6ac60782abae45e7fc9e75d33621f5b20285ae
1 #ifndef MD5_H
2 #define MD5_H
4 #include "compiler.h"
5 #include <inttypes.h>
7 #define MD5_HASHBYTES 16
9 typedef struct MD5Context {
10 uint32_t buf[4];
11 uint32_t bits[2];
12 unsigned char in[64];
13 } MD5_CTX;
15 extern void MD5Init(MD5_CTX *context);
16 extern void MD5Update(MD5_CTX *context, unsigned char const *buf,
17 unsigned len);
18 extern void MD5Final(unsigned char digest[MD5_HASHBYTES], MD5_CTX *context);
19 extern void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
20 extern char * MD5End(MD5_CTX *, char *);
22 #endif /* !MD5_H */