浏览代码

mac80211: Include crypto/aead.h

All users of AEAD should include crypto/aead.h instead of
include/linux/crypto.h.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Herbert Xu 10 年之前
父节点
当前提交
d8fe0ddd02
共有 3 个文件被更改,包括 3 次插入5 次删除
  1. 1 2
      net/mac80211/aes_ccm.c
  2. 1 2
      net/mac80211/aes_gcm.c
  3. 1 1
      net/mac80211/aes_gmac.c

+ 1 - 2
net/mac80211/aes_ccm.c

@@ -11,9 +11,8 @@
 
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/crypto.h>
 #include <linux/err.h>
-#include <crypto/aes.h>
+#include <crypto/aead.h>
 
 #include <net/mac80211.h>
 #include "key.h"

+ 1 - 2
net/mac80211/aes_gcm.c

@@ -8,9 +8,8 @@
 
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/crypto.h>
 #include <linux/err.h>
-#include <crypto/aes.h>
+#include <crypto/aead.h>
 
 #include <net/mac80211.h>
 #include "key.h"

+ 1 - 1
net/mac80211/aes_gmac.c

@@ -9,8 +9,8 @@
 
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/crypto.h>
 #include <linux/err.h>
+#include <crypto/aead.h>
 #include <crypto/aes.h>
 
 #include <net/mac80211.h>