aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-09-05 09:38:32 (GMT)
committerJouni Malinen <j@w1.fi>2019-10-15 12:39:22 (GMT)
commit85e64e634d440f03a80cfdb5aed7eb4928415ea1 (patch)
treef8ea7a43ae3da4886cf22b4d38fb757396b4b246 /wpa_supplicant/config.h
parenta36e13a7cd1277c8bb64b8dbcc7def5d7009d6fa (diff)
downloadhostap-85e64e634d440f03a80cfdb5aed7eb4928415ea1.zip
hostap-85e64e634d440f03a80cfdb5aed7eb4928415ea1.tar.gz
hostap-85e64e634d440f03a80cfdb5aed7eb4928415ea1.tar.bz2
SAE: Add sae_pwe configuration parameter for wpa_supplicant
This parameter can be used to specify which PWE derivation mechanism(s) is enabled. This commit is only introducing the new parameter; actual use of it will be address in separate commits. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 1734e00..326ac61 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1165,6 +1165,14 @@ struct wpa_config {
int *sae_groups;
/**
+ * sae_pwe - SAE mechanism for PWE derivation
+ * 0 = hunting-and-pecking loop only
+ * 1 = hash-to-element only
+ * 2 = both hunting-and-pecking loop and hash-to-element enabled
+ */
+ int sae_pwe;
+
+ /**
* sae_pmkid_in_assoc - Whether to include PMKID in SAE Assoc Req
*/
int sae_pmkid_in_assoc;