hostapd/src
Jouni Malinen bb3ea71a23 ERP: Fix rIK derivation
Unlike the EMSKname and rRK derivations, rIK derivation is actually
using the "optional data" component in the context data (see RFC 5295).
RFC 6696 defines that optional data to be the cryptosuite field for rIK.
This was missing from the previous implementation and that resulted in
incorrect rIK being derived.

In addition, the rIK Label string does not actually include the "EAP "
prefix in the way as the rRK Label in RFC 6696 does. This would also
have resulted in incorrect rIK value.

Fix rIK derivation by adding the cryptosuite value into the KDF context
data and fixing the label string. This change is not backwards
compatible and breaks all ERP use cases (including FILS shared key
authentication) with older (broken) and new (fixed)
hostapd/wpa_supplicant builds.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-03 15:34:59 +02:00
..
ap FILS: DHCP relay for HLP requests 2017-02-01 18:17:39 +02:00
common FILS: Parse and report received FILS HLP Containers from response 2017-02-01 18:17:39 +02:00
crypto OpenSSL/BoringSSL: Read certificate chain from client_cert on Android 2017-01-30 01:54:30 +02:00
drivers nl80211: Do not reset vendor_scan_cookie after scan timeout 2017-01-30 01:54:30 +02:00
eap_common Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_peer ERP: Fix rIK derivation 2017-02-03 15:34:59 +02:00
eap_server ERP: Fix rIK derivation 2017-02-03 15:34:59 +02:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Remove trailing whitespace 2016-12-28 14:31:42 +02:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet Remove trailing whitespace 2016-12-28 14:31:42 +02:00
p2p P2P: Fix compilation warning in p2p_add_device() 2016-12-30 00:49:24 +02:00
pae mka: Make MKA actor priority configurable 2016-12-25 11:41:46 +02:00
radius Remove trailing whitespace 2016-12-28 14:31:42 +02:00
rsn_supp FILS: Parse and report received FILS HLP Containers from response 2017-02-01 18:17:39 +02:00
tls Remove trailing whitespace 2016-12-28 14:31:42 +02:00
utils hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wps Share a single str_starts() implementation 2016-08-06 12:38:21 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00