$search
#include "includes.h"
#include "common.h"
#include "pcsc_funcs.h"
#include "crypto/crypto.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#include "crypto/milenage.h"
#include "eap_common/eap_sim_common.h"
#include "eap_config.h"
#include "eap_i.h"
Go to the source code of this file.
Classes | |
struct | eap_aka_data |
Defines | |
#define | CLEAR_EAP_ID 0x04 |
#define | CLEAR_PSEUDONYM 0x01 |
#define | CLEAR_REAUTH_ID 0x02 |
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 wpabuf * | eap_aka_authentication_reject (struct eap_aka_data *data, u8 id) |
static void | eap_aka_clear_identities (struct eap_aka_data *data, int id) |
static struct wpabuf * | eap_aka_client_error (struct eap_aka_data *data, u8 id, int err) |
static void | eap_aka_deinit (struct eap_sm *sm, void *priv) |
static void | eap_aka_deinit_for_reauth (struct eap_sm *sm, void *priv) |
static u8 * | eap_aka_get_emsk (struct eap_sm *sm, void *priv, size_t *len) |
static const u8 * | eap_aka_get_identity (struct eap_sm *sm, void *priv, size_t *len) |
static u8 * | eap_aka_getKey (struct eap_sm *sm, void *priv, size_t *len) |
static Boolean | eap_aka_has_reauth_data (struct eap_sm *sm, void *priv) |
static void * | eap_aka_init (struct eap_sm *sm) |
static void * | eap_aka_init_for_reauth (struct eap_sm *sm, void *priv) |
static Boolean | eap_aka_isKeyAvailable (struct eap_sm *sm, void *priv) |
static int | eap_aka_learn_ids (struct eap_aka_data *data, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_aka_process (struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) |
static struct wpabuf * | eap_aka_process_challenge (struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_aka_process_identity (struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_aka_process_notification (struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static int | eap_aka_process_notification_auth (struct eap_aka_data *data, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static int | eap_aka_process_notification_reauth (struct eap_aka_data *data, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_aka_process_reauthentication (struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) |
static struct wpabuf * | eap_aka_response_challenge (struct eap_aka_data *data, u8 id) |
static struct wpabuf * | eap_aka_response_identity (struct eap_sm *sm, struct eap_aka_data *data, u8 id, enum eap_sim_id_req id_req) |
static struct wpabuf * | eap_aka_response_notification (struct eap_aka_data *data, u8 id, u16 notification) |
static struct wpabuf * | eap_aka_response_reauth (struct eap_aka_data *data, u8 id, int counter_too_small, const u8 *nonce_s) |
static void | eap_aka_state (struct eap_aka_data *data, int state) |
static const char * | eap_aka_state_txt (int state) |
static struct wpabuf * | eap_aka_synchronization_failure (struct eap_aka_data *data, u8 id) |
static int | eap_aka_umts_auth (struct eap_sm *sm, struct eap_aka_data *data) |
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_peer_aka_register (void) |
static void eap_aka_add_checkcode | ( | struct eap_aka_data * | data, | |
struct eap_sim_msg * | msg | |||
) | [static] |
static int eap_aka_add_id_msg | ( | struct eap_aka_data * | data, | |
const struct wpabuf * | msg | |||
) | [static] |
static struct wpabuf* eap_aka_authentication_reject | ( | struct eap_aka_data * | data, | |
u8 | id | |||
) | [static, read] |
static void eap_aka_clear_identities | ( | struct eap_aka_data * | data, | |
int | id | |||
) | [static] |
static struct wpabuf* eap_aka_client_error | ( | struct eap_aka_data * | data, | |
u8 | id, | |||
int | err | |||
) | [static, read] |
static void eap_aka_deinit | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static void eap_aka_deinit_for_reauth | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static void* eap_aka_init_for_reauth | ( | struct eap_sm * | sm, | |
void * | priv | |||
) | [static] |
static int eap_aka_learn_ids | ( | struct eap_aka_data * | data, | |
struct eap_sim_attrs * | attr | |||
) | [static] |
static struct wpabuf* eap_aka_process | ( | struct eap_sm * | sm, | |
void * | priv, | |||
struct eap_method_ret * | ret, | |||
const struct wpabuf * | reqData | |||
) | [static, read] |
static struct wpabuf* eap_aka_process_challenge | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_aka_process_identity | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_aka_process_notification | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static int eap_aka_process_notification_auth | ( | struct eap_aka_data * | data, | |
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static] |
static int eap_aka_process_notification_reauth | ( | struct eap_aka_data * | data, | |
struct eap_sim_attrs * | attr | |||
) | [static] |
static struct wpabuf* eap_aka_process_reauthentication | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data, | |||
u8 | id, | |||
const struct wpabuf * | reqData, | |||
struct eap_sim_attrs * | attr | |||
) | [static, read] |
static struct wpabuf* eap_aka_response_challenge | ( | struct eap_aka_data * | data, | |
u8 | id | |||
) | [static, read] |
static struct wpabuf* eap_aka_response_identity | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data, | |||
u8 | id, | |||
enum eap_sim_id_req | id_req | |||
) | [static, read] |
static struct wpabuf* eap_aka_response_notification | ( | struct eap_aka_data * | data, | |
u8 | id, | |||
u16 | notification | |||
) | [static, read] |
static struct wpabuf* eap_aka_response_reauth | ( | struct eap_aka_data * | data, | |
u8 | id, | |||
int | counter_too_small, | |||
const u8 * | nonce_s | |||
) | [static, read] |
static void eap_aka_state | ( | struct eap_aka_data * | data, | |
int | state | |||
) | [static] |
static const char* eap_aka_state_txt | ( | int | state | ) | [static] |
static struct wpabuf* eap_aka_synchronization_failure | ( | struct eap_aka_data * | data, | |
u8 | id | |||
) | [static, read] |
static int eap_aka_umts_auth | ( | struct eap_sm * | sm, | |
struct eap_aka_data * | data | |||
) | [static] |
static int eap_aka_verify_checkcode | ( | struct eap_aka_data * | data, | |
const u8 * | checkcode, | |||
size_t | checkcode_len | |||
) | [static] |
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] |