OpenVPN
Functions
httpdigest.c File Reference
#include "syshead.h"
#include "crypto.h"
#include "httpdigest.h"
Include dependency graph for httpdigest.c:

Go to the source code of this file.

Functions

static void CvtHex (IN HASH Bin, OUT HASHHEX Hex)
 
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 Response)
 

Function Documentation

◆ CvtHex()

static void CvtHex ( IN HASH  Bin,
OUT HASHHEX  Hex 
)
static

Definition at line 38 of file httpdigest.c.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

◆ DigestCalcHA1()

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

◆ DigestCalcResponse()

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  Response 
)