Go to the source code of this file.
Functions | |
void | CvtHex (const HASH Bin, HASHHEX Hex) |
void | CvtBin (const HASHHEX Hex, HASH Bin) |
void | DigestCalcHA1 (const char *pszAlg, const char *pszUserName, const char *pszRealm, const char *pszPassword, const char *pszNonce, const char *pszCNonce, HASH HA1, HASHHEX SessionKey) |
void | DigestCalcResponse (const HASHHEX HA1, const char *pszNonce, const char *pszNonceCount, const char *pszCNonce, const char *pszQop, const char *pszMethod, const char *pszDigestUri, const HASHHEX HEntity, HASHHEX Response) |
Function Documentation
◆ CvtBin()
Definition at line 49 of file rfc2617.c.
References HASHHEXLEN, and HASHLEN.
◆ CvtHex()
Definition at line 28 of file rfc2617.c.
References HASHHEXLEN, and HASHLEN.
Referenced by authDigestNonceEncode(), DigestCalcHA1(), and DigestCalcResponse().
◆ DigestCalcHA1()
void DigestCalcHA1 | ( | const char * | pszAlg, |
const char * | pszUserName, | ||
const char * | pszRealm, | ||
const char * | pszPassword, | ||
const char * | pszNonce, | ||
const char * | pszCNonce, | ||
HASH | HA1, | ||
HASHHEX | SessionKey | ||
) |
Definition at line 88 of file rfc2617.c.
References CvtHex(), HASHHEXLEN, SquidMD5Final(), SquidMD5Init(), and SquidMD5Update().
Referenced by LDAPHHA1(), and TextHHA1().
◆ DigestCalcResponse()
void DigestCalcResponse | ( | const HASHHEX | HA1, |
const char * | pszNonce, | ||
const char * | pszNonceCount, | ||
const char * | pszCNonce, | ||
const char * | pszQop, | ||
const char * | pszMethod, | ||
const char * | pszDigestUri, | ||
const HASHHEX | HEntity, | ||
HASHHEX | Response | ||
) |
Definition at line 126 of file rfc2617.c.
References CvtHex(), HASHHEXLEN, SquidMD5Final(), SquidMD5Init(), and SquidMD5Update().