Functions
ikev2.c File Reference
#include "includes.h"
#include "common.h"
#include "crypto/dh_groups.h"
#include "ikev2.h"
Include dependency graph for eap_server/ikev2.c:

Go to the source code of this file.

Functions

static int ikev2_build_auth (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload)
static void ikev2_build_hdr (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 exchange_type, u8 next_payload, u32 message_id)
static int ikev2_build_idi (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_build_kei (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_build_ni (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload)
static struct wpabufikev2_build_sa_auth (struct ikev2_initiator_data *data)
static struct wpabufikev2_build_sa_init (struct ikev2_initiator_data *data)
static int ikev2_build_sai (struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_derive_keys (struct ikev2_initiator_data *data)
struct wpabufikev2_initiator_build (struct ikev2_initiator_data *data)
void ikev2_initiator_deinit (struct ikev2_initiator_data *data)
int ikev2_initiator_process (struct ikev2_initiator_data *data, const struct wpabuf *buf)
static int ikev2_parse_proposal (struct ikev2_initiator_data *data, struct ikev2_proposal_data *prop, const u8 *pos, const u8 *end)
static int ikev2_parse_transform (struct ikev2_initiator_data *data, struct ikev2_proposal_data *prop, const u8 *pos, const u8 *end)
static int ikev2_process_auth (struct ikev2_initiator_data *data, const u8 *auth, size_t auth_len)
static int ikev2_process_auth_cert (struct ikev2_initiator_data *data, u8 method, const u8 *auth, size_t auth_len)
static int ikev2_process_auth_secret (struct ikev2_initiator_data *data, u8 method, const u8 *auth, size_t auth_len)
static int ikev2_process_cert (struct ikev2_initiator_data *data, const u8 *cert, size_t cert_len)
static int ikev2_process_idr (struct ikev2_initiator_data *data, const u8 *idr, size_t idr_len)
static int ikev2_process_ker (struct ikev2_initiator_data *data, const u8 *ker, size_t ker_len)
static int ikev2_process_nr (struct ikev2_initiator_data *data, const u8 *nr, size_t nr_len)
static int ikev2_process_sa_auth (struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl)
static int ikev2_process_sa_auth_decrypted (struct ikev2_initiator_data *data, u8 next_payload, u8 *payload, size_t payload_len)
static int ikev2_process_sa_init (struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl)
static int ikev2_process_sa_init_encr (struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, u8 next_payload)
static int ikev2_process_sar1 (struct ikev2_initiator_data *data, const u8 *sar1, size_t sar1_len)
static int ikev2_validate_rx_state (struct ikev2_initiator_data *data, u8 exchange_type, u32 message_id)

Function Documentation

static int ikev2_build_auth ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 1051 of file eap_server/ikev2.c.

static void ikev2_build_hdr ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  exchange_type,
u8  next_payload,
u32  message_id 
) [static]

Definition at line 889 of file eap_server/ikev2.c.

static int ikev2_build_idi ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 1025 of file eap_server/ikev2.c.

static int ikev2_build_kei ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 969 of file eap_server/ikev2.c.

static int ikev2_build_ni ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 1006 of file eap_server/ikev2.c.

static struct wpabuf* ikev2_build_sa_auth ( struct ikev2_initiator_data data) [static, read]

Definition at line 1130 of file eap_server/ikev2.c.

static struct wpabuf* ikev2_build_sa_init ( struct ikev2_initiator_data data) [static, read]

Definition at line 1091 of file eap_server/ikev2.c.

static int ikev2_build_sai ( struct ikev2_initiator_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 909 of file eap_server/ikev2.c.

static int ikev2_derive_keys ( struct ikev2_initiator_data data) [static]

Definition at line 40 of file eap_server/ikev2.c.

struct wpabuf* ikev2_initiator_build ( struct ikev2_initiator_data data) [read]

Definition at line 1192 of file eap_server/ikev2.c.

Definition at line 26 of file eap_server/ikev2.c.

int ikev2_initiator_process ( struct ikev2_initiator_data data,
const struct wpabuf buf 
)

Definition at line 798 of file eap_server/ikev2.c.

static int ikev2_parse_proposal ( struct ikev2_initiator_data data,
struct ikev2_proposal_data prop,
const u8 *  pos,
const u8 *  end 
) [static]

Definition at line 214 of file eap_server/ikev2.c.

static int ikev2_parse_transform ( struct ikev2_initiator_data data,
struct ikev2_proposal_data prop,
const u8 *  pos,
const u8 *  end 
) [static]

Definition at line 125 of file eap_server/ikev2.c.

static int ikev2_process_auth ( struct ikev2_initiator_data data,
const u8 *  auth,
size_t  auth_len 
) [static]

Definition at line 657 of file eap_server/ikev2.c.

static int ikev2_process_auth_cert ( struct ikev2_initiator_data data,
u8  method,
const u8 *  auth,
size_t  auth_len 
) [static]

Definition at line 594 of file eap_server/ikev2.c.

static int ikev2_process_auth_secret ( struct ikev2_initiator_data data,
u8  method,
const u8 *  auth,
size_t  auth_len 
) [static]

Definition at line 608 of file eap_server/ikev2.c.

static int ikev2_process_cert ( struct ikev2_initiator_data data,
const u8 *  cert,
size_t  cert_len 
) [static]

Definition at line 563 of file eap_server/ikev2.c.

static int ikev2_process_idr ( struct ikev2_initiator_data data,
const u8 *  idr,
size_t  idr_len 
) [static]

Definition at line 518 of file eap_server/ikev2.c.

static int ikev2_process_ker ( struct ikev2_initiator_data data,
const u8 *  ker,
size_t  ker_len 
) [static]

Definition at line 368 of file eap_server/ikev2.c.

static int ikev2_process_nr ( struct ikev2_initiator_data data,
const u8 *  nr,
size_t  nr_len 
) [static]

Definition at line 428 of file eap_server/ikev2.c.

static int ikev2_process_sa_auth ( struct ikev2_initiator_data data,
const struct ikev2_hdr hdr,
struct ikev2_payloads pl 
) [static]

Definition at line 717 of file eap_server/ikev2.c.

static int ikev2_process_sa_auth_decrypted ( struct ikev2_initiator_data data,
u8  next_payload,
u8 *  payload,
size_t  payload_len 
) [static]

Definition at line 693 of file eap_server/ikev2.c.

static int ikev2_process_sa_init ( struct ikev2_initiator_data data,
const struct ikev2_hdr hdr,
struct ikev2_payloads pl 
) [static]

Definition at line 486 of file eap_server/ikev2.c.

static int ikev2_process_sa_init_encr ( struct ikev2_initiator_data data,
const struct ikev2_hdr hdr,
const u8 *  encrypted,
size_t  encrypted_len,
u8  next_payload 
) [static]

Definition at line 451 of file eap_server/ikev2.c.

static int ikev2_process_sar1 ( struct ikev2_initiator_data data,
const u8 *  sar1,
size_t  sar1_len 
) [static]

Definition at line 307 of file eap_server/ikev2.c.

static int ikev2_validate_rx_state ( struct ikev2_initiator_data data,
u8  exchange_type,
u32  message_id 
) [static]

Definition at line 745 of file eap_server/ikev2.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:38