找传奇、传世资源到传世资源站!

SM2,SM4,SM3加密解密

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

/**@功能:软库SM2加密解密检测*@参数:void*@返回:int, 0 : SUCCESS; ~0 : FAILED*/int SoftSM2Check();/**@功能:软库SM2签名验签检测*@参数:void*@返回:int, 0 : SUCCESS; ~0 : FAILED*/int SoftSM2SignCheck();/**@功能:软库SM3检测*@参数:void*@返回:int, 0 : SUCCESS; ~0 : FAILED*/int SoftSM3Check();/**@功能:软库SM4检测*@参数:void*@返回:int, 0 : SUCCESS; ~0 : FAILED*/int SoftSM4Check();

from clipboardint _tmain(int argc, _TCHAR* argv[]){if (0 == SoftSM2SignCheck()){printf("SoftSM2 Sign and Verify check PASS...\n");}else{printf("SoftSM2 Sign and Verify check FAILED...\n");}if (0 == SoftSM2Check()){printf("SoftSM2 Encrypt and Decrypt check PASS...\n");}else{printf("SoftSM2 Encrypt and Decrypt check FAILED...\n");}if (0 == SoftSM3Check()){printf("SoftSM3 check PASS...\n");}else{printf("SoftSM3 check FAILED...\n");}if (0 == SoftSM4Check()){printf("SoftSM4 check PASS...\n");}else{printf("SoftSM4 check FAILED...\n");}system("pause");return 0;}

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复