13 Commits

Author SHA1 Message Date
Sun Yimin
dc1c5806c9
internal/bigmod: use clear() 2025-02-26 10:50:35 +08:00
Sun Yimin
ee55d370f8
improve test coverage and remove deprecated methods 2025-01-22 10:28:01 +08:00
Sun Yimin
f458fe69cf
sm2/sm2ec: move sm2 related to sm2ec.go 2024-11-28 14:55:32 +08:00
Sun Yimin
dec688f7cc
ecdh: update comments 2024-11-26 17:48:32 +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
2c688bb9d3
subtle: align byte equal alg 2024-05-28 17:33:48 +08:00
Sun Yimin
4fe8d28d31
kdf: share Z hash state #220 2024-05-15 08:29:37 +08:00
Sun Yimin
167f0e0b11
sm2: #189, #190, #191 2023-12-15 13:06:53 +08:00
Sun Yimin
984913e228
sm2,smx509: add encoding paths for SM2 ecdh keys 2022-11-21 09:31:30 +08:00
Sun Yimin
7448a5de1e
ecdh: format sm2 curve constans 2022-11-18 11:24:06 +08:00
Sun Yimin
6c7ddbb206
ecdh: move ECDH method to PrivateKey 2022-11-18 09:43:51 +08:00
Sun Yimin
8f7a7626ba
sm2: support ecdh mqv 2022-09-02 14:03:51 +08:00
Sun Yimin
3f9e1d5bd9
ecdh: sm2 ECDH initial version 2022-08-26 13:25:56 +08:00