auth_alg.h File Reference

#include "../../str.h"
#include "auth_hdr.h"
#include "auth.h"

Include dependency graph for auth_alg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define HASHHEXLEN   32
#define HASHLEN   16

Typedefs

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

Functions

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)


Define Documentation

#define HASHHEXLEN   32

Definition at line 42 of file auth_alg.h.

#define HASHLEN   16

Definition at line 38 of file auth_alg.h.


Typedef Documentation

typedef char HASH[HASHLEN]

Definition at line 39 of file auth_alg.h.

typedef char HASHHEX[HASHHEXLEN+1]

Definition at line 43 of file auth_alg.h.


Function Documentation

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