summaryrefslogtreecommitdiff
path: root/lib/crypto/riscv/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/riscv/Kconfig')
-rw-r--r--lib/crypto/riscv/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/crypto/riscv/Kconfig b/lib/crypto/riscv/Kconfig
new file mode 100644
index 000000000000..bc7a43f33eb3
--- /dev/null
+++ b/lib/crypto/riscv/Kconfig
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config CRYPTO_CHACHA_RISCV64
+ tristate
+ depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
+ default CRYPTO_LIB_CHACHA
+ select CRYPTO_ARCH_HAVE_LIB_CHACHA
+ select CRYPTO_LIB_CHACHA_GENERIC