summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-08-13 14:54:41 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-18 17:01:10 +0800
commit45c461c503a7a12f4c5efaff289be17a442aeefe (patch)
tree101f8902eedc78ce2a1ed8f8dc252e713ab75940
parent2d6a79cc2ade0b3e67e66393a6183284e87b87f6 (diff)
downloadlinux-stable-45c461c503a7a12f4c5efaff289be17a442aeefe.tar.gz
linux-stable-45c461c503a7a12f4c5efaff289be17a442aeefe.tar.bz2
linux-stable-45c461c503a7a12f4c5efaff289be17a442aeefe.zip
crypto: engine - Create internal/engine.h
Create crypto/internal/engine.h to house details that should not be used by drivers. It is empty for the time being. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/crypto_engine.c2
-rw-r--r--include/crypto/internal/engine.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/crypto/crypto_engine.c b/crypto/crypto_engine.c
index ba43dfba2fa9..a75162bc1bf4 100644
--- a/crypto/crypto_engine.c
+++ b/crypto/crypto_engine.c
@@ -9,8 +9,8 @@
#include <crypto/aead.h>
#include <crypto/akcipher.h>
-#include <crypto/engine.h>
#include <crypto/hash.h>
+#include <crypto/internal/engine.h>
#include <crypto/kpp.h>
#include <crypto/skcipher.h>
#include <linux/err.h>
diff --git a/include/crypto/internal/engine.h b/include/crypto/internal/engine.h
new file mode 100644
index 000000000000..ffa1bb39d5e4
--- /dev/null
+++ b/include/crypto/internal/engine.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Crypto engine API
+ *
+ * Copyright (c) 2016 Baolin Wang <baolin.wang@linaro.org>
+ * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
+ */
+#ifndef _CRYPTO_INTERNAL_ENGINE_H
+#define _CRYPTO_INTERNAL_ENGINE_H
+
+#include <crypto/engine.h>
+
+#endif