auth_alg.c File Reference

#include "../../md5.h"
#include "auth_alg.h"

Include dependency graph for auth_alg.c:

Go to the source code of this file.

Functions

static void cvt_hex (HASH bin, HASHHEX hex)
void uac_calc_HA1 (struct uac_credential *crd, struct authenticate_body *auth, str *cnonce, HASHHEX sess_key)
void uac_calc_HA2 (str *method, str *uri, struct authenticate_body *auth, HASHHEX hentity, HASHHEX HA2Hex)
void uac_calc_response (HASHHEX ha1, HASHHEX ha2, struct authenticate_body *auth, str *nc, str *cnonce, HASHHEX response)


Function Documentation

static void cvt_hex ( HASH  bin,
HASHHEX  hex 
) [inline, static]

Definition at line 33 of file auth_alg.c.

References HASHHEXLEN, and HASHLEN.

void uac_calc_HA1 ( struct uac_credential crd,
struct authenticate_body auth,
str cnonce,
HASHHEX  sess_key 
)

void uac_calc_HA2 ( str method,
str uri,
struct authenticate_body auth,
HASHHEX  hentity,
HASHHEX  HA2Hex 
)

void uac_calc_response ( HASHHEX  ha1,
HASHHEX  ha2,
struct authenticate_body auth,
str nc,
str cnonce,
HASHHEX  response 
)


Generated on Thu May 17 12:00:34 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6