aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-10-18 13:20:27 (GMT)
committerJouni Malinen <j@w1.fi>2019-10-18 13:20:27 (GMT)
commitf73dd0a692e588ee8dc9d3ae583b8065f60bfedc (patch)
treeca7fa52505934ef064e906ced86c9cfad4b1aefa /src/common/wpa_common.h
parentcb99259775c14fab4efaf0f48ae14c5669a7a137 (diff)
downloadhostap-f73dd0a692e588ee8dc9d3ae583b8065f60bfedc.zip
hostap-f73dd0a692e588ee8dc9d3ae583b8065f60bfedc.tar.gz
hostap-f73dd0a692e588ee8dc9d3ae583b8065f60bfedc.tar.bz2
FT-SAE: Add RSNXE into FT MIC
Protect RSNXE, if present, in FT Reassociation Request/Response frames. This is needed for SAE H2E with FT. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index c7711f1..beb1ecd 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -364,7 +364,9 @@ int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
const u8 *mdie, size_t mdie_len,
const u8 *ftie, size_t ftie_len,
const u8 *rsnie, size_t rsnie_len,
- const u8 *ric, size_t ric_len, u8 *mic);
+ const u8 *ric, size_t ric_len,
+ const u8 *rsnxe, size_t rsnxe_len,
+ u8 *mic);
int wpa_derive_pmk_r0(const u8 *xxkey, size_t xxkey_len,
const u8 *ssid, size_t ssid_len,
const u8 *mdid, const u8 *r0kh_id, size_t r0kh_id_len,
@@ -461,6 +463,8 @@ struct wpa_ft_ies {
size_t ric_len;
int key_mgmt;
int pairwise_cipher;
+ const u8 *rsnxe;
+ size_t rsnxe_len;
};
int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, struct wpa_ft_ies *parse,