# gm_sm2_master **Repository Path**: biparadox/gm_sm2_master ## Basic Information - **Project Name**: gm_sm2_master - **Description**: a new gm_sm2 c lib from dishibolei's SM2Simple project which pass the data verify - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2019-05-22 - **Last Updated**: 2023-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 本项目基于相关规范实现了sm2算法,具备sm2密钥生成、加密、解密、签名、验签等功能; 本项目从dishibolei的安卓sm2算法库中截取,其代码源于simonpang的gm_sm2_master库。 dishibolei代码原始地址https://github.com/dishibolei/SM2/tree/master/SM2Simple/SM2Simple/GM_SM2-master simonpang代码原始地址https://github.com/stevenpsm/GM_SM2 本人在dishibolei修改的基础上又做了少量修改,并用标准SM2数据验证了其正确性。 算法实现中调用了libtommath大数库、goldbar的sm3算法; 本项目为标准C实现。 感谢simonpang,dishibilei,libtommath作者及goldbar :)