SM2 algorithm

modulename: sm2_generic.ko

configname: CONFIG_CRYPTO_SM2

Linux Kernel Configuration
└─>Cryptographic API
└─>SM2 algorithm
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Generic implementation of the SM2 public key algorithm. It was
published by State Encryption Management Bureau, China.
as specified by OSCCA GM/T 0003.1-2012 -- 0003.5-2012.

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

source code: