Deleted Added
full compact
eap_fast_common.h (302408) eap_fast_common.h (337817)
1/*
2 * EAP-FAST definitions (RFC 4851)
3 * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8

--- 84 unchanged lines hidden (view full) ---

93void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data,
94 u16 len);
95void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
96 const struct wpabuf *data);
97struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf);
98void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
99 const u8 *client_random, u8 *master_secret);
100u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn,
1/*
2 * EAP-FAST definitions (RFC 4851)
3 * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8

--- 84 unchanged lines hidden (view full) ---

93void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data,
94 u16 len);
95void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
96 const struct wpabuf *data);
97struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf);
98void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
99 const u8 *client_random, u8 *master_secret);
100u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn,
101 const char *label, size_t len);
102void eap_fast_derive_eap_msk(const u8 *simck, u8 *msk);
103void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
101 size_t len);
102int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk);
103int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
104int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
105 int tlv_type, u8 *pos, size_t len);
106
107#endif /* EAP_FAST_H */
104int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
105 int tlv_type, u8 *pos, size_t len);
106
107#endif /* EAP_FAST_H */