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"
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 wpabuf * | eap_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) |
EAP-FAST common helper functions (RFC 4851).
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.