eap_server_ikev2.c File Reference

#include "includes.h"
#include "common.h"
#include "eap_i.h"
#include "eap_common/eap_ikev2_common.h"
#include "ikev2.h"
#include "eap_common/ikev2_common.h"
Include dependency graph for eap_server_ikev2.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eap_ikev2_data

Functions

static struct wpabufeap_ikev2_build_msg (struct eap_ikev2_data *data, u8 id)
static struct wpabufeap_ikev2_buildReq (struct eap_sm *sm, void *priv, u8 id)
static Boolean eap_ikev2_check (struct eap_sm *sm, void *priv, struct wpabuf *respData)
static u8eap_ikev2_get_emsk (struct eap_sm *sm, void *priv, size_t *len)
static const u8eap_ikev2_get_shared_secret (void *ctx, const u8 *IDr, size_t IDr_len, size_t *secret_len)
static u8eap_ikev2_getKey (struct eap_sm *sm, void *priv, size_t *len)
static void * eap_ikev2_init (struct eap_sm *sm)
static Boolean eap_ikev2_isDone (struct eap_sm *sm, void *priv)
static Boolean eap_ikev2_isSuccess (struct eap_sm *sm, void *priv)
static void eap_ikev2_process (struct eap_sm *sm, void *priv, struct wpabuf *respData)
static int eap_ikev2_process_cont (struct eap_ikev2_data *data, const u8 *buf, size_t len)
static int eap_ikev2_process_fragment (struct eap_ikev2_data *data, u8 flags, u32 message_length, const u8 *buf, size_t len)
static int eap_ikev2_process_icv (struct eap_ikev2_data *data, const struct wpabuf *respData, u8 flags, const u8 *pos, const u8 **end)
static void eap_ikev2_reset (struct eap_sm *sm, void *priv)
static int eap_ikev2_server_keymat (struct eap_ikev2_data *data)
static void eap_ikev2_state (struct eap_ikev2_data *data, int state)
static const char * eap_ikev2_state_txt (int state)
int eap_server_ikev2_register (void)

Function Documentation

static struct wpabuf* eap_ikev2_build_msg ( struct eap_ikev2_data data,
u8  id 
) [static, read]

Definition at line 136 of file eap_server_ikev2.c.

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

Definition at line 214 of file eap_server_ikev2.c.

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

Definition at line 242 of file eap_server_ikev2.c.

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

Definition at line 495 of file eap_server_ikev2.c.

static const u8* eap_ikev2_get_shared_secret ( void *  ctx,
const u8 IDr,
size_t  IDr_len,
size_t *  secret_len 
) [static]

Definition at line 36 of file eap_server_ikev2.c.

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

Definition at line 477 of file eap_server_ikev2.c.

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

Definition at line 88 of file eap_server_ikev2.c.

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

Definition at line 462 of file eap_server_ikev2.c.

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

Definition at line 469 of file eap_server_ikev2.c.

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

Definition at line 346 of file eap_server_ikev2.c.

static int eap_ikev2_process_cont ( struct eap_ikev2_data data,
const u8 buf,
size_t  len 
) [static]

Definition at line 281 of file eap_server_ikev2.c.

static int eap_ikev2_process_fragment ( struct eap_ikev2_data data,
u8  flags,
u32  message_length,
const u8 buf,
size_t  len 
) [static]

Definition at line 300 of file eap_server_ikev2.c.

static int eap_ikev2_process_icv ( struct eap_ikev2_data data,
const struct wpabuf respData,
u8  flags,
const u8 pos,
const u8 **  end 
) [static]

Definition at line 259 of file eap_server_ikev2.c.

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

Definition at line 126 of file eap_server_ikev2.c.

static int eap_ikev2_server_keymat ( struct eap_ikev2_data data  )  [static]

Definition at line 330 of file eap_server_ikev2.c.

static void eap_ikev2_state ( struct eap_ikev2_data data,
int  state 
) [static]

Definition at line 79 of file eap_server_ikev2.c.

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

Definition at line 60 of file eap_server_ikev2.c.

int eap_server_ikev2_register ( void   ) 

Definition at line 513 of file eap_server_ikev2.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:32 2013