wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
eap_psk_common.c File Reference

EAP server/peer: EAP-PSK shared routines. More...

#include "includes.h"
#include "common.h"
#include "crypto/aes_wrap.h"
#include "eap_defs.h"
#include "eap_psk_common.h"

Macros

#define aes_block_size   16
 

Functions

int eap_psk_key_setup (const u8 *psk, u8 *ak, u8 *kdk)
 
int eap_psk_derive_keys (const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, u8 *emsk)
 

Detailed Description

EAP server/peer: EAP-PSK shared routines.