Classes | Functions
eap_server_aka.c File Reference
#include "includes.h"
#include "common.h"
#include "crypto/sha256.h"
#include "crypto/crypto.h"
#include "eap_common/eap_sim_common.h"
#include "eap_server/eap_i.h"
#include "eap_server/eap_sim_db.h"
Include dependency graph for eap_server_aka.c:

Go to the source code of this file.

Classes

struct  eap_aka_data

Functions

static void eap_aka_add_checkcode (struct eap_aka_data *data, struct eap_sim_msg *msg)
static int eap_aka_add_id_msg (struct eap_aka_data *data, const struct wpabuf *msg)
static struct wpabufeap_aka_build_challenge (struct eap_sm *sm, struct eap_aka_data *data, u8 id)
static int eap_aka_build_encr (struct eap_sm *sm, struct eap_aka_data *data, struct eap_sim_msg *msg, u16 counter, const u8 *nonce_s)
static struct wpabufeap_aka_build_identity (struct eap_sm *sm, struct eap_aka_data *data, u8 id)
static struct wpabufeap_aka_build_notification (struct eap_sm *sm, struct eap_aka_data *data, u8 id)
static struct wpabufeap_aka_build_reauth (struct eap_sm *sm, struct eap_aka_data *data, u8 id)
static struct wpabufeap_aka_buildReq (struct eap_sm *sm, void *priv, u8 id)
static Boolean eap_aka_check (struct eap_sm *sm, void *priv, struct wpabuf *respData)
static void eap_aka_determine_identity (struct eap_sm *sm, struct eap_aka_data *data, int before_identity, int after_reauth)
static u8 * eap_aka_get_emsk (struct eap_sm *sm, void *priv, size_t *len)
static u8 * eap_aka_getKey (struct eap_sm *sm, void *priv, size_t *len)
static void * eap_aka_init (struct eap_sm *sm)
static Boolean eap_aka_isDone (struct eap_sm *sm, void *priv)
static Boolean eap_aka_isSuccess (struct eap_sm *sm, void *priv)
static void eap_aka_process (struct eap_sm *sm, void *priv, struct wpabuf *respData)
static void eap_aka_process_authentication_reject (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_challenge (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_client_error (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_identity (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_notification (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_reauth (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_process_sync_failure (struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr)
static void eap_aka_reset (struct eap_sm *sm, void *priv)
static void eap_aka_state (struct eap_aka_data *data, int state)
static const char * eap_aka_state_txt (int state)
static Boolean eap_aka_subtype_ok (struct eap_aka_data *data, u8 subtype)
static int eap_aka_verify_checkcode (struct eap_aka_data *data, const u8 *checkcode, size_t checkcode_len)
static int eap_aka_verify_mac (struct eap_aka_data *data, const struct wpabuf *req, const u8 *mac, const u8 *extra, size_t extra_len)
int eap_server_aka_register (void)

Function Documentation

static void eap_aka_add_checkcode ( struct eap_aka_data data,
struct eap_sim_msg msg 
) [static]

Definition at line 183 of file eap_server_aka.c.

static int eap_aka_add_id_msg ( struct eap_aka_data data,
const struct wpabuf msg 
) [static]

Definition at line 164 of file eap_server_aka.c.

static struct wpabuf* eap_aka_build_challenge ( struct eap_sm sm,
struct eap_aka_data data,
u8  id 
) [static, read]

Definition at line 360 of file eap_server_aka.c.

static int eap_aka_build_encr ( struct eap_sm sm,
struct eap_aka_data data,
struct eap_sim_msg msg,
u16  counter,
const u8 *  nonce_s 
) [static]

Definition at line 296 of file eap_server_aka.c.

static struct wpabuf* eap_aka_build_identity ( struct eap_sm sm,
struct eap_aka_data data,
u8  id 
) [static, read]

Definition at line 264 of file eap_server_aka.c.

static struct wpabuf* eap_aka_build_notification ( struct eap_sm sm,
struct eap_aka_data data,
u8  id 
) [static, read]

Definition at line 483 of file eap_server_aka.c.

static struct wpabuf* eap_aka_build_reauth ( struct eap_sm sm,
struct eap_aka_data data,
u8  id 
) [static, read]

Definition at line 436 of file eap_server_aka.c.

static struct wpabuf* eap_aka_buildReq ( struct eap_sm sm,
void *  priv,
u8  id 
) [static, read]

Definition at line 522 of file eap_server_aka.c.

static Boolean eap_aka_check ( struct eap_sm sm,
void *  priv,
struct wpabuf respData 
) [static]

Definition at line 545 of file eap_server_aka.c.

static void eap_aka_determine_identity ( struct eap_sm sm,
struct eap_aka_data data,
int  before_identity,
int  after_reauth 
) [static]

Definition at line 609 of file eap_server_aka.c.

static u8* eap_aka_get_emsk ( struct eap_sm sm,
void *  priv,
size_t *  len 
) [static]

Definition at line 1198 of file eap_server_aka.c.

static u8* eap_aka_getKey ( struct eap_sm sm,
void *  priv,
size_t *  len 
) [static]

Definition at line 1181 of file eap_server_aka.c.

static void* eap_aka_init ( struct eap_sm sm) [static]

Definition at line 95 of file eap_server_aka.c.

static Boolean eap_aka_isDone ( struct eap_sm sm,
void *  priv 
) [static]

Definition at line 1174 of file eap_server_aka.c.

static Boolean eap_aka_isSuccess ( struct eap_sm sm,
void *  priv 
) [static]

Definition at line 1215 of file eap_server_aka.c.

static void eap_aka_process ( struct eap_sm sm,
void *  priv,
struct wpabuf respData 
) [static]

Definition at line 1102 of file eap_server_aka.c.

static void eap_aka_process_authentication_reject ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 1080 of file eap_server_aka.c.

static void eap_aka_process_challenge ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 799 of file eap_server_aka.c.

static void eap_aka_process_client_error ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 1066 of file eap_server_aka.c.

static void eap_aka_process_identity ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 754 of file eap_server_aka.c.

static void eap_aka_process_notification ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 1089 of file eap_server_aka.c.

static void eap_aka_process_reauth ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 949 of file eap_server_aka.c.

static void eap_aka_process_sync_failure ( struct eap_sm sm,
struct eap_aka_data data,
struct wpabuf respData,
struct eap_sim_attrs attr 
) [static]

Definition at line 915 of file eap_server_aka.c.

static void eap_aka_reset ( struct eap_sm sm,
void *  priv 
) [static]

Definition at line 153 of file eap_server_aka.c.

static void eap_aka_state ( struct eap_aka_data data,
int  state 
) [static]

Definition at line 86 of file eap_server_aka.c.

static const char* eap_aka_state_txt ( int  state) [static]

Definition at line 65 of file eap_server_aka.c.

static Boolean eap_aka_subtype_ok ( struct eap_aka_data data,
u8  subtype 
) [static]

Definition at line 563 of file eap_server_aka.c.

static int eap_aka_verify_checkcode ( struct eap_aka_data data,
const u8 *  checkcode,
size_t  checkcode_len 
) [static]

Definition at line 216 of file eap_server_aka.c.

static int eap_aka_verify_mac ( struct eap_aka_data data,
const struct wpabuf req,
const u8 *  mac,
const u8 *  extra,
size_t  extra_len 
) [static]

Definition at line 787 of file eap_server_aka.c.

int eap_server_aka_register ( void  )

Definition at line 1222 of file eap_server_aka.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:17