23 Commits

Author SHA1 Message Date
Sun Yimin
50352995ae
sm2ec: fix comment 2023-06-15 21:50:25 +08:00
Sun Yimin
66eae26312
sm2ec: arm64 register reuse issue 2023-06-14 17:53:13 +08:00
Sun Yimin
a8791437f8
sm2ec: fix arm64 func name issue 2023-06-14 17:43:27 +08:00
Sun Yimin
de14139590
sm2ec: p256ScalarMult change to use w=6 2023-06-14 17:30:58 +08:00
Sun Yimin
7f54c1e1a5
sm2ec: fix ScalarMult issue when scalar = N - 6 2023-06-13 13:24:43 +08:00
Sun Yimin
5e794738ca
sm2ec: amd64 reduce duplicated codes 2023-06-12 09:04:09 +08:00
Sun Yimin
a0c4a389b8
sm2ec: optimize amd64 with MULX & AVX2 2023-06-10 10:55:17 +08:00
Sun Yimin
b70f6bb374
internal/sm2ec: fix test assert bug 2023-03-09 14:52:55 +08:00
Sun Yimin
71657b8d34
fix possible test failure 2023-03-07 08:55:09 +08:00
Sun Yimin
617d2591d6
pkcs8: fix gcm parameters asn1 issue 2023-02-28 13:43:00 +08:00
Sun Yimin
200a785d29
change build tag generic to purego & import nat package 2022-11-22 11:02:37 +08:00
Sun Yimin
6253b828c7
upgrade dependencies and remove useless code 2022-10-11 13:27:56 +08:00
Sun Yimin
8f7a7626ba
sm2: support ecdh mqv 2022-09-02 14:03:51 +08:00
Sun Yimin
8948bdd931
sm2: refactoring to reduce duplicated code 2022-08-25 16:45:18 +08:00
Sun Yimin
45d6a74b6a
update comment 2022-08-19 10:30:19 +08:00
Sun Yimin
b96e51e3ff
sm2: supplement test cases 2022-08-18 10:54:25 +08:00
Sun Yimin
93dca77af8
sync code from sm2fiat and branch 1.16 2022-08-17 15:23:59 +08:00
Sun Yimin
bed0b64629
sm2ec: error message 2022-08-15 15:21:42 +08:00
Sun Yimin
f254673618
sm2ec: sync with sdk 2022-08-15 15:16:07 +08:00
Emman
eb94980db3 run "gofmt -s -w" 2022-07-15 16:42:39 +08:00
Sun Yimin
7bf006ca42
go report card 2022-07-11 13:27:36 +08:00
Sun Yimin
3e2158f68d
fix package issue 2022-06-20 11:19:59 +08:00
Sun Yimin
ae9d85d2f0
sm2: use new implementation, part 1 2022-06-20 11:15:09 +08:00