summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-08-13 09:54:36 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-18 12:01:10 +0300
commit68021dee251e72d87ebbf052acf69b3217c11383 (patch)
tree40177bb1b75a34a0ec7a07139c0eb9607654c6f5 /crypto
parent1c27c0ca220b42fb8b727d68b58693b77cbd095d (diff)
downloadlinux-68021dee251e72d87ebbf052acf69b3217c11383.tar.xz
crypto: engine - Move crypto inclusions out of header file
The engine file does not need the actual crypto type definitions so move those header inclusions to where they are actually used. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/crypto_engine.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/crypto_engine.c b/crypto/crypto_engine.c
index 17f7955500a0..ba43dfba2fa9 100644
--- a/crypto/crypto_engine.c
+++ b/crypto/crypto_engine.c
@@ -7,10 +7,15 @@
* Author: Baolin Wang <baolin.wang@linaro.org>
*/
+#include <crypto/aead.h>
+#include <crypto/akcipher.h>
+#include <crypto/engine.h>
+#include <crypto/hash.h>
+#include <crypto/kpp.h>
+#include <crypto/skcipher.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/device.h>
-#include <crypto/engine.h>
#include <uapi/linux/sched/types.h>
#include "internal.h"