source: trunk/third/ssh/md5.h @ 10564

Revision 10564, 527 bytes checked in by danw, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10563, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef MD5_H
2#define MD5_H
3
4typedef word32 uint32;
5
6struct MD5Context {
7        uint32 buf[4];
8        uint32 bits[2];
9        unsigned char in[64];
10};
11
12void MD5Init(struct MD5Context *context);
13void MD5Update(struct MD5Context *context, unsigned char const *buf,
14               unsigned len);
15void MD5Final(unsigned char digest[16], struct MD5Context *context);
16void MD5Transform(uint32 buf[4], const unsigned char in[64]);
17
18/*
19 * This is needed to make RSAREF happy on some MS-DOS compilers.
20 */
21typedef struct MD5Context MD5_CTX;
22
23#endif /* !MD5_H */
Note: See TracBrowser for help on using the repository browser.