hostap/src/rsn_supp
Jouni Malinen ad00d64e7d Fix TK configuration to the driver in EAPOL-Key 3/4 retry case
Commit 7d711541dc ('Clear TK part of PTK
after driver key configuration') started clearing TK from memory
immediately after having configured it to the driver when processing
EAPOL-Key message 3/4. While this covered the most common case, it did
not take into account the possibility of the authenticator having to
retry EAPOL-Key message 3/4 in case the first EAPOL-Key message 4/4
response is lost. That case ended up trying to reinstall the same TK to
the driver, but the key was not available anymore.

Fix the EAPOL-Key message 3/4 retry case by configuring TK to the driver
only once. There was no need to try to set the same key after each
EAPOL-Key message 3/4 since TK could not change. If actual PTK rekeying
is used, the new TK will be configured once when processing the new
EAPOL-Key message 3/4 for the first time.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-10-01 18:54:54 +03:00
..
Makefile tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
peerkey.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
peerkey.h Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
pmksa_cache.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
pmksa_cache.h Suite B: PMKID derivation for AKM 00-0F-AC:11 2014-11-16 17:09:11 +02:00
preauth.c Fix resource leaks on rsn_preauth_init() error paths 2015-01-31 13:44:48 +02:00
preauth.h Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
tdls.c TDLS: Use proper IE parsing routine for non-EAPOL-Key cases 2015-09-05 20:51:11 +03:00
wpa.c Fix TK configuration to the driver in EAPOL-Key 3/4 retry case 2015-10-01 18:54:54 +03:00
wpa.h Preparations for variable length KCK and KEK 2015-01-27 01:26:49 +02:00
wpa_ft.c FT: Allow CCMP-256 and GCMP-256 as group ciphers 2015-07-07 16:25:06 +03:00
wpa_i.h Fix TK configuration to the driver in EAPOL-Key 3/4 retry case 2015-10-01 18:54:54 +03:00
wpa_ie.c Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00
wpa_ie.h Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00