1 /* $FreeBSD: src/contrib/libpam/modules/pam_unix/md5.h,v 1.1.1.1.2.2 2001/06/11 15:28:30 markm Exp $ */
6 typedef unsigned int uint32;
14 void GoodMD5Init(struct MD5Context *);
15 void GoodMD5Update(struct MD5Context *, unsigned const char *, unsigned);
16 void GoodMD5Final(unsigned char digest[16], struct MD5Context *);
17 void GoodMD5Transform(uint32 buf[4], uint32 const in[16]);
18 void BrokenMD5Init(struct MD5Context *);
19 void BrokenMD5Update(struct MD5Context *, unsigned const char *, unsigned);
20 void BrokenMD5Final(unsigned char digest[16], struct MD5Context *);
21 void BrokenMD5Transform(uint32 buf[4], uint32 const in[16]);
23 char *Goodcrypt_md5(const char *pw, const char *salt);
24 char *Brokencrypt_md5(const char *pw, const char *salt);
27 * This is needed to make RSAREF happy on some MS-DOS compilers.
30 typedef struct MD5Context MD5_CTX;