eap_fast_common.c File Reference

EAP-FAST common helper functions (RFC 4851). More...

#include "includes.h"
#include "common.h"
#include "sha1.h"
#include "tls.h"
#include "eap_defs.h"
#include "eap_tlv_common.h"
#include "eap_fast_common.h"
Include dependency graph for eap_fast_common.c:

Go to the source code of this file.

Defines

#define TLS_RANDOM_LEN   32
#define TLS_MASTER_SECRET_LEN   48

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)

Detailed Description

EAP-FAST common helper functions (RFC 4851).

Copyright
Copyright (c) 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.c.

 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