]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: refactor CMAC crypt functions
authorChien Wong <m@xv97.com>
Thu, 13 Nov 2025 14:05:10 +0000 (22:05 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Nov 2025 10:56:19 +0000 (11:56 +0100)
commita22fb19244cb2425b075106541bd5b3eee42730c
treeaf66d2664b55e0ed5c5d6944c6c4a6bc1f58532f
parentedf62602fcbbc0440565ed18372a01e4c7bc9a9d
wifi: mac80211: refactor CMAC crypt functions

ieee80211_aes_cmac() and ieee80211_aes_cmac_256() are almost the same.
Merge them. This removes duplication.

Signed-off-by: Chien Wong <m@xv97.com>
Link: https://patch.msgid.link/20251113140511.48658-5-m@xv97.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/aes_cmac.c
net/mac80211/aes_cmac.h
net/mac80211/wpa.c