ERP: Add support for ERP on EAP peer
authorJouni Malinen <j@w1.fi>
Sat, 29 Nov 2014 21:14:40 +0000 (23:14 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 4 Dec 2014 10:16:29 +0000 (12:16 +0200)
commit02a8d45ace2933dd7ecc7509206d170ac6c44357
tree0475b8bd1903cdab2e06f1e373325a737f23adb7
parentd3bddd8b84dc345f7aa0c20536f45a68e0a5ba85
ERP: Add support for ERP on EAP peer

Derive rRK and rIK on EAP peer if ERP is enabled. The new wpa_supplicant
network configuration parameter erp=1 can now be used to configure the
EAP peer to derive EMSK, rRK, and rIK at the successful completion of an
EAP authentication method. This functionality is not included in the
default build and can be enabled with CONFIG_ERP=y.

If EAP authenticator indicates support for re-authentication protocol,
initiate this with EAP-Initiate/Re-auth and complete protocol when
receiving EAP-Finish/Re-auth.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap.c
src/eap_peer/eap.h
src/eap_peer/eap_config.h
src/eap_peer/eap_i.h
src/eapol_supp/eapol_supp_sm.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile
wpa_supplicant/config.c
wpa_supplicant/config_file.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_supplicant.conf