summaryrefslogtreecommitdiff
path: root/arch/riscv/crypto
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@vrull.eu>2024-01-21 16:19:14 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2024-01-22 17:55:17 -0800
commit178f3856436c748485cb7f8c134be2471f6d539f (patch)
tree28f1d66ef4bfe708ad0728444b7e6448e7955c07 /arch/riscv/crypto
parent34ca4ec628deb4f00da38c7d73486b8499e30dea (diff)
RISC-V: hook new crypto subdir into build-system
Create a crypto subdirectory for added accelerated cryptography routines and hook it into the riscv Kbuild and the main crypto Kconfig. Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jerry Shih <jerry.shih@sifive.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20240122002024.27477-4-ebiggers@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/crypto')
-rw-r--r--arch/riscv/crypto/Kconfig5
-rw-r--r--arch/riscv/crypto/Makefile1
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv/crypto/Kconfig b/arch/riscv/crypto/Kconfig
new file mode 100644
index 000000000000..10d60edc0110
--- /dev/null
+++ b/arch/riscv/crypto/Kconfig
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
+menu "Accelerated Cryptographic Algorithms for CPU (riscv)"
+
+endmenu
diff --git a/arch/riscv/crypto/Makefile b/arch/riscv/crypto/Makefile
new file mode 100644
index 000000000000..a4e40e534e6a
--- /dev/null
+++ b/arch/riscv/crypto/Makefile
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0-only