hostapd/src/rsn_supp
Jouni Malinen bc36991791 Use Secure=1 in PTK rekeying EAPOL-Key msg 1/4 and 2/4
IEEE Std 802.11-2020 is ambiguous on how the Secure bit is set in
EAPOL-Key msg 1/4 and 2/4 in the case where 4-way handshake is use to
rekey the PTK. 12.7.2 describes this with "set to 1 once the initial key
exchange is complete" while 12.7.6 shows EAPOL-Key msg 1/4 and 2/4 using
Secure=0 without any consideration on whether the handshake is for
rekeying.

TGme seems to be moving towards clarifying this to use Secure=1 based on
there being a shared PTKSA between the Authenticator and the Supplicant.
In other words, this would use Secure=1 in EAPOL-Key msg 1/4 and 2/4 in
the case of rekeying. Change implementation to match that. This bit was
already practically ignored on the reception side, so this should not
have impact on actual functionality beyond this one bit changing its
value in the frame.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2022-05-16 17:47:17 +03:00
..
Makefile build: Make more library things common 2020-10-12 20:20:35 +03:00
pmksa_cache.c SAE: Do not expire the current PMKSA cache entry 2021-10-18 21:20:52 +03:00
pmksa_cache.h SAE: Do not expire the current PMKSA cache entry 2021-10-18 21:20:52 +03:00
preauth.c Provide information about the encryption status of received EAPOL frames 2022-05-07 21:37:03 +03:00
preauth.h Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y 2016-01-15 20:04:41 +02:00
tdls.c TDLS: Support TDLS operations in HE mode for 6 GHz 2021-07-29 20:07:25 +03:00
wpa.c Use Secure=1 in PTK rekeying EAPOL-Key msg 1/4 and 2/4 2022-05-16 17:47:17 +03:00
wpa.h Provide information about the encryption status of received EAPOL frames 2022-05-07 21:37:03 +03:00
wpa_ft.c Fix no_encrypt flag in control port TX for rekeying 2022-05-07 18:54:09 +03:00
wpa_i.h Fix no_encrypt flag in control port TX for rekeying 2022-05-07 18:54:09 +03:00
wpa_ie.c RSN: Add RSNXE new definitions 2021-01-26 23:08:27 +02:00
wpa_ie.h Use a shared helper function for RSN supplicant capabilities 2020-03-23 11:47:31 +02:00