eap_fast_common.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eap_fast_key_block_provisioning
struct  eap_fast_tlv_parse
struct  pac_tlv_hdr

Defines

#define EAP_FAST_CMK_LEN   20
#define EAP_FAST_KEY_LEN   64
#define EAP_FAST_PAC_KEY_LEN   32
#define EAP_FAST_SIMCK_LEN   40
#define EAP_FAST_SKS_LEN   40
#define EAP_FAST_VERSION   1
#define PAC_TYPE_A_ID   4
#define PAC_TYPE_A_ID_INFO   7
#define PAC_TYPE_CRED_LIFETIME   3
#define PAC_TYPE_I_ID   5
#define PAC_TYPE_MACHINE_AUTHENTICATION   2
#define PAC_TYPE_PAC_ACKNOWLEDGEMENT   8
#define PAC_TYPE_PAC_INFO   9
#define PAC_TYPE_PAC_KEY   1
#define PAC_TYPE_PAC_OPAQUE   2
#define PAC_TYPE_PAC_TYPE   10
#define PAC_TYPE_TUNNEL_PAC   1
#define PAC_TYPE_USER_AUTHORIZATION   3
#define TLS_EXT_PAC_OPAQUE   35

Functions

void eap_fast_derive_eap_emsk (const u8 *simck, u8 *emsk)
void eap_fast_derive_eap_msk (const u8 *simck, u8 *msk)
u8eap_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 wpabufeap_fast_tlv_eap_payload (struct wpabuf *buf)

Variables

struct pac_tlv_hdr STRUCT_PACKED

Define Documentation

#define EAP_FAST_CMK_LEN   20

Definition at line 22 of file eap_fast_common.h.

#define EAP_FAST_KEY_LEN   64

Definition at line 19 of file eap_fast_common.h.

#define EAP_FAST_PAC_KEY_LEN   32

Definition at line 59 of file eap_fast_common.h.

#define EAP_FAST_SIMCK_LEN   40

Definition at line 20 of file eap_fast_common.h.

#define EAP_FAST_SKS_LEN   40

Definition at line 21 of file eap_fast_common.h.

#define EAP_FAST_VERSION   1

Definition at line 18 of file eap_fast_common.h.

#define PAC_TYPE_A_ID   4

Definition at line 34 of file eap_fast_common.h.

#define PAC_TYPE_A_ID_INFO   7

Definition at line 40 of file eap_fast_common.h.

#define PAC_TYPE_CRED_LIFETIME   3

Definition at line 33 of file eap_fast_common.h.

#define PAC_TYPE_I_ID   5

Definition at line 35 of file eap_fast_common.h.

#define PAC_TYPE_MACHINE_AUTHENTICATION   2

Definition at line 68 of file eap_fast_common.h.

#define PAC_TYPE_PAC_ACKNOWLEDGEMENT   8

Definition at line 41 of file eap_fast_common.h.

#define PAC_TYPE_PAC_INFO   9

Definition at line 42 of file eap_fast_common.h.

#define PAC_TYPE_PAC_KEY   1

Definition at line 31 of file eap_fast_common.h.

#define PAC_TYPE_PAC_OPAQUE   2

Definition at line 32 of file eap_fast_common.h.

#define PAC_TYPE_PAC_TYPE   10

Definition at line 43 of file eap_fast_common.h.

#define PAC_TYPE_TUNNEL_PAC   1

Definition at line 62 of file eap_fast_common.h.

#define PAC_TYPE_USER_AUTHORIZATION   3

Definition at line 65 of file eap_fast_common.h.

#define TLS_EXT_PAC_OPAQUE   35

Definition at line 24 of file eap_fast_common.h.


Function Documentation

void eap_fast_derive_eap_emsk ( const u8 simck,
u8 emsk 
)

Definition at line 166 of file eap_fast_common.c.

void eap_fast_derive_eap_msk ( const u8 simck,
u8 msk 
)

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.

void eap_fast_put_tlv ( struct wpabuf buf,
u16  type,
const void *  data,
u16  len 
)

Definition at line 34 of file eap_fast_common.c.

void eap_fast_put_tlv_buf ( struct wpabuf buf,
u16  type,
const struct wpabuf data 
)

Definition at line 42 of file eap_fast_common.c.

void eap_fast_put_tlv_hdr ( struct wpabuf buf,
u16  type,
u16  len 
)

Definition at line 25 of file eap_fast_common.c.

struct wpabuf* eap_fast_tlv_eap_payload ( struct wpabuf buf  )  [read]

Definition at line 50 of file eap_fast_common.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:01:56 2013