|
|
1.1.1.6 root 1: #ifndef MD5_H
2: #define MD5_H
3:
1.1.1.7 ! root 4: #ifdef __alpha
! 5: typedef unsigned int uint32;
! 6: #else
1.1.1.6 root 7: typedef unsigned long uint32;
1.1.1.7 ! root 8: #endif
1.1.1.6 root 9:
10: struct MD5Context {
11: uint32 buf[4];
12: uint32 bits[2];
13: unsigned char in[64];
14: };
15:
16: void MD5Init(struct MD5Context *context);
1.1.1.7 ! root 17: void MD5Update(struct MD5Context *context, unsigned char const *buf,
! 18: unsigned len);
1.1.1.6 root 19: void MD5Final(unsigned char digest[16], struct MD5Context *context);
20: void MD5Transform(uint32 buf[4], uint32 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 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.