]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPA: Extend the wpa_pmk_to_ptk() function to also derive KDK
authorIlan Peer <ilan.peer@intel.com>
Wed, 16 Dec 2020 11:00:17 +0000 (13:00 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 25 Jan 2021 16:36:40 +0000 (18:36 +0200)
commit46c232eb762c01ad162696efa448e358c48d48ff
tree87529cef8ad03762207635afc68843d887e8d597
parent019507e10ebb822291656c2257e6cc8782c96dd1
WPA: Extend the wpa_pmk_to_ptk() function to also derive KDK

Extend the wpa_pmk_to_ptk() to also derive Key Derivation
Key (KDK), which can later be used for secure LTF measurements.

Update the wpa_supplicant and hostapd configuration and the
corresponding WPA and WPA Auth state machine, to allow enabling of KDK
derivation. For now, use a testing parameter to control whether KDK is
derived.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
14 files changed:
hostapd/config_file.c
src/ap/ap_config.h
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_glue.c
src/common/wpa_common.c
src/common/wpa_common.h
src/rsn_supp/wpa.c
src/rsn_supp/wpa.h
src/rsn_supp/wpa_i.h
wlantest/rx_eapol.c
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/wpas_glue.c