aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-06-04 22:31:43 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-05 17:16:37 (GMT)
commita7968ea5689b107152ef50624a7133c339ee202c (patch)
tree5207a4186235644b387b2a14ef55a0cc2d7bc99f /src/ap/wpa_auth_i.h
parent06f12866070652524b2ce6804ead2f2ffabdb5fb (diff)
downloadhostap-a7968ea5689b107152ef50624a7133c339ee202c.zip
hostap-a7968ea5689b107152ef50624a7133c339ee202c.tar.gz
hostap-a7968ea5689b107152ef50624a7133c339ee202c.tar.bz2
FT: FTE generation for SHA384-based AKM on AP
The MIC field is now a variable length field, so make FTE generation in hostapd aware of the two different field lengths. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 676e4bf..b1cea1b 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -277,8 +277,8 @@ int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
#ifdef CONFIG_IEEE80211R_AP
int wpa_write_mdie(struct wpa_auth_config *conf, u8 *buf, size_t len);
-int wpa_write_ftie(struct wpa_auth_config *conf, const u8 *r0kh_id,
- size_t r0kh_id_len,
+int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384,
+ const u8 *r0kh_id, size_t r0kh_id_len,
const u8 *anonce, const u8 *snonce,
u8 *buf, size_t len, const u8 *subelem,
size_t subelem_len);