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)
commit97f7a47024776f7da55297d2b1867c560a6b4390
tree0deb3e417ba71c33bce35a4bcff00dbdbb14ae7d
parentad732da434a2936128769216eddaece3b1af4588
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