aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-10-17 13:54:05 (GMT)
committerJouni Malinen <j@w1.fi>2019-10-17 13:54:05 (GMT)
commit6d6c887751bf6cb9a30a64640766478e7b45b6c4 (patch)
treeda3aaca581c38bdde327ec9c68da2b0e2ba2938a /src/rsn_supp/wpa_i.h
parent8401cdc8d4b6e31764431683a1fc553e0f347c8e (diff)
downloadhostap-6d6c887751bf6cb9a30a64640766478e7b45b6c4.zip
hostap-6d6c887751bf6cb9a30a64640766478e7b45b6c4.tar.gz
hostap-6d6c887751bf6cb9a30a64640766478e7b45b6c4.tar.bz2
SAE: Add RSNXE in Association Request and EAPOL-Key msg 2/4
Add the new RSNXE into (Re)Association Request frames and EAPOL-Key msg 2/4 when using SAE with hash-to-element mechanism enabled. This allows the AP to verify that there was no downgrade attack when both PWE derivation mechanisms are enabled. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/rsn_supp/wpa_i.h')
-rw-r--r--src/rsn_supp/wpa_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rsn_supp/wpa_i.h b/src/rsn_supp/wpa_i.h
index 16224c9..2a43342 100644
--- a/src/rsn_supp/wpa_i.h
+++ b/src/rsn_supp/wpa_i.h
@@ -85,9 +85,12 @@ struct wpa_sm {
int rsn_enabled; /* Whether RSN is enabled in configuration */
int mfp; /* 0 = disabled, 1 = optional, 2 = mandatory */
int ocv; /* Operating Channel Validation */
+ int sae_pwe; /* SAE PWE generation options */
u8 *assoc_wpa_ie; /* Own WPA/RSN IE from (Re)AssocReq */
size_t assoc_wpa_ie_len;
+ u8 *assoc_rsnxe; /* Own RSNXE from (Re)AssocReq */
+ size_t assoc_rsnxe_len;
u8 *ap_wpa_ie, *ap_rsn_ie, *ap_rsnxe;
size_t ap_wpa_ie_len, ap_rsn_ie_len, ap_rsnxe_len;