libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / rp-l2tp / md5.h
blobbb5a04175765f878a76c603b5fb0c9fcf0560a41
1 #ifndef MD5_H
2 #define MD5_H
3 /* LIC: GPL */
5 #ifdef __alpha
6 typedef unsigned int uint32;
7 #else
8 typedef unsigned long uint32;
9 #endif
11 struct MD5Context {
12 uint32 buf[4];
13 uint32 bits[2];
14 unsigned char in[64];
17 void MD5Init(struct MD5Context *context);
18 void MD5Update(struct MD5Context *context, unsigned char const *buf,
19 unsigned len);
20 void MD5Final(unsigned char digest[16], struct MD5Context *context);
21 void MD5Transform(uint32 buf[4], uint32 const in[16]);
24 * This is needed to make RSAREF happy on some MS-DOS compilers.
26 typedef struct MD5Context MD5_CTX;
28 #endif /* !MD5_H */