eap_gpsk.c File Reference

#include "includes.h"
#include "common.h"
#include "eap_peer/eap_i.h"
#include "eap_common/eap_gpsk_common.h"
Include dependency graph for eap_gpsk.c:

Go to the source code of this file.

Classes

struct  eap_gpsk_data

Functions

static void eap_gpsk_deinit (struct eap_sm *sm, void *priv)
static u8eap_gpsk_get_emsk (struct eap_sm *sm, void *priv, size_t *len)
static u8eap_gpsk_getKey (struct eap_sm *sm, void *priv, size_t *len)
static void * eap_gpsk_init (struct eap_sm *sm)
static Boolean eap_gpsk_isKeyAvailable (struct eap_sm *sm, void *priv)
static struct wpabufeap_gpsk_process (struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData)
static const u8eap_gpsk_process_csuite_list (struct eap_sm *sm, struct eap_gpsk_data *data, const u8 **list, size_t *list_len, const u8 *pos, const u8 *end)
static struct wpabufeap_gpsk_process_gpsk_1 (struct eap_sm *sm, struct eap_gpsk_data *data, struct eap_method_ret *ret, const struct wpabuf *reqData, const u8 *payload, size_t payload_len)
static struct wpabufeap_gpsk_process_gpsk_3 (struct eap_sm *sm, struct eap_gpsk_data *data, struct eap_method_ret *ret, const struct wpabuf *reqData, const u8 *payload, size_t payload_len)
static const u8eap_gpsk_process_id_server (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
static const u8eap_gpsk_process_rand_server (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
static int eap_gpsk_select_csuite (struct eap_sm *sm, struct eap_gpsk_data *data, const u8 *csuite_list, size_t csuite_list_len)
static struct wpabufeap_gpsk_send_gpsk_2 (struct eap_gpsk_data *data, u8 identifier, const u8 *csuite_list, size_t csuite_list_len)
static struct wpabufeap_gpsk_send_gpsk_4 (struct eap_gpsk_data *data, u8 identifier)
static void eap_gpsk_state (struct eap_gpsk_data *data, int state)
static const char * eap_gpsk_state_txt (int state)
static const u8eap_gpsk_validate_csuite (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
static const u8eap_gpsk_validate_gpsk_3_mic (struct eap_gpsk_data *data, const u8 *payload, const u8 *pos, const u8 *end)
static const u8eap_gpsk_validate_id_server (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
static const u8eap_gpsk_validate_pd_payload_2 (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
static const u8eap_gpsk_validate_rand (struct eap_gpsk_data *data, const u8 *pos, const u8 *end)
int eap_peer_gpsk_register (void)

Function Documentation

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

Definition at line 123 of file eap_gpsk.c.

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

Definition at line 698 of file eap_gpsk.c.

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

Definition at line 680 of file eap_gpsk.c.

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

Definition at line 83 of file eap_gpsk.c.

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

Definition at line 673 of file eap_gpsk.c.

static struct wpabuf* eap_gpsk_process ( struct eap_sm sm,
void *  priv,
struct eap_method_ret ret,
const struct wpabuf reqData 
) [static, read]

Definition at line 631 of file eap_gpsk.c.

static const u8* eap_gpsk_process_csuite_list ( struct eap_sm sm,
struct eap_gpsk_data data,
const u8 **  list,
size_t *  list_len,
const u8 pos,
const u8 end 
) [static]

Definition at line 222 of file eap_gpsk.c.

static struct wpabuf* eap_gpsk_process_gpsk_1 ( struct eap_sm sm,
struct eap_gpsk_data data,
struct eap_method_ret ret,
const struct wpabuf reqData,
const u8 payload,
size_t  payload_len 
) [static, read]

Definition at line 256 of file eap_gpsk.c.

static struct wpabuf* eap_gpsk_process_gpsk_3 ( struct eap_sm sm,
struct eap_gpsk_data data,
struct eap_method_ret ret,
const struct wpabuf reqData,
const u8 payload,
size_t  payload_len 
) [static, read]

Definition at line 549 of file eap_gpsk.c.

static const u8* eap_gpsk_process_id_server ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 133 of file eap_gpsk.c.

static const u8* eap_gpsk_process_rand_server ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 164 of file eap_gpsk.c.

static int eap_gpsk_select_csuite ( struct eap_sm sm,
struct eap_gpsk_data data,
const u8 csuite_list,
size_t  csuite_list_len 
) [static]

Definition at line 183 of file eap_gpsk.c.

static struct wpabuf * eap_gpsk_send_gpsk_2 ( struct eap_gpsk_data data,
u8  identifier,
const u8 csuite_list,
size_t  csuite_list_len 
) [static, read]

Definition at line 296 of file eap_gpsk.c.

static struct wpabuf * eap_gpsk_send_gpsk_4 ( struct eap_gpsk_data data,
u8  identifier 
) [static, read]

Definition at line 596 of file eap_gpsk.c.

static void eap_gpsk_state ( struct eap_gpsk_data data,
int  state 
) [static]

Definition at line 71 of file eap_gpsk.c.

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

Definition at line 53 of file eap_gpsk.c.

static const u8* eap_gpsk_validate_csuite ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 457 of file eap_gpsk.c.

static const u8* eap_gpsk_validate_gpsk_3_mic ( struct eap_gpsk_data data,
const u8 payload,
const u8 pos,
const u8 end 
) [static]

Definition at line 513 of file eap_gpsk.c.

static const u8* eap_gpsk_validate_id_server ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 417 of file eap_gpsk.c.

static const u8* eap_gpsk_validate_pd_payload_2 ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 486 of file eap_gpsk.c.

static const u8* eap_gpsk_validate_rand ( struct eap_gpsk_data data,
const u8 pos,
const u8 end 
) [static]

Definition at line 378 of file eap_gpsk.c.

int eap_peer_gpsk_register ( void   ) 

Definition at line 716 of file eap_gpsk.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:27 2013