1 Star 0 Fork 1

1132923200/SM2-signature-creation-and-verification

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sm2_cipher_error_codes.h 828 Bytes
一键复制 编辑 原始数据 按行查看 历史
greendow 提交于 2018-11-20 21:52 +08:00 . Add files via upload
/**************************************************
* File name: sm2_cipher_error_codes.h
* Author: HAN Wei
* Author's blog: https://blog.csdn.net/henter/
* Date: Nov 17th, 2018
* Description: define error codes used in SM2
computation functions
**************************************************/
#ifndef HEADER_ERROR_CODES_LIST_OF_SM2_CIPHER_H
#define HEADER_ERROR_CODES_LIST_OF_SM2_CIPHER_H
#define INVALID_NULL_VALUE_INPUT 0x1000
#define INVALID_INPUT_LENGTH 0x1001
#define CREATE_SM2_KEY_PAIR_FAIL 0x1002
#define COMPUTE_SM3_DIGEST_FAIL 0x1003
#define ALLOCATION_MEMORY_FAIL 0x1004
#define COMPUTE_SM2_SIGNATURE_FAIL 0x1005
#define INVALID_SM2_SIGNATURE 0x1006
#define VERIFY_SM2_SIGNATURE_FAIL 0x1007
#endif /* end of HEADER_ERROR_CODES_LIST_OF_SM2_CIPHER_H */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zf1132923200/SM2-signature-creation-and-verification.git
git@gitee.com:zf1132923200/SM2-signature-creation-and-verification.git
zf1132923200
SM2-signature-creation-and-verification
SM2-signature-creation-and-verification
master

搜索帮助

371d5123 14472233 46e8bd33 14472233