1# SPDX-License-Identifier: GPL-2.0 2 3menu "Accelerated Cryptographic Algorithms for CPU (riscv)" 4 5config CRYPTO_AES_RISCV64 6 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS" 7 depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO 8 select CRYPTO_ALGAPI 9 select CRYPTO_LIB_AES 10 select CRYPTO_SKCIPHER 11 help 12 Block cipher: AES cipher algorithms 13 Length-preserving ciphers: AES with ECB, CBC, CTR, XTS 14 15 Architecture: riscv64 using: 16 - Zvkned vector crypto extension 17 - Zvbb vector extension (XTS) 18 - Zvkb vector crypto extension (CTR) 19 - Zvkg vector crypto extension (XTS) 20 21endmenu 22