mac80211/wpa: use constant time memory comparison for MACs
authorJason A. Donenfeld <[email protected]>
Sat, 10 Jun 2017 02:59:12 +0000 (04:59 +0200)
committerJohannes Berg <[email protected]>
Tue, 13 Jun 2017 08:24:34 +0000 (10:24 +0200)
commit98c67d187db7808b1f3c95f2110dd4392d034182
treeeafa0fac1f1551cac32b8326e955cb20b516e6f9
parentc87905bec5dad66aa6bb43d11502cafdb33e07db
mac80211/wpa: use constant time memory comparison for MACs

Otherwise, we enable all sorts of forgeries via timing attack.

Signed-off-by: Jason A. Donenfeld <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Johannes Berg <[email protected]>
net/mac80211/wpa.c