mac80211: fix CMAC races
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2011 20:00:35 +0000 (22:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:11:20 +0000 (11:11 -0400)
commit75396ae6d433b49482e377e6f8dbf1f42ad53f3a
tree07fb506f08f3cca7d67d2fd365cc059240b6957b
parentaba83a0b301c32dbb91c017f33307611e1a1d384
mac80211: fix CMAC races

Just like TKIP and CCMP, CMAC has the PN race.
It might not actually be possible to hit it now
since there aren't multiple ACs for management
frames, but fix it anyway.

Also move scratch buffers onto the stack.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/aes_cmac.c
net/mac80211/aes_cmac.h
net/mac80211/cfg.c
net/mac80211/debugfs_key.c
net/mac80211/key.h
net/mac80211/wpa.c