Mathy Vanhoef 53bb18cc8b Prevent installation of an all-zero TK
Properly track whether a PTK has already been installed to the driver
and the TK part cleared from memory. This prevents an attacker from
trying to trick the client into installing an all-zero TK.

This fixes the earlier fix in commit
ad00d64e7d8827b3cebd665a0ceb08adabf15e1e ('Fix TK configuration to the
driver in EAPOL-Key 3/4 retry case') which did not take into account
possibility of an extra message 1/4 showing up between retries of
message 3/4.

Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
2017-10-16 02:03:47 +03:00
..
2017-10-10 01:17:33 +03:00
2017-06-19 21:13:15 +03:00
2017-06-19 21:13:15 +03:00
2017-06-19 21:13:15 +03:00
2017-06-19 21:13:15 +03:00
2015-04-22 11:44:19 +03:00
2016-03-27 21:44:49 +03:00
2015-12-28 17:21:08 +02:00
2014-05-17 20:05:55 +03:00
2016-02-07 12:20:38 +02:00