#include "includes.h"
#include "common.h"
#include "pcsc_funcs.h"
#include "crypto/milenage.h"
#include "eap_peer/eap_i.h"
#include "eap_config.h"
#include "eap_common/eap_sim_common.h"
Go to the source code of this file.
Classes | |
struct | eap_sim_data |
Defines | |
#define | CLEAR_EAP_ID 0x04 |
#define | CLEAR_PSEUDONYM 0x01 |
#define | CLEAR_REAUTH_ID 0x02 |
Functions | |
int | eap_peer_sim_register (void) |
static void | eap_sim_clear_identities (struct eap_sim_data *data, int id) |
static struct wpabuf * | eap_sim_client_error (struct eap_sim_data *data, u8 id, int err) |
static void | eap_sim_deinit (struct eap_sm *sm, void *priv) |
static void | eap_sim_deinit_for_reauth (struct eap_sm *sm, void *priv) |
static u8 * | eap_sim_get_emsk (struct eap_sm *sm, void *priv, size_t *len) |
static const u8 * | eap_sim_get_identity (struct eap_sm *sm, void *priv, size_t *len) |
static u8 * | eap_sim_getKey (struct eap_sm *sm, void *priv, size_t *len) |
static int | eap_sim_gsm_auth (struct eap_sm *sm, struct eap_sim_data *data) |
static Boolean | eap_sim_has_reauth_data (struct eap_sm *sm, void *priv) |
static void * | eap_sim_init (struct eap_sm *sm) |
static void * | eap_sim_init_for_reauth (struct eap_sm *sm, void *priv) |
static Boolean | eap_sim_isKeyAvailable (struct eap_sm *sm, void *priv) |
static int | eap_sim_learn_ids (struct eap_sim_data *data, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_sim_process (struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) |
static struct wpabuf * | eap_sim_process_challenge (struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_sim_process_notification (struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static int | eap_sim_process_notification_auth (struct eap_sim_data *data, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static int | eap_sim_process_notification_reauth (struct eap_sim_data *data, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_sim_process_reauthentication (struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_sim_process_start (struct eap_sm *sm, struct eap_sim_data *data, u8 id, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_sim_response_challenge (struct eap_sim_data *data, u8 id) |
static struct wpabuf * | eap_sim_response_notification (struct eap_sim_data *data, u8 id, u16 notification) |
static struct wpabuf * | eap_sim_response_reauth (struct eap_sim_data *data, u8 id, int counter_too_small) |
static struct wpabuf * | eap_sim_response_start (struct eap_sm *sm, struct eap_sim_data *data, u8 id, enum eap_sim_id_req id_req) |
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 (int version) |
static void eap_sim_clear_identities | ( | struct eap_sim_data * | data, | |
int | id | |||
) | [static] |
static struct wpabuf* eap_sim_client_error | ( | struct eap_sim_data * | data, | |
u8 | id, | |||
int | err | |||
) | [static, read] |
static void eap_sim_deinit | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static void eap_sim_deinit_for_reauth | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static int eap_sim_gsm_auth | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data | |||
) | [static] |
static void* eap_sim_init_for_reauth | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static int eap_sim_learn_ids | ( | struct eap_sim_data * | data, | |
struct eap_sim_attrs * | attr | |||
) | [static] |
static struct wpabuf* eap_sim_process | ( | struct eap_sm * | sm, | |
void * | priv, | |||
struct eap_method_ret * | ret, | |||
const struct wpabuf * | reqData | |||
) | [static, read] |
static struct wpabuf* eap_sim_process_challenge | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_sim_process_notification | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static int eap_sim_process_notification_auth | ( | struct eap_sim_data * | data, | |
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
static int eap_sim_process_notification_reauth | ( | struct eap_sim_data * | data, | |
struct eap_sim_attrs * | attr | |||
) | [static] |
static struct wpabuf* eap_sim_process_reauthentication | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_sim_process_start | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_sim_response_challenge | ( | struct eap_sim_data * | data, | |
u8 | id | |||
) | [static, read] |
static struct wpabuf* eap_sim_response_notification | ( | struct eap_sim_data * | data, | |
u8 | id, | |||
u16 | notification | |||
) | [static, read] |
static struct wpabuf* eap_sim_response_reauth | ( | struct eap_sim_data * | data, | |
u8 | id, | |||
int | counter_too_small | |||
) | [static, read] |
static struct wpabuf* eap_sim_response_start | ( | struct eap_sm * | sm, | |
struct eap_sim_data * | data, | |||
u8 | id, | |||
enum eap_sim_id_req | id_req | |||
) | [static, read] |
static void eap_sim_state | ( | struct eap_sim_data * | data, | |
int | state | |||
) | [static] |
static const char* eap_sim_state_txt | ( | int | state | ) | [static] |