SM2 (ShangMi 2)

modulename: sm2_generic.ko

configname: CONFIG_CRYPTO_SM2

Linux Kernel Configuration
└─>Cryptographic API
└─>Public-key cryptography
└─>SM2 (ShangMi 2)
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
SM2 (ShangMi 2) public key algorithm

Published by State Encryption Management Bureau, China,
as specified by OSCCA GM/T 0003.1-2012 -- 0003.5-2012.

References:
https://datatracker.ietf.org/doc/draft-shen-sm2-ecdsa/
http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002386.shtml
http://www.gmbz.org.cn/main/bzlb.html

source code: