md5digest.h File Reference

Go to the source code of this file.

Classes

struct  MD5Context

Typedefs

typedef char HASH [HASHLEN]
typedef char HASHHEX [HASHHEXLEN+1]

Functions

void DigestCalcHA1 (IN char *pszAlg, IN char *pszUserName, IN char *pszRealm, IN char *pszPassword, IN char *pszNonce, IN char *pszCNonce, OUT HASHHEX SessionKey)
void DigestCalcResponse (IN HASHHEX HA1, IN char *pszNonce, IN char *pszNonceCount, IN char *pszCNonce, IN char *pszQop, IN char *pszMethod, IN char *pszDigestUri, IN HASHHEX HEntity, OUT HASHHEX HA2Hex, OUT HASHHEX Response)
void CvtHex (IN HASH Bin, OUT HASHHEX Hex)
void MD5Init (struct MD5Context *context)
void MD5Update (struct MD5Context *context, md5byte const *buf, unsigned len)
void MD5Final (unsigned char digest[16], struct MD5Context *context)
void MD5Transform (unsigned int buf[4], unsigned int const in[16])


Typedef Documentation

typedef char HASH[HASHLEN]

Definition at line 27 of file md5digest.h.

typedef char HASHHEX[HASHHEXLEN+1]

Definition at line 29 of file md5digest.h.


Function Documentation

void DigestCalcHA1 ( IN char *  pszAlg,
IN char *  pszUserName,
IN char *  pszRealm,
IN char *  pszPassword,
IN char *  pszNonce,
IN char *  pszCNonce,
OUT HASHHEX  SessionKey 
)

Definition at line 69 of file md5digest.cpp.

Referenced by SipMsg::addAuthorization().

void DigestCalcResponse ( IN HASHHEX  HA1,
IN char *  pszNonce,
IN char *  pszNonceCount,
IN char *  pszCNonce,
IN char *  pszQop,
IN char *  pszMethod,
IN char *  pszDigestUri,
IN HASHHEX  HEntity,
OUT HASHHEX  HA2Hex,
OUT HASHHEX  Response 
)

Definition at line 103 of file md5digest.cpp.

Referenced by SipMsg::addAuthorization().

void CvtHex ( IN HASH  Bin,
OUT HASHHEX  Hex 
)

Definition at line 44 of file md5digest.cpp.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

void MD5Init ( struct MD5Context context  ) 

Definition at line 160 of file md5digest.cpp.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

void MD5Update ( struct MD5Context context,
md5byte const *  buf,
unsigned  len 
)

Definition at line 176 of file md5digest.cpp.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

void MD5Final ( unsigned char  digest[16],
struct MD5Context context 
)

void MD5Transform ( unsigned int  buf[4],
unsigned int const   in[16] 
)

Definition at line 269 of file md5digest.cpp.


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5