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

Go to the source code of this file.

Functions

static int ikev2_build_auth (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static void ikev2_build_hdr (struct ikev2_responder_data *data, struct wpabuf *msg, u8 exchange_type, u8 next_payload, u32 message_id)
static int ikev2_build_idr (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_build_ker (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_build_notification (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static struct wpabufikev2_build_notify (struct ikev2_responder_data *data)
static int ikev2_build_nr (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static struct wpabufikev2_build_sa_auth (struct ikev2_responder_data *data)
static struct wpabufikev2_build_sa_init (struct ikev2_responder_data *data)
static int ikev2_build_sar1 (struct ikev2_responder_data *data, struct wpabuf *msg, u8 next_payload)
static int ikev2_derive_keys (struct ikev2_responder_data *data)
static int ikev2_parse_proposal (struct ikev2_proposal_data *prop, const u8 *pos, const u8 *end)
static int ikev2_parse_transform (struct ikev2_proposal_data *prop, const u8 *pos, const u8 *end)
static int ikev2_process_auth (struct ikev2_responder_data *data, const u8 *auth, size_t auth_len)
static int ikev2_process_auth_cert (struct ikev2_responder_data *data, u8 method, const u8 *auth, size_t auth_len)
static int ikev2_process_auth_secret (struct ikev2_responder_data *data, u8 method, const u8 *auth, size_t auth_len)
static int ikev2_process_cert (struct ikev2_responder_data *data, const u8 *cert, size_t cert_len)
static int ikev2_process_idi (struct ikev2_responder_data *data, const u8 *idi, size_t idi_len)
static int ikev2_process_kei (struct ikev2_responder_data *data, const u8 *kei, size_t kei_len)
static int ikev2_process_ni (struct ikev2_responder_data *data, const u8 *ni, size_t ni_len)
static int ikev2_process_sa_auth (struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl)
static int ikev2_process_sa_auth_decrypted (struct ikev2_responder_data *data, u8 next_payload, u8 *payload, size_t payload_len)
static int ikev2_process_sa_init (struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl)
static int ikev2_process_sai1 (struct ikev2_responder_data *data, const u8 *sai1, size_t sai1_len)
struct wpabufikev2_responder_build (struct ikev2_responder_data *data)
void ikev2_responder_deinit (struct ikev2_responder_data *data)
int ikev2_responder_process (struct ikev2_responder_data *data, const struct wpabuf *buf)
static int ikev2_validate_rx_state (struct ikev2_responder_data *data, u8 exchange_type, u32 message_id)

Function Documentation

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

Definition at line 1032 of file eap_peer/ikev2.c.

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

Definition at line 859 of file eap_peer/ikev2.c.

static int ikev2_build_idr ( struct ikev2_responder_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

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

static int ikev2_build_ker ( struct ikev2_responder_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 951 of file eap_peer/ikev2.c.

static int ikev2_build_notification ( struct ikev2_responder_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 1072 of file eap_peer/ikev2.c.

static struct wpabuf* ikev2_build_notify ( struct ikev2_responder_data data) [static, read]

Definition at line 1239 of file eap_peer/ikev2.c.

static int ikev2_build_nr ( struct ikev2_responder_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 987 of file eap_peer/ikev2.c.

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

Definition at line 1203 of file eap_peer/ikev2.c.

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

Definition at line 1124 of file eap_peer/ikev2.c.

static int ikev2_build_sar1 ( struct ikev2_responder_data data,
struct wpabuf msg,
u8  next_payload 
) [static]

Definition at line 879 of file eap_peer/ikev2.c.

static int ikev2_derive_keys ( struct ikev2_responder_data data) [static]

Definition at line 36 of file eap_peer/ikev2.c.

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

Definition at line 231 of file eap_peer/ikev2.c.

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

Definition at line 138 of file eap_peer/ikev2.c.

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

Definition at line 625 of file eap_peer/ikev2.c.

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

Definition at line 560 of file eap_peer/ikev2.c.

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

Definition at line 574 of file eap_peer/ikev2.c.

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

Definition at line 529 of file eap_peer/ikev2.c.

static int ikev2_process_idi ( struct ikev2_responder_data data,
const u8 *  idi,
size_t  idi_len 
) [static]

Definition at line 496 of file eap_peer/ikev2.c.

static int ikev2_process_kei ( struct ikev2_responder_data data,
const u8 *  kei,
size_t  kei_len 
) [static]

Definition at line 385 of file eap_peer/ikev2.c.

static int ikev2_process_ni ( struct ikev2_responder_data data,
const u8 *  ni,
size_t  ni_len 
) [static]

Definition at line 450 of file eap_peer/ikev2.c.

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

Definition at line 685 of file eap_peer/ikev2.c.

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

Definition at line 661 of file eap_peer/ikev2.c.

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

Definition at line 481 of file eap_peer/ikev2.c.

static int ikev2_process_sai1 ( struct ikev2_responder_data data,
const u8 *  sai1,
size_t  sai1_len 
) [static]

Definition at line 325 of file eap_peer/ikev2.c.

struct wpabuf* ikev2_responder_build ( struct ikev2_responder_data data) [read]

Definition at line 1287 of file eap_peer/ikev2.c.

Definition at line 22 of file eap_peer/ikev2.c.

int ikev2_responder_process ( struct ikev2_responder_data data,
const struct wpabuf buf 
)

Definition at line 763 of file eap_peer/ikev2.c.

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

Definition at line 708 of file eap_peer/ikev2.c.



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