Skip to content

Commit

Permalink
mac802154: Include crypto/aead.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
  • Loading branch information
herbertx committed Apr 23, 2015
1 parent d8fe0dd commit 8a1a2b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/mac802154/llsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8a1a2b7

Please sign in to comment.