summaryrefslogtreecommitdiff
path: root/net/mac802154/llsec.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-01-24 16:18:50 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-27 15:36:05 +0300
commit96953718623eb7ee8839ae667dfecad7b257d400 (patch)
tree63b3c1d8b1e4251842b8eaeadfc582d40859a4e1 /net/mac802154/llsec.h
parente59dd982d355a40f08a666ce3ee3feea2af86959 (diff)
downloadlinux-96953718623eb7ee8839ae667dfecad7b257d400.tar.xz
mac802154: Use skcipher
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'net/mac802154/llsec.h')
-rw-r--r--net/mac802154/llsec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac802154/llsec.h b/net/mac802154/llsec.h
index 950578e1d7be..6f3b658e3279 100644
--- a/net/mac802154/llsec.h
+++ b/net/mac802154/llsec.h
@@ -19,7 +19,6 @@
#include <linux/slab.h>
#include <linux/hashtable.h>
-#include <linux/crypto.h>
#include <linux/kref.h>
#include <linux/spinlock.h>
#include <net/af_ieee802154.h>
@@ -30,7 +29,7 @@ struct mac802154_llsec_key {
/* one tfm for each authsize (4/8/16) */
struct crypto_aead *tfm[3];
- struct crypto_blkcipher *tfm0;
+ struct crypto_skcipher *tfm0;
struct kref ref;
};