hostapd/src/eap_server
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
..
eap.h ERP: Update client identity based on EAP-Initiate/Re-auth 2016-10-22 23:13:17 +03:00
eap_i.h EAP server: Add tls_session_lifetime configuration 2015-08-24 02:29:30 +03:00
eap_methods.h EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server.c ERP: Fix rIK derivation 2017-02-03 15:34:59 +02:00
eap_server_aka.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_eke.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_fast.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_server_gpsk.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_gtc.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_identity.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_ikev2.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_md5.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_methods.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_mschapv2.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_pax.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_peap.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_psk.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_pwd.c EAP-pwd: Validate Prep field in EAP-pwd-ID/Response 2016-10-08 19:43:36 +03:00
eap_server_sake.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_sim.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_tls.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_tls_common.c TLS: Split tls_connection_prf() into two functions 2016-05-23 20:40:12 +03:00
eap_server_tnc.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_ttls.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_vendor_test.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_wsc.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_sim_db.c eap_sim_db: Implement eap_sim_db_expire_pending() 2015-10-31 16:28:16 +02:00
eap_sim_db.h eap_sim_db: Implement eap_sim_db_expire_pending() 2015-10-31 16:28:16 +02:00
eap_tls_common.h EAP server: Disable TLS session ticket with EAP-TLS/TTLS/PEAP 2015-08-24 02:29:30 +03:00
ikev2.c EAP-IKEv2 server: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +03:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
tncs.c TNCS: Mark functions static 2016-06-24 19:02:47 +03:00
tncs.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00