#include "includes.h"
#include "common.h"
#include "eap_server/eap_i.h"
#include "eap_common/eap_sim_common.h"
#include "eap_server/eap_sim_db.h"
Go to the source code of this file.
Classes | |
struct | eap_sim_data |
Functions | |
int | eap_server_sim_register (void) |
static struct wpabuf * | eap_sim_build_challenge (struct eap_sm *sm, struct eap_sim_data *data, u8 id) |
static int | eap_sim_build_encr (struct eap_sm *sm, struct eap_sim_data *data, struct eap_sim_msg *msg, u16 counter, const u8 *nonce_s) |
static struct wpabuf * | eap_sim_build_notification (struct eap_sm *sm, struct eap_sim_data *data, u8 id) |
static struct wpabuf * | eap_sim_build_reauth (struct eap_sm *sm, struct eap_sim_data *data, u8 id) |
static struct wpabuf * | eap_sim_build_start (struct eap_sm *sm, struct eap_sim_data *data, u8 id) |
static struct wpabuf * | eap_sim_buildReq (struct eap_sm *sm, void *priv, u8 id) |
static Boolean | eap_sim_check (struct eap_sm *sm, void *priv, struct wpabuf *respData) |
static u8 * | eap_sim_get_emsk (struct eap_sm *sm, void *priv, size_t *len) |
static u8 * | eap_sim_getKey (struct eap_sm *sm, void *priv, size_t *len) |
static void * | eap_sim_init (struct eap_sm *sm) |
static Boolean | eap_sim_isDone (struct eap_sm *sm, void *priv) |
static Boolean | eap_sim_isSuccess (struct eap_sm *sm, void *priv) |
static void | eap_sim_process (struct eap_sm *sm, void *priv, struct wpabuf *respData) |
static void | eap_sim_process_challenge (struct eap_sm *sm, struct eap_sim_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) |
static void | eap_sim_process_client_error (struct eap_sm *sm, struct eap_sim_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) |
static void | eap_sim_process_notification (struct eap_sm *sm, struct eap_sim_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) |
static void | eap_sim_process_reauth (struct eap_sm *sm, struct eap_sim_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) |
static void | eap_sim_process_start (struct eap_sm *sm, struct eap_sim_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) |
static void | eap_sim_reset (struct eap_sm *sm, void *priv) |
static void | eap_sim_state (struct eap_sim_data *data, int state) |
static const char * | eap_sim_state_txt (int state) |
static int | eap_sim_supported_ver (struct eap_sim_data *data, int version) |
int eap_server_sim_register | ( | void | ) |
Definition at line 773 of file eap_server_sim.c.
static struct wpabuf* eap_sim_build_challenge | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id | |||
) | [static, read] |
Definition at line 198 of file eap_server_sim.c.
static int eap_sim_build_encr | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct eap_sim_msg * | msg, | |||
u16 | counter, | |||
const u8 * | nonce_s | |||
) | [static] |
Definition at line 134 of file eap_server_sim.c.
static struct wpabuf* eap_sim_build_notification | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id | |||
) | [static, read] |
Definition at line 265 of file eap_server_sim.c.
static struct wpabuf* eap_sim_build_reauth | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id | |||
) | [static, read] |
Definition at line 228 of file eap_server_sim.c.
static struct wpabuf* eap_sim_build_start | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id | |||
) | [static, read] |
Definition at line 104 of file eap_server_sim.c.
Definition at line 304 of file eap_server_sim.c.
Definition at line 326 of file eap_server_sim.c.
Definition at line 749 of file eap_server_sim.c.
Definition at line 732 of file eap_server_sim.c.
static void* eap_sim_init | ( | struct eap_sm * | sm | ) | [static] |
Definition at line 77 of file eap_server_sim.c.
Definition at line 725 of file eap_server_sim.c.
Definition at line 766 of file eap_server_sim.c.
Definition at line 676 of file eap_server_sim.c.
static void eap_sim_process_challenge | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct wpabuf * | respData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
Definition at line 508 of file eap_server_sim.c.
static void eap_sim_process_client_error | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct wpabuf * | respData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
Definition at line 649 of file eap_server_sim.c.
static void eap_sim_process_notification | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct wpabuf * | respData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
Definition at line 663 of file eap_server_sim.c.
static void eap_sim_process_reauth | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct wpabuf * | respData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
Definition at line 558 of file eap_server_sim.c.
static void eap_sim_process_start | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
struct wpabuf * | respData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
Definition at line 389 of file eap_server_sim.c.
static void eap_sim_reset | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
Definition at line 95 of file eap_server_sim.c.
static void eap_sim_state | ( | struct eap_sim_data * | data, | |
int | state | |||
) | [static] |
Definition at line 68 of file eap_server_sim.c.
static const char* eap_sim_state_txt | ( | int | state | ) | [static] |
Definition at line 47 of file eap_server_sim.c.
static int eap_sim_supported_ver | ( | struct eap_sim_data * | data, | |
int | version | |||
) | [static] |
Definition at line 383 of file eap_server_sim.c.