EAP server/peer: EAP-PSK shared routines. More...
Go to the source code of this file.
Data Structures | |
struct | eap_psk_hdr_1 |
struct | eap_psk_hdr_2 |
struct | eap_psk_hdr_3 |
struct | eap_psk_hdr_4 |
Defines | |
#define | EAP_PSK_RAND_LEN 16 |
#define | EAP_PSK_MAC_LEN 16 |
#define | EAP_PSK_TEK_LEN 16 |
#define | EAP_PSK_PSK_LEN 16 |
#define | EAP_PSK_AK_LEN 16 |
#define | EAP_PSK_KDK_LEN 16 |
#define | EAP_PSK_R_FLAG_CONT 1 |
#define | EAP_PSK_R_FLAG_DONE_SUCCESS 2 |
#define | EAP_PSK_R_FLAG_DONE_FAILURE 3 |
#define | EAP_PSK_E_FLAG 0x20 |
#define | EAP_PSK_FLAGS_GET_T(flags) (((flags) & 0xc0) >> 6) |
#define | EAP_PSK_FLAGS_SET_T(t) ((u8) (t) << 6) |
Functions | |
int __must_check | eap_psk_key_setup (const u8 *psk, u8 *ak, u8 *kdk) |
int __must_check | eap_psk_derive_keys (const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, u8 *emsk) |
Variables | |
struct eap_psk_hdr_1 | STRUCT_PACKED |
EAP server/peer: EAP-PSK shared routines.
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_psk_common.h.