17 typedef struct MD5Context MD5_CTX;
19 char *crypt_make_salt(void);
20 void byteReverse(unsigned char*, unsigned);
21 void MD5Init(struct MD5Context *ctx);
22 void MD5Update(struct MD5Context*, char const*, unsigned);
23 void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
24 void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
25 char *libshadow_md5_crypt(const char*, const char*);
26 char *pw_encrypt(const char*, const char*);
29 char *make_ag_hash(time_t salt, const char *clear);
30 int check_ag_hash(time_t salt, const char *clear, const char *hash);