aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/peerkey.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-09-02 19:55:03 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-10 18:11:46 (GMT)
commit6d014ffc6e654e7e802263c55ce568df153a1e1c (patch)
tree4c73dfdd2e159d506420c43ec228a31a0ec656a8 /src/rsn_supp/peerkey.h
parent94f66e8a26df9144d5bc33fe49d29fa222f047ef (diff)
downloadhostap-6d014ffc6e654e7e802263c55ce568df153a1e1c.zip
hostap-6d014ffc6e654e7e802263c55ce568df153a1e1c.tar.gz
hostap-6d014ffc6e654e7e802263c55ce568df153a1e1c.tar.bz2
Make struct wpa_eapol_key easier to use with variable length MIC
Suite B 192-bit addition from IEEE Std 802.11ac-2013 replaced the previous fixed length Key MIC field with a variable length field. That change was addressed with an addition of a new struct defined for the second MIC length. This is not really scalable and with FILS coming up with a zero-length MIC case for AEAD, a more thorough change to support variable length MIC is needed. Remove the Key MIC and Key Data Length fields from the struct wpa_eapol_key and find their location based on the MIC length information (which is determined by the AKMP). This change allows the separate struct wpa_eapol_key_192 to be removed since struct wpa_eapol_key will now include only the fixed length fields that are shared with all EAPOL-Key cases in IEEE Std 802.11. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/rsn_supp/peerkey.h')
-rw-r--r--src/rsn_supp/peerkey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/peerkey.h b/src/rsn_supp/peerkey.h
index 6ccd948..f3d07f3 100644
--- a/src/rsn_supp/peerkey.h
+++ b/src/rsn_supp/peerkey.h
@@ -38,7 +38,7 @@ struct wpa_peerkey {
int peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
struct wpa_peerkey *peerkey,
- struct wpa_eapol_key_192 *key, u16 ver,
+ struct wpa_eapol_key *key, u16 ver,
const u8 *buf, size_t len);
void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
struct wpa_eapol_key *key, u16 key_info, u16 ver,