1# SPDX-License-Identifier: GPL-2.0 2 3menu "Accelerated Cryptographic Algorithms for CPU (riscv)" 4 5config CRYPTO_SM4_RISCV64 6 tristate "Ciphers: SM4 (ShangMi 4)" 7 depends on 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \ 8 RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS 9 select CRYPTO_ALGAPI 10 select CRYPTO_SM4 11 help 12 SM4 block cipher algorithm (OSCCA GB/T 32907-2016, 13 ISO/IEC 18033-3:2010/Amd 1:2021) 14 15 SM4 (GBT.32907-2016) is a cryptographic standard issued by the 16 Organization of State Commercial Administration of China (OSCCA) 17 as an authorized cryptographic algorithm for use within China. 18 19 Architecture: riscv64 using: 20 - Zvksed vector crypto extension 21 - Zvkb vector crypto extension 22 23endmenu 24