]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Fix FTE MIC calculation with fragmented FTE
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Thu, 4 Jul 2024 06:39:43 +0000 (12:09 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 15 Jul 2024 14:51:44 +0000 (10:51 -0400)
commitc3d305d9395b9f6287800a2bdde91b440a985a35
treed1a3b55075da9d8fb3684d3fa2bf76d97d0d6ade
parente7172e26d3ebe962150a2e579e40d3a69e8f7304
FT: Fix FTE MIC calculation with fragmented FTE

Currently wpa_ft_parse_ies() is setting FTE information to wpa_buf
pointer data which is generated after defragmentation. This data will
not contain FTE and Fragment element(s) headers.

IEEE P802.11be/D5.0 describes the MIC to be calculated on the
concatenation of FTE and corresponding Fragment element(s) which
implies the element headers are included for each element in the
fragmented case.

Fix this by correctly populating FTE information when FTE is
fragmented.

Fixes: 43b5f11d9 ("Defragmentation of FTE")
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/common/wpa_common.c