aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-01-23 20:46:51 (GMT)
committerJouni Malinen <j@w1.fi>2020-01-23 22:47:41 (GMT)
commit8b138d28264e44a11fa3f4254a43efc24b99d779 (patch)
tree054c8f4202b11af1f8de893960e622e03670d1b8 /wpa_supplicant/config_ssid.h
parent65a44e849af99adc9ec215ef447428bd1d7b2c64 (diff)
downloadhostap-8b138d28264e44a11fa3f4254a43efc24b99d779.zip
hostap-8b138d28264e44a11fa3f4254a43efc24b99d779.tar.gz
hostap-8b138d28264e44a11fa3f4254a43efc24b99d779.tar.bz2
OWE: PTK derivation workaround in STA mode
Initial OWE implementation used SHA256 when deriving the PTK for all OWE groups. This was supposed to change to SHA384 for group 20 and SHA512 for group 21. The new owe_ptk_workaround=1 network parameter can be used to enable older behavior mainly for testing purposes. There is no impact to group 19 behavior, but if enabled, this will make group 20 and 21 cases use SHA256-based PTK derivation which will not work with the updated OWE implementation on the AP side. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 98db1fe..b752dfd 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -1009,6 +1009,19 @@ struct wpa_ssid {
int owe_only;
/**
+ * owe_ptk_workaround - OWE PTK derivation workaround
+ *
+ * Initial OWE implementation used SHA256 when deriving the PTK for all
+ * OWE groups. This was supposed to change to SHA384 for group 20 and
+ * SHA512 for group 21. This parameter can be used to enable older
+ * behavior mainly for testing purposes. There is no impact to group 19
+ * behavior, but if enabled, this will make group 20 and 21 cases use
+ * SHA256-based PTK derivation which will not work with the updated
+ * OWE implementation on the AP side.
+ */
+ int owe_ptk_workaround;
+
+ /**
* owe_transition_bss_select_count - OWE transition BSS select count
*
* This is an internally used variable (i.e., not used in external