SM3 (ShangMi 3)

modulename: sm3_generic.ko

configname: CONFIG_CRYPTO_SM3_GENERIC

Linux Kernel Configuration
└─>Cryptographic API
└─>Hashes, digests, and MACs
└─>SM3 (ShangMi 3)
In linux kernel since version 5.2 (release Date: 2019-07-07)  
SM3 (ShangMi 3) secure hash function (OSCCA GM/T 0004-2012, ISO/IEC 10118-3)

This is part of the Chinese Commercial Cryptography suite.

References:
http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash

source code: