CONFIG_CRYPTO_SM4_RISCV64 is not available for thedefaultarchitecture x86.
Result is shown for architecture 64BIT or riscv

Ciphers: SM4 (ShangMi 4)

modulename: sm4-riscv64.ko

configname: CONFIG_CRYPTO_SM4_RISCV64

Linux Kernel Configuration
└─>Accelerated Cryptographic Algorithms for CPU (riscv)
└─>Ciphers: SM4 (ShangMi 4)
In linux kernel since version 6.1.89 (release Date: 2024-04-29)  
SM4 block cipher algorithm (OSCCA GB/T 32907-2016,
ISO/IEC 18033-3:2010/Amd 1:2021)

SM4 (GBT.32907-2016) is a cryptographic standard issued by the
Organization of State Commercial Administration of China (OSCCA)
as an authorized cryptographic algorithm for use within China.

Architecture: riscv64 using:
- Zvksed vector crypto extension
- Zvkb vector crypto extension

source code: