Sun Yimin
|
5db7e63360
|
provide convient methods to parse pkcs8 sm9 keys
|
2022-10-24 16:09:12 +08:00 |
|
Sun Yimin
|
a7c36d7f30
|
supplement gmssl sign master private key test data
|
2022-10-24 11:45:46 +08:00 |
|
Sun Yimin
|
f6af6eb729
|
add gmssl test cases
|
2022-10-24 11:42:26 +08:00 |
|
Sun Yimin
|
d35482a358
|
pkcs8 sm9 master sign/encrypt private key support
|
2022-10-24 11:00:13 +08:00 |
|
emmansun
|
404cd10210
|
support sm9 key format with gmssl
|
2022-10-22 15:49:01 +08:00 |
|
Sun Yimin
|
ecdf5fca82
|
supplement tesst cases
|
2022-10-21 10:46:18 +08:00 |
|
Sun Yimin
|
0342ada322
|
add comments and enhance gm validation
|
2022-10-21 10:22:10 +08:00 |
|
Sun Yimin
|
7f86563f74
|
update README.md and dependencies
|
2022-10-20 16:28:58 +08:00 |
|
Sun Yimin
|
afc4750bf0
|
Sample pseudo random number generator base on DRBG
|
2022-10-20 15:28:06 +08:00 |
|
Sun Yimin
|
643df78c07
|
implement ctr drbg
|
2022-10-20 11:30:20 +08:00 |
|
Sun Yimin
|
f723aa8c66
|
hash drbg initial version
|
2022-10-19 09:57:58 +08:00 |
|
Sun Yimin
|
6253b828c7
|
upgrade dependencies and remove useless code
|
2022-10-11 13:27:56 +08:00 |
|
Sun Yimin
|
49f25af421
|
add parallel test
|
2022-09-16 11:48:28 +08:00 |
|
Sun Yimin
|
0946644542
|
update readme
|
2022-09-08 08:56:26 +08:00 |
|
Sun Yimin
|
8f7a7626ba
|
sm2: support ecdh mqv
v0.14.1
|
2022-09-02 14:03:51 +08:00 |
|
Sun Yimin
|
6a556b26d3
|
smx509: don't panic marshaling invalid ECDSA keys #81
|
2022-08-30 10:35:57 +08:00 |
|
Sun Yimin
|
fb7041acbc
|
sm2/9: key exchange destroy, fix #80
|
2022-08-30 09:54:29 +08:00 |
|
Sun Yimin
|
3f9e1d5bd9
|
ecdh: sm2 ECDH initial version
v0.14.0
|
2022-08-26 13:25:56 +08:00 |
|
Sun Yimin
|
d1e4806e06
|
sm2: refactoring, reduce duplicated codes
|
2022-08-25 16:54:30 +08:00 |
|
Sun Yimin
|
8948bdd931
|
sm2: refactoring to reduce duplicated code
|
2022-08-25 16:45:18 +08:00 |
|
Sun Yimin
|
4a21345e72
|
sm9: fix compile error
|
2022-08-25 12:58:02 +08:00 |
|
Sun Yimin
|
7ebdf00640
|
fix defect
|
2022-08-25 12:54:59 +08:00 |
|
Sun Yimin
|
eedd5ebc2b
|
kdf: move Kdf() from sm3 to kdf
|
2022-08-25 11:48:41 +08:00 |
|
Sun Yimin
|
8f5dcb842e
|
sm2: key exchange refactoring
|
2022-08-24 16:53:11 +08:00 |
|
Sun Yimin
|
21a9793600
|
sm2/sm9: key exchange, support to destroy internal state
|
2022-08-24 15:15:58 +08:00 |
|
Sun Yimin
|
35154c8b53
|
remove useless ci
|
2022-08-19 15:07:56 +08:00 |
|
Sun Yimin
|
f2245485bc
|
Merge pull request #78 from emmansun/20221015
Upgrade minimum supported golang version to 1.16
|
2022-08-19 15:05:45 +08:00 |
|
Sun Yimin
|
f5cee483d5
|
align go verions in main
|
2022-08-19 15:03:28 +08:00 |
|
Sun Yimin
|
474168700e
|
sm2 ke: make sure the peer pub key using same curve
|
2022-08-19 11:39:02 +08:00 |
|
Sun Yimin
|
45d6a74b6a
|
update comment
|
2022-08-19 10:30:19 +08:00 |
|
Sun Yimin
|
8083b440cb
|
README: add go version and update travis label
go_1.15
v0.13.8
|
2022-08-19 08:31:12 +08:00 |
|
Sun Yimin
|
6db1b23eb1
|
subtle: fix generic bug
|
2022-08-18 15:00:11 +08:00 |
|
Sun Yimin
|
1710bdff4a
|
refactoring, rename internal packages
|
2022-08-18 14:49:35 +08:00 |
|
Sun Yimin
|
b96e51e3ff
|
sm2: supplement test cases
|
2022-08-18 10:54:25 +08:00 |
|
Sun Yimin
|
ae12f04c14
|
sm2: use golang 1.19 style marshal/unmarshal
|
2022-08-18 09:12:00 +08:00 |
|
Sun Yimin
|
37f3e129da
|
use golang 1.19 feature
|
2022-08-17 15:58:06 +08:00 |
|
Sun Yimin
|
a507f61c7c
|
fix bug
|
2022-08-17 15:30:21 +08:00 |
|
Sun Yimin
|
c2efe31957
|
move ci file
|
2022-08-17 15:27:19 +08:00 |
|
Sun Yimin
|
93dca77af8
|
sync code from sm2fiat and branch 1.16
|
2022-08-17 15:23:59 +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 |
|
Sun Yimin
|
fb53e7eb71
|
sm2: key exchange fix bug & add comments
|
2022-08-16 11:46:08 +08:00 |
|
Sun Yimin
|
bed0b64629
|
sm2ec: error message
|
2022-08-15 15:21:42 +08:00 |
|
Sun Yimin
|
f254673618
|
sm2ec: sync with sdk
|
2022-08-15 15:16:07 +08:00 |
|
Sun Yimin
|
c37e143c66
|
Merge pull request #73 from Trisia/main
SM2密钥交换方法初始化
v0.13.7
|
2022-08-14 11:22:52 +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
|
b299ca46f2
|
zuc: constant time & correct lazy mod
|
2022-08-10 13:52:44 +08:00 |
|
Sun Yimin
|
b7cc21a055
|
sm3: kdf constant time check all zero
|
2022-08-09 15:58:55 +08:00 |
|
Sun Yimin
|
05aeed5c34
|
sm9: marshal compressed
|
2022-08-09 10:01:34 +08:00 |
|