summaryrefslogtreecommitdiff
path: root/crypto/serpent_generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-11-25 12:36:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-02 18:12:40 +0800
commit14386d471322a204344ae81a28738b71e261d3a0 (patch)
tree672ae18644ae3c6e529acb5ee6f814329232b996 /crypto/serpent_generic.c
parent7bcceb4c9896b1b672b636ae70fe75110d6bf1ad (diff)
downloadlwn-14386d471322a204344ae81a28738b71e261d3a0.tar.gz
lwn-14386d471322a204344ae81a28738b71e261d3a0.zip
crypto: Prepare to move crypto_tfm_ctx
The helper crypto_tfm_ctx is only used by the Crypto API algorithm code and should really be in algapi.h. However, for historical reasons many files relied on it to be in crypto.h. This patch changes those files to use algapi.h instead in prepartion for a move. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/serpent_generic.c')
-rw-r--r--crypto/serpent_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/serpent_generic.c b/crypto/serpent_generic.c
index 45f98b750053..c6bca47931e2 100644
--- a/crypto/serpent_generic.c
+++ b/crypto/serpent_generic.c
@@ -7,11 +7,11 @@
* Copyright (C) 2002 Dag Arne Osvik <osvik@ii.uib.no>
*/
+#include <crypto/algapi.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <asm/unaligned.h>
-#include <linux/crypto.h>
#include <linux/types.h>
#include <crypto/serpent.h>