1 Star 0 Fork 1

1132923200/SM2-signature-creation-and-verification

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test_sm2_sign_and_verify.h 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
greendow 提交于 2018-11-20 21:52 . Add files via upload
/**************************************************
* File name: test_sm2_sign_and_verify.h
* Author: HAN Wei
* Author's blog: https://blog.csdn.net/henter/
* Date: Nov 20th, 2018
* Description: declare SM2 sign data and verify
signature test functions
**************************************************/
#ifndef HEADER_SM2_SIGN_DATA_AND_VERIFY_SIGNATURE_TEST_H
#define HEADER_SM2_SIGN_DATA_AND_VERIFY_SIGNATURE_TEST_H
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************
* Name: test_with_input_defined_in_standard
* Function: test SM2 sign data and verify signature
with standard input from GM/T 0003.5-2012
* Return value:
0: test executes successfully
any other value: an error occurs
**************************************************/
int test_with_input_defined_in_standard(void);
/**************************************************
* Name: test_sm2_sign_and_verify
* Function: test SM2 sign data and verify signature
* Return value:
0: test executes successfully
any other value: an error occurs
**************************************************/
int test_sm2_sign_and_verify(void);
#ifdef __cplusplus
}
#endif
#endif /* end of HEADER_SM2_SIGN_DATA_AND_VERIFY_SIGNATURE_TEST_H */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zf1132923200/SM2-signature-creation-and-verification.git
[email protected]:zf1132923200/SM2-signature-creation-and-verification.git
zf1132923200
SM2-signature-creation-and-verification
SM2-signature-creation-and-verification
master

搜索帮助