default or selected kernelversion does not have config value CONFIG_CRYPTO_LIB_SM3.
Result is shown for kernelversion 5.19-rc1

CONFIG_CRYPTO_LIB_SM3 (not configurable)

modulename: libsm3.ko

configname: CONFIG_CRYPTO_LIB_SM3

Linux Kernel Configuration
└─>Library routines
└─>Crypto library routines
└─>CRYPTO_LIB_SM3
In linux kernel since version 5.18 (release Date: 2022-05-22)  
source code: