]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Simplify FTE parsing for FT-SAE-EXT-KEY using MIC Length subfield
authorJouni Malinen <j@w1.fi>
Sun, 20 Nov 2022 09:43:53 +0000 (11:43 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Nov 2022 09:43:53 +0000 (11:43 +0200)
commit40a42613e6f1e6861bec75b551f6766e31c987d4
tree95b07784ab0ce5c87f179d2536a54bb065835a14
parentbb171f0020716649d907fbfc069755aaaae2e940
FT: Simplify FTE parsing for FT-SAE-EXT-KEY using MIC Length subfield

Commit 25b52e5f83f1 ("FT: Extend FTE parsing for FT-SAE-EXT-KEY") used
possible MIC length iteration to try to figure out the length of the MIC
field in FTE. That was the only option available at the time, but FTE is
now being extended in IEEE 802.11-REVme to explicitly indicate the
length of the MIC field for the new FT-SAE-EXT-KEY AKM to make this
easier.

Use the new design from the approved comment resolution (*) in
REVme/D2.0 ballot CID 3135 to simplify implementation. This gets rid of
the need to pass in key length and the somewhat strange need_{r0kh,r1kh}
parameters to wpa_ft_parse_ies().

(*)
https://mentor.ieee.org/802.11/dcn/22/11-22-1991-02-000m-proposed-resolutions-to-some-lb270-comments.docx

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth_ft.c
src/common/wpa_common.c
src/common/wpa_common.h
src/rsn_supp/wpa.c
src/rsn_supp/wpa_ft.c
wlantest/rx_mgmt.c