aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-22 03:06:33 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 02:18:11 -0400
commit8a1a2b717e0d4d5f3e3bb59b7dee5079a15ab24b (patch)
tree05a6a129f46920dc3c98a46130ff54dfcb029491 /net/mac802154
parentd8fe0ddd0256711e9cf2c539e77c341daa0eb2cf (diff)
mac802154: Include crypto/aead.h
All users of AEAD should include crypto/aead.h instead of include/linux/crypto.h. This patch also removes a bogus inclusion of algapi.h which should only be used by algorithm/driver implementors and not crypto users. Instead linux/crypto.h is added which is necessary because mac802154 also uses blkcipher in addition to aead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
-rw-r--r--net/mac802154/llsec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac802154/llsec.c b/net/mac802154/llsec.c
index dcf73958133a..3ccf1e9b2229 100644
--- a/net/mac802154/llsec.c
+++ b/net/mac802154/llsec.c
@@ -17,8 +17,9 @@
17#include <linux/err.h> 17#include <linux/err.h>
18#include <linux/bug.h> 18#include <linux/bug.h>
19#include <linux/completion.h> 19#include <linux/completion.h>
20#include <linux/crypto.h>
20#include <linux/ieee802154.h> 21#include <linux/ieee802154.h>
21#include <crypto/algapi.h> 22#include <crypto/aead.h>
22 23
23#include "ieee802154_i.h" 24#include "ieee802154_i.h"
24#include "llsec.h" 25#include "llsec.h"