aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-06-04 12:16:54 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-05 16:29:52 (GMT)
commita3e18dbb6aeaac79151ea5386b3606f3c973f126 (patch)
tree64fe45472189c534d8701b1fd4abce06f0f6e3eb /src/ap/wpa_auth_i.h
parentc22bb5bba67ebff77051881c9ead7e3fef3e259b (diff)
downloadhostap-a3e18dbb6aeaac79151ea5386b3606f3c973f126.zip
hostap-a3e18dbb6aeaac79151ea5386b3606f3c973f126.tar.gz
hostap-a3e18dbb6aeaac79151ea5386b3606f3c973f126.tar.bz2
FT: Support variable length keys
This is a step in adding support for SHA384-based FT AKM. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 9f797e9..676e4bf 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -112,7 +112,8 @@ struct wpa_state_machine {
u32 dot11RSNAStatsTKIPRemoteMICFailures;
#ifdef CONFIG_IEEE80211R_AP
- u8 xxkey[PMK_LEN]; /* PSK or the second 256 bits of MSK */
+ u8 xxkey[PMK_LEN_MAX]; /* PSK or the second 256 bits of MSK, or the
+ * first 384 bits of MSK */
size_t xxkey_len;
u8 pmk_r1_name[WPA_PMK_NAME_LEN]; /* PMKR1Name derived from FT Auth
* Request */