12 Commits

Author SHA1 Message Date
Sun Yimin
cae2dbea35
use sample test to make sure correctness 2022-10-31 14:44:38 +08:00
Sun Yimin
8f7a7626ba
sm2: support ecdh mqv 2022-09-02 14:03:51 +08:00
Sun Yimin
21a9793600
sm2/sm9: key exchange, support to destroy internal state 2022-08-24 15:15:58 +08:00
Sun Yimin
1710bdff4a
refactoring, rename internal packages 2022-08-18 14:49:35 +08:00
Sun Yimin
c88bad8c7d
sm2/9 key exchange: test no sign/verify case 2022-08-17 11:36:50 +08:00
Sun Yimin
3f550e2f24
sm2/9: key exchange error message and comment 2022-08-17 11:17:18 +08:00
cliven
a6172852fc 修改了设置对端参数名称,增加了防止重复设置的检查。 2022-08-14 11:10:55 +08:00
cliven
eea15c3e4c SM2密钥交换算法支持了初始化时没有对端公开信息,在后续加入公开信息的方法。 2022-08-13 15:18:47 +08:00
Sun Yimin
f437855de0
add unit test case and fix typo 2022-08-03 16:31:02 +08:00
Emman
eb94980db3 run "gofmt -s -w" 2022-07-15 16:42:39 +08:00
Sun Yimin
0136fdcabf
forgot one file 2022-06-20 09:45:34 +08:00
Sun Yimin
23914a86c3
SM2: key exchange 2022-06-17 16:58:26 +08:00