eap_fast_common.h File Reference

EAP-FAST definitions (RFC 4851). More...

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

Go to the source code of this file.

Data Structures

struct  pac_tlv_hdr
struct  eap_fast_key_block_provisioning
struct  eap_fast_tlv_parse

Defines

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

Functions

void eap_fast_put_tlv_hdr (struct wpabuf *buf, u16 type, u16 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)
struct wpabufeap_fast_tlv_eap_payload (struct wpabuf *buf)
void eap_fast_derive_master_secret (const u8 *pac_key, const u8 *server_random, const u8 *client_random, u8 *master_secret)
u8 * eap_fast_derive_key (void *ssl_ctx, struct tls_connection *conn, const char *label, size_t len)
void eap_fast_derive_eap_msk (const u8 *simck, u8 *msk)
void eap_fast_derive_eap_emsk (const u8 *simck, u8 *emsk)
int eap_fast_parse_tlv (struct eap_fast_tlv_parse *tlv, int tlv_type, u8 *pos, int len)

Variables

struct pac_tlv_hdr STRUCT_PACKED

Detailed Description

EAP-FAST definitions (RFC 4851).

Copyright
Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file eap_fast_common.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:20:53 2009 for hostapd by  doxygen 1.6.1