outelf: add panic() for unknown output types
[nasm.git] / include / md5.h
blobcb779105e97447b23aa10eec024505f4b9e63837
1 #ifndef MD5_H
2 #define MD5_H
4 #include "compiler.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 *);
21 #endif /* !MD5_H */