diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-13 08:54:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-18 11:01:10 +0200 |
commit | 68021dee251e72d87ebbf052acf69b3217c11383 (patch) | |
tree | 40177bb1b75a34a0ec7a07139c0eb9607654c6f5 /crypto | |
parent | crypto: jh7110 - Include crypto/hash.h in header file (diff) | |
download | linux-68021dee251e72d87ebbf052acf69b3217c11383.tar.xz linux-68021dee251e72d87ebbf052acf69b3217c11383.zip |
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.c | 7 |
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" |