12 Commits

Author SHA1 Message Date
Sun Yimin
f458fe69cf
sm2/sm2ec: move sm2 related to sm2ec.go 2024-11-28 14:55: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
edfb4febdd
sm: improve docs and add examples 2023-01-31 13:50:14 +08:00
Sun Yimin
a45e13d148
sm2: use bigmod and sm2ec instead of math/big and crypto/elliptic 2022-11-23 10:20:13 +08:00
Sun Yimin
8f7a7626ba
sm2: support ecdh mqv 2022-09-02 14:03:51 +08:00
Sun Yimin
fb7041acbc
sm2/9: key exchange destroy, fix #80 2022-08-30 09:54:29 +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
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
93dca77af8
sync code from sm2fiat and branch 1.16 2022-08-17 15:23:59 +08:00