Cleaned up EAP-MSCHAPv2 key derivation
authorJouni Malinen <j@w1.fi>
Sun, 14 Dec 2008 11:12:20 +0000 (13:12 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Dec 2008 11:12:20 +0000 (13:12 +0200)
commit000a1de72b20a461710667477b98618ad545e941
tree476bdd6eda7cfaddd186cfd8de9466e436289015
parent6e783c6da9eab625732762e7d534159cb02b460c
Cleaned up EAP-MSCHAPv2 key derivation

Changed peer to derive the full key (both MS-MPPE-Recv-Key and
MS-MPPE-Send-Key for total of 32 octets) to match with server
implementation.

Swapped the order of MPPE keys in MSK derivation since server
MS-MPPE-Recv-Key | MS-MPPE-Send-Key matches with the order specified for
EAP-TLS MSK derivation. This means that PEAPv0 cryptobinding is now
using EAP-MSCHAPv2 MSK as-is for ISK while EAP-FAST will need to swap
the order of the MPPE keys to get ISK in a way that interoperates with
Cisco EAP-FAST implementation.
src/eap_peer/eap_fast.c
src/eap_peer/eap_i.h
src/eap_peer/eap_mschapv2.c
src/eap_peer/eap_peap.c
src/eap_peer/eap_ttls.c
src/eap_server/eap_fast.c
src/eap_server/eap_mschapv2.c
src/eap_server/eap_peap.c
wpa_supplicant/eapol_test.c