Sun Yimin
|
c99ad27ce1
|
kdf: share Z hash state #220
|
2024-05-15 08:28:47 +08:00 |
|
Sun Yimin
|
bf037a329e
|
sm9: handle empty plaintext and invalid ciphertext size
|
2023-02-14 10:45:02 +08:00 |
|
Sun Yimin
|
d52750d7a8
|
sm9: fix decrypt method ASN1 format checking issue
|
2023-02-13 15:36:04 +08:00 |
|
Sun Yimin
|
aedef9d00d
|
sm9: refactor encrypter mode
|
2023-02-13 14:36:34 +08:00 |
|
Sun Yimin
|
ebf9a74d77
|
sm9: support non-xor modes
|
2023-02-10 17:19:50 +08:00 |
|
Sun Yimin
|
d22b2253f3
|
sm9: add example test
|
2023-02-03 15:13:02 +08:00 |
|
Sun Yimin
|
a2d54159ad
|
add example test for sm3 sm4 pkcs8
|
2023-02-02 11:45:57 +08:00 |
|
Sun Yimin
|
d30cb1d1c8
|
sm9: add test cases
|
2022-12-02 15:49:48 +08:00 |
|
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 |
|