mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-03-30 22:46:47 +02:00
eapol: Add additional sanity checks for step 2
This commit is contained in:
parent
9b746cd3c1
commit
f9515fbe97
@ -197,6 +197,10 @@ const struct eapol_key *eapol_verify_ptk_2_of_4(const uint8_t *frame,
|
|||||||
if (key_len != 0)
|
if (key_len != 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
VERIFY_IS_ZERO(ek->eapol_key_iv);
|
||||||
|
VERIFY_IS_ZERO(ek->key_rsc);
|
||||||
|
VERIFY_IS_ZERO(ek->reserved);
|
||||||
|
|
||||||
return ek;
|
return ek;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user