Debian Codegraph @

3rdparty/iaxclient/lib/libiax2/src/md5.h

raw symbols SCIP
1 #ifndef MD5_H
2 #define MD5_H
3
4 #ifndef _MSC_VER
5 #include <inttypes.h>
6 #else
7 typedef unsigned int uint32_t;
8 typedef unsigned char uint8_t;
9 #endif
10
11 struct MD5Context {
12 uint32_t buf[4];
13 uint32_t bits[2];
14 uint8_t in[64];
15 };
16
17 void MD5Init(struct MD5Context *context);
18 void MD5Update(struct MD5Context *context, uint8_t const *buf, unsigned int len);
19 void MD5Final(uint8_t digest[16], struct MD5Context *context);
20 void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
21
22 /*
23 * This is needed to make RSAREF happy on some MS-DOS compilers.
24 */
25 typedef struct MD5Context MD5_CTX;
26
27 #endif /* !MD5_H */