rfc2617.c File Reference
#include "squid.h"
#include <string.h>
#include "md5.h"
#include "rfc2617.h"
Include dependency graph for rfc2617.c:

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

void CvtBin ( const HASHHEX  Hex,
HASH  Bin 
)

Definition at line 49 of file rfc2617.c.

References HASHHEXLEN, HASHLEN, and i.

void CvtHex ( const HASH  Bin,
HASHHEX  Hex 
)

Definition at line 28 of file rfc2617.c.

References HASHHEXLEN, HASHLEN, and i.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

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().

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().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors