mac802154: Include crypto/aead.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 07:06:33 +0000 (15:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:11 +0000 (14:18 +0800)
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>
net/mac802154/llsec.c

index dcf73958133a0d6d0c28f825f648b13cc9ef478b..3ccf1e9b222925fadccd47a0b14f610a6020308c 100644 (file)
@@ -17,8 +17,9 @@
 #include <linux/err.h>
 #include <linux/bug.h>
 #include <linux/completion.h>
+#include <linux/crypto.h>
 #include <linux/ieee802154.h>
-#include <crypto/algapi.h>
+#include <crypto/aead.h>
 
 #include "ieee802154_i.h"
 #include "llsec.h"