Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: mac80211: Do not include crypto/algapi.h

The header file crypto/algapi.h is for internal use only. Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/E1qYlA0-006vFr-Ts@formenos.hmeau.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Herbert Xu and committed by
Johannes Berg
8da1985f c4125bf8

+3 -3
+1 -1
net/mac80211/fils_aead.c
··· 5 5 */ 6 6 7 7 #include <crypto/aes.h> 8 - #include <crypto/algapi.h> 9 8 #include <crypto/hash.h> 10 9 #include <crypto/skcipher.h> 10 + #include <crypto/utils.h> 11 11 12 12 #include "ieee80211_i.h" 13 13 #include "aes_cmac.h"
+1 -1
net/mac80211/key.c
··· 9 9 * Copyright 2018-2020, 2022-2023 Intel Corporation 10 10 */ 11 11 12 + #include <crypto/utils.h> 12 13 #include <linux/if_ether.h> 13 14 #include <linux/etherdevice.h> 14 15 #include <linux/list.h> ··· 18 17 #include <linux/slab.h> 19 18 #include <linux/export.h> 20 19 #include <net/mac80211.h> 21 - #include <crypto/algapi.h> 22 20 #include <asm/unaligned.h> 23 21 #include "ieee80211_i.h" 24 22 #include "driver-ops.h"
+1 -1
net/mac80211/wpa.c
··· 15 15 #include <asm/unaligned.h> 16 16 #include <net/mac80211.h> 17 17 #include <crypto/aes.h> 18 - #include <crypto/algapi.h> 18 + #include <crypto/utils.h> 19 19 20 20 #include "ieee80211_i.h" 21 21 #include "michael.h"