SM3 digest algorithm

modulename: sm3_generic.ko

and/or

sm3.ko

configname: CONFIG_CRYPTO_SM3

Linux Kernel Configuration
└─>Cryptographic API
└─>SM3 digest algorithm
In linux kernel since version 3.10 (release Date: 2013-06-30)  
SM3 secure hash function as defined by OSCCA GM/T 0004-2012 SM3).
It 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: