17 Commits

Author SHA1 Message Date
Sun Yimin
18e2f1b022
sm9: improve test coverage 2022-11-28 10:55:23 +08:00
Sun Yimin
c477816aa7
sm9: use bigmod instead of math/big, part 2 2022-11-25 17:45:11 +08:00
Sun Yimin
a592631459
sm9: do not expose internal constants 2022-11-25 14:40:27 +08:00
Sun Yimin
d7e853277a
sm9: use bigmod instead of math/big 2022-11-25 10:11:46 +08:00
Sun Yimin
eedd5ebc2b
kdf: move Kdf() from sm3 to kdf 2022-08-25 11:48:41 +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
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
823cf4a470
test: reduce fmt.Printf 2022-06-17 08:49:50 +08:00
Sun Yimin
410b1eea3a
SM9: add key exchange support 2022-06-16 14:43:28 +08:00
Sun Yimin
81c0dbb0fa
SM9: refactoring, move separate SM9 & bn256 2022-06-16 10:14:45 +08:00
Sun Yimin
3320de17b8
SM9: supplement comment and sample test case 2022-06-16 08:46:28 +08:00
opensvn
e5150e19b5 change the function name and use the correct verb 2022-06-15 13:40:30 +08:00
Sun Yimin
f78fd3c105
precompute part 1 2022-06-13 13:50:27 +08:00
Sun Yimin
e8d3b67446
sm9 sign wrappkey encryption 2022-06-10 11:24:25 +08:00