mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-20 10:52:33 +01:00
eapol: Add comment for handling MIC failures
This commit is contained in:
parent
f31407dd46
commit
cf3681efbe
@ -754,6 +754,12 @@ static void eapol_handle_ptk_3_of_4(uint32_t ifindex,
|
|||||||
ek->key_descriptor_version,
|
ek->key_descriptor_version,
|
||||||
sm->replay_counter);
|
sm->replay_counter);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 802.11-2012, Section 11.6.6.4, step b):
|
||||||
|
* Verifies the Message 3 MIC. If the calculated MIC does not match
|
||||||
|
* the MIC that the Authenticator included in the EAPOL-Key frame,
|
||||||
|
* the Supplicant silently discards Message 3.
|
||||||
|
*/
|
||||||
if (!eapol_calculate_mic(ptk->kck, step4, mic))
|
if (!eapol_calculate_mic(ptk->kck, step4, mic))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user