Sun Yimin
|
d8c6788e8f
|
sm2, sm2ec: remove useless codes since go 1.19
|
2025-04-07 13:10:09 +08:00 |
|
Sun Yimin
|
7a5253bfb5
|
change to use go's own XORBytes function #315
|
2025-03-13 15:15:46 +08:00 |
|
Sun Yimin
|
ec8580b01f
|
sm2: fix go1.24 test issue
|
2025-02-26 09:46:03 +08:00 |
|
Sun Yimin
|
ee55d370f8
|
improve test coverage and remove deprecated methods
|
2025-01-22 10:28:01 +08:00 |
|
Sun Yimin
|
4c88efbaee
|
sm2: provide a specific hash.Hash implementation #297
|
2025-01-20 17:36:46 +08:00 |
|
Sun Yimin
|
80a264c995
|
sm2: update document
|
2025-01-17 13:54:16 +08:00 |
|
Sun Yimin
|
805fa40c97
|
pkcs7: code review and refactor
|
2024-12-20 08:34:32 +08:00 |
|
Sun Yimin
|
d199697b20
|
pkcs7: remove deprecated method SignWithSM2
|
2024-12-19 15:42:19 +08:00 |
|
Sun Yimin
|
6b18205bba
|
sm2: fix test cases
|
2024-12-19 08:28:00 +08:00 |
|
Sun Yimin
|
89317b8f0b
|
sm2: code review and refactor
|
2024-12-19 08:17:21 +08:00 |
|
Sun Yimin
|
d009f7ebef
|
internal/bigmod: sync bigmod change between 30/Nov 2024 to 3/Dec 2024 #282
|
2024-12-03 17:57:27 +08:00 |
|
Sun Yimin
|
f458fe69cf
|
sm2/sm2ec: move sm2 related to sm2ec.go
|
2024-11-28 14:55:32 +08:00 |
|
Sun Yimin
|
4df708a76b
|
internal/bigmod: add support for even moduli #280
|
2024-11-27 08:52:03 +08:00 |
|
Sun Yimin
|
9624b43515
|
internal/bigmod: drop math/big dependency #273
|
2024-11-20 18:06:29 +08:00 |
|
Sun Yimin
|
b7f95a5a9f
|
sm2: typo
|
2024-08-13 13:35:45 +08:00 |
|
Sun Yimin
|
4517d00cc1
|
sm2: fix RecoverPublicKeysFromSM2Signature
|
2024-08-13 13:34:51 +08:00 |
|
Sun Yimin
|
1b512e5772
|
internal/cryptotest: add tests for the hash.Hash cipher.BlockMode cipher.Block interfaces
|
2024-08-02 13:02:25 +08:00 |
|
Sun Yimin
|
6ba367a255
|
smx509: support CSRRespose handling
|
2024-06-12 17:49:37 +08:00 |
|
Sun Yimin
|
cad5d3504e
|
sm2: public recover from signature 2
|
2024-06-04 08:26:51 +08:00 |
|
Sun Yimin
|
7bb7903ce2
|
sm2: recover public keys
|
2024-06-01 10:31:29 +08:00 |
|
Sun Yimin
|
63affe5127
|
sm2: recover public keys from signature
|
2024-05-31 18:30:58 +08:00 |
|
Sun Yimin
|
2c688bb9d3
|
subtle: align byte equal alg
|
2024-05-28 17:33:48 +08:00 |
|
Sun Yimin
|
7fb729f4a8
|
sm2: refine BenchmarkEncrypt test
|
2024-05-15 10:17:15 +08:00 |
|
Sun Yimin
|
c99ad27ce1
|
kdf: share Z hash state #220
|
2024-05-15 08:28:47 +08:00 |
|
Sun Yimin
|
aaabb09dac
|
sm2: saving some temporary variables
|
2024-01-30 17:51:13 +08:00 |
|
Sun Yimin
|
c1f84cefed
|
sm2: naming convention
|
2023-12-18 08:17:10 +08:00 |
|
Sun Yimin
|
5740fe0e1c
|
add back private key print with %q
|
2023-12-15 17:47:32 +08:00 |
|
Sun Yimin
|
515aa31259
|
sm2: add comments and refactor
|
2023-12-15 15:11:49 +08:00 |
|
Sun Yimin
|
58d30f6655
|
sm2: fix bug
|
2023-12-15 13:14:02 +08:00 |
|
Sun Yimin
|
167f0e0b11
|
sm2: #189, #190, #191
|
2023-12-15 13:06:53 +08:00 |
|
Sun Yimin
|
0f3d76705b
|
sm2: fix enveloped key issue #188
|
2023-12-13 13:43:05 +08:00 |
|
Sun Yimin
|
880691746d
|
sm2: makes CalculateSM2Hash public
|
2023-12-12 08:12:28 +08:00 |
|
Sun Yimin
|
17a3dd8d4b
|
change interface{} to any, and remove "+build" build tag #77
|
2023-11-09 08:34:50 +08:00 |
|
Sun Yimin
|
8041c5e310
|
sm2: remove CSPRNG usage
|
2023-06-27 08:57:31 +08:00 |
|
Sun Yimin
|
f81bbd17df
|
sm4: improve arm64 single block performance & CBC decrypt performance
|
2023-06-19 15:51:49 +08:00 |
|
Sun Yimin
|
f32b7e1afc
|
[sync sdk] crypto/internal/bigmod: switch to saturated limbs
|
2023-06-01 10:39:12 +08:00 |
|
Sun Yimin
|
d814868a47
|
pkcs: SM4 oid special handling
|
2023-03-27 13:41:45 +08:00 |
|
Sun Yimin
|
1ed0dbb068
|
sm2: make opts fields private
|
2023-03-22 17:29:16 +08:00 |
|
Sun Yimin
|
6254f0a5cb
|
sm2: update comments
|
2023-03-22 10:18:06 +08:00 |
|
Sun Yimin
|
5d46f47c15
|
add cfca sm2 key and certificate parse
|
2023-03-10 17:09:29 +08:00 |
|
Sun Yimin
|
a47ae96293
|
sm2: SM2EnvelopedKey support
|
2023-02-22 17:37:56 +08:00 |
|
Sun Yimin
|
e3db7656a6
|
add example test for sm2 sm4
|
2023-02-01 11:17:23 +08:00 |
|
Sun Yimin
|
edfb4febdd
|
sm: improve docs and add examples
|
2023-01-31 13:50:14 +08:00 |
|
Sun Yimin
|
24d89df5c0
|
sm2: add a reference test method for non-standard keys construction
|
2023-01-16 11:01:55 +08:00 |
|
Sun Yimin
|
824748a293
|
sm2: use ReadASN1Integer instead of clone private code
|
2022-12-13 11:03:02 +08:00 |
|
Sun Yimin
|
ca18fb55f4
|
sm2: test decrypt error
|
2022-12-06 10:11:02 +08:00 |
|
Sun Yimin
|
32acdfea7e
|
sm2: ErrDecryption, avoid adaptive attacks
|
2022-12-06 08:39:16 +08:00 |
|
Sun Yimin
|
60c3caf9db
|
sm2: align error message
|
2022-12-05 17:12:14 +08:00 |
|
Sun Yimin
|
acf6edec18
|
smx509: include more hints for verification failure
|
2022-12-02 08:47:39 +08:00 |
|
Sun Yimin
|
13f777bb2f
|
sm2: verify validity of signature parameters in Verify
|
2022-12-02 08:41:41 +08:00 |
|