#include "includes.h"
#include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_defs.h"
#include "eap_tlv_common.h"
Go to the source code of this file.
Defines | |
#define | TLS_MASTER_SECRET_LEN 48 |
#define | TLS_RANDOM_LEN 32 |
Functions | |
void | eap_fast_derive_eap_emsk (const u8 *simck, u8 *emsk) |
void | eap_fast_derive_eap_msk (const u8 *simck, u8 *msk) |
u8 * | eap_fast_derive_key (void *ssl_ctx, struct tls_connection *conn, const char *label, size_t len) |
void | eap_fast_derive_master_secret (const u8 *pac_key, const u8 *server_random, const u8 *client_random, u8 *master_secret) |
int | eap_fast_parse_tlv (struct eap_fast_tlv_parse *tlv, int tlv_type, u8 *pos, int len) |
void | eap_fast_put_tlv (struct wpabuf *buf, u16 type, const void *data, u16 len) |
void | eap_fast_put_tlv_buf (struct wpabuf *buf, u16 type, const struct wpabuf *data) |
void | eap_fast_put_tlv_hdr (struct wpabuf *buf, u16 type, u16 len) |
struct wpabuf * | eap_fast_tlv_eap_payload (struct wpabuf *buf) |
#define TLS_MASTER_SECRET_LEN 48 |
#define TLS_RANDOM_LEN 32 |
Definition at line 166 of file eap_fast_common.c.
Definition at line 151 of file eap_fast_common.c.
u8* eap_fast_derive_key | ( | void * | ssl_ctx, | |
struct tls_connection * | conn, | |||
const char * | label, | |||
size_t | len | |||
) |
Definition at line 102 of file eap_fast_common.c.
void eap_fast_derive_master_secret | ( | const u8 * | pac_key, | |
const u8 * | server_random, | |||
const u8 * | client_random, | |||
u8 * | master_secret | |||
) |
Definition at line 74 of file eap_fast_common.c.
int eap_fast_parse_tlv | ( | struct eap_fast_tlv_parse * | tlv, | |
int | tlv_type, | |||
u8 * | pos, | |||
int | len | |||
) |
Definition at line 182 of file eap_fast_common.c.
Definition at line 34 of file eap_fast_common.c.
Definition at line 42 of file eap_fast_common.c.
Definition at line 25 of file eap_fast_common.c.
Definition at line 50 of file eap_fast_common.c.