]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mac802154: Include crypto/aead.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 07:06:33 +0000 (15:06 +0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 19:43:05 +0000 (14:43 -0500)
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>
(cherry picked from commit 8a1a2b717e0d4d5f3e3bb59b7dee5079a15ab24b)

Orabug: 24614549

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
net/mac802154/llsec.c

index 5b2be12832e65fca351dec5a61619c1042de9004..67edcacadbcb7321375276d26ffb94bb84d64bde 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"