eap_fast_common.c File Reference

#include "includes.h"
#include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_defs.h"
#include "eap_tlv_common.h"
Include dependency graph for eap_fast_common.c:
This graph shows which files directly or indirectly include this file:

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)
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)

Define Documentation

#define TLS_MASTER_SECRET_LEN   48
#define TLS_RANDOM_LEN   32

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.

 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