]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: unify CCMP/GCMP AAD construction
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 May 2022 08:51:52 +0000 (10:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 May 2022 07:10:38 +0000 (09:10 +0200)
commitabcb8a21a59ebe69cbc3b7483bd298342d94cccb
tree0deb3e417ba71c33bce35a4bcff00dbdbb14ae7d
parent1dbb5ff4ec0a2c094ee819dd47de13e5470c0435
mac80211: unify CCMP/GCMP AAD construction

Ping-Ke's previous patch adjusted the CCMP AAD construction
to properly take the order bit into account, but failed to
update the (identical) GCMP AAD construction as well.

Unify the AAD construction between the two cases.

Reported-by: Jouni Malinen <j@w1.fi>
Link: https://lore.kernel.org/r/20220506105150.51d66e2a6f3c.I65f12be82c112365169e8a9f48c7a71300e814b9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wpa.c