#include "includes.h"
#include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_i.h"
#include "eap_tls_common.h"
#include "eap_common/eap_tlv_common.h"
#include "eap_common/eap_peap_common.h"
#include "tncs.h"
Go to the source code of this file.
Classes | |
struct | eap_peap_data |
Defines | |
#define | EAP_PEAP_VERSION 1 |
Functions | |
static struct wpabuf * | eap_peap_build_phase2_req (struct eap_sm *sm, struct eap_peap_data *data, u8 id) |
static struct wpabuf * | eap_peap_build_phase2_term (struct eap_sm *sm, struct eap_peap_data *data, u8 id, int success) |
static struct wpabuf * | eap_peap_build_phase2_tlv (struct eap_sm *sm, struct eap_peap_data *data, u8 id) |
static struct wpabuf * | eap_peap_build_start (struct eap_sm *sm, struct eap_peap_data *data, u8 id) |
static struct wpabuf * | eap_peap_buildReq (struct eap_sm *sm, void *priv, u8 id) |
static Boolean | eap_peap_check (struct eap_sm *sm, void *priv, struct wpabuf *respData) |
static int | eap_peap_derive_cmk (struct eap_sm *sm, struct eap_peap_data *data) |
static void | eap_peap_get_isk (struct eap_peap_data *data, u8 *isk, size_t isk_len) |
static u8 * | eap_peap_getKey (struct eap_sm *sm, void *priv, size_t *len) |
static void * | eap_peap_init (struct eap_sm *sm) |
static Boolean | eap_peap_isDone (struct eap_sm *sm, void *priv) |
static Boolean | eap_peap_isSuccess (struct eap_sm *sm, void *priv) |
static int | eap_peap_phase2_init (struct eap_sm *sm, struct eap_peap_data *data, EapType eap_type) |
static void | eap_peap_process (struct eap_sm *sm, void *priv, struct wpabuf *respData) |
static void | eap_peap_process_msg (struct eap_sm *sm, void *priv, const struct wpabuf *respData) |
static void | eap_peap_process_phase2 (struct eap_sm *sm, struct eap_peap_data *data, const struct wpabuf *respData, struct wpabuf *in_buf) |
static void | eap_peap_process_phase2_response (struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *in_data) |
static void | eap_peap_process_phase2_tlv (struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *in_data) |
static int | eap_peap_process_version (struct eap_sm *sm, void *priv, int peer_version) |
static void | eap_peap_req_failure (struct eap_sm *sm, struct eap_peap_data *data) |
static void | eap_peap_req_success (struct eap_sm *sm, struct eap_peap_data *data) |
static void | eap_peap_reset (struct eap_sm *sm, void *priv) |
static void | eap_peap_state (struct eap_peap_data *data, int state) |
static const char * | eap_peap_state_txt (int state) |
static int | eap_peapv2_start_phase2 (struct eap_sm *sm, struct eap_peap_data *data) |
static struct wpabuf * | eap_peapv2_tlv_eap_payload (struct wpabuf *buf) |
int | eap_server_peap_register (void) |
static int | eap_tlv_validate_cryptobinding (struct eap_sm *sm, struct eap_peap_data *data, const u8 *crypto_tlv, size_t crypto_tlv_len) |
#define EAP_PEAP_VERSION 1 |
Definition at line 32 of file eap_server_peap.c.
static struct wpabuf* eap_peap_build_phase2_req | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
u8 | id | ||
) | [static, read] |
Definition at line 234 of file eap_server_peap.c.
static struct wpabuf* eap_peap_build_phase2_term | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
u8 | id, | ||
int | success | ||
) | [static, read] |
Definition at line 462 of file eap_server_peap.c.
static struct wpabuf* eap_peap_build_phase2_tlv | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
u8 | id | ||
) | [static, read] |
Definition at line 370 of file eap_server_peap.c.
static struct wpabuf* eap_peap_build_start | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
u8 | id | ||
) | [static, read] |
Definition at line 212 of file eap_server_peap.c.
static struct wpabuf* eap_peap_buildReq | ( | struct eap_sm * | sm, |
void * | priv, | ||
u8 | id | ||
) | [static, read] |
Definition at line 490 of file eap_server_peap.c.
static Boolean eap_peap_check | ( | struct eap_sm * | sm, |
void * | priv, | ||
struct wpabuf * | respData | ||
) | [static] |
Definition at line 557 of file eap_server_peap.c.
static int eap_peap_derive_cmk | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data | ||
) | [static] |
Definition at line 327 of file eap_server_peap.c.
static void eap_peap_get_isk | ( | struct eap_peap_data * | data, |
u8 * | isk, | ||
size_t | isk_len | ||
) | [static] |
Definition at line 311 of file eap_server_peap.c.
static u8* eap_peap_getKey | ( | struct eap_sm * | sm, |
void * | priv, | ||
size_t * | len | ||
) | [static] |
Definition at line 1307 of file eap_server_peap.c.
static void* eap_peap_init | ( | struct eap_sm * | sm | ) | [static] |
Definition at line 169 of file eap_server_peap.c.
static Boolean eap_peap_isDone | ( | struct eap_sm * | sm, |
void * | priv | ||
) | [static] |
Definition at line 1300 of file eap_server_peap.c.
static Boolean eap_peap_isSuccess | ( | struct eap_sm * | sm, |
void * | priv | ||
) | [static] |
Definition at line 1356 of file eap_server_peap.c.
static int eap_peap_phase2_init | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
EapType | eap_type | ||
) | [static] |
Definition at line 573 of file eap_server_peap.c.
static void eap_peap_process | ( | struct eap_sm * | sm, |
void * | priv, | ||
struct wpabuf * | respData | ||
) | [static] |
Definition at line 1289 of file eap_server_peap.c.
static void eap_peap_process_msg | ( | struct eap_sm * | sm, |
void * | priv, | ||
const struct wpabuf * | respData | ||
) | [static] |
Definition at line 1244 of file eap_server_peap.c.
static void eap_peap_process_phase2 | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
const struct wpabuf * | respData, | ||
struct wpabuf * | in_buf | ||
) | [static] |
Definition at line 1028 of file eap_server_peap.c.
static void eap_peap_process_phase2_response | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
struct wpabuf * | in_data | ||
) | [static] |
Definition at line 893 of file eap_server_peap.c.
static void eap_peap_process_phase2_tlv | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
struct wpabuf * | in_data | ||
) | [static] |
Definition at line 645 of file eap_server_peap.c.
static int eap_peap_process_version | ( | struct eap_sm * | sm, |
void * | priv, | ||
int | peer_version | ||
) | [static] |
Definition at line 1221 of file eap_server_peap.c.
static void eap_peap_req_failure | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data | ||
) | [static] |
Definition at line 151 of file eap_server_peap.c.
static void eap_peap_req_success | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data | ||
) | [static] |
Definition at line 134 of file eap_server_peap.c.
static void eap_peap_reset | ( | struct eap_sm * | sm, |
void * | priv | ||
) | [static] |
Definition at line 197 of file eap_server_peap.c.
static void eap_peap_state | ( | struct eap_peap_data * | data, |
int | state | ||
) | [static] |
Definition at line 98 of file eap_server_peap.c.
static const char* eap_peap_state_txt | ( | int | state | ) | [static] |
Definition at line 65 of file eap_server_peap.c.
static int eap_peapv2_start_phase2 | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data | ||
) | [static] |
Definition at line 1174 of file eap_server_peap.c.
static struct wpabuf* eap_peapv2_tlv_eap_payload | ( | struct wpabuf * | buf | ) | [static, read] |
Definition at line 107 of file eap_server_peap.c.
int eap_server_peap_register | ( | void | ) |
Definition at line 1363 of file eap_server_peap.c.
static int eap_tlv_validate_cryptobinding | ( | struct eap_sm * | sm, |
struct eap_peap_data * | data, | ||
const u8 * | crypto_tlv, | ||
size_t | crypto_tlv_len | ||
) | [static] |
Definition at line 593 of file eap_server_peap.c.