33 Commits

Author SHA1 Message Date
Sun Yimin
b70f6bb374
internal/sm2ec: fix test assert bug 2023-03-09 14:52:55 +08:00
Emman
784e14b59e Revert "[go1.17] internal/subtle xor 简化代码,去除重复 #75"
This reverts commit cedbf0c3557ec1c643b648dafefebb993854506e.
2023-03-08 10:24:34 +08:00
Sun Yimin
cedbf0c355
[go1.17] internal/subtle xor 简化代码,去除重复 #75 2023-03-08 10:10:28 +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
35a2ebe48f
internal/bigmod: flag amd64 assembly as noescape 2023-02-16 09:00:38 +08:00
Sun Yimin
c477816aa7
sm9: use bigmod instead of math/big, part 2 2022-11-25 17:45:11 +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
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
eedd5ebc2b
kdf: move Kdf() from sm3 to kdf 2022-08-25 11:48:41 +08:00
Sun Yimin
45d6a74b6a
update comment 2022-08-19 10:30:19 +08:00
Sun Yimin
6db1b23eb1
subtle: fix generic bug 2022-08-18 15:00:11 +08:00
Sun Yimin
1710bdff4a
refactoring, rename internal packages 2022-08-18 14:49:35 +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
Sun Yimin
5d5e5603bd
remove travis ppc64le CI 2022-06-14 09:01:52 +08:00
Sun Yimin
8cb1e257dc
support build generic 2022-06-14 08:45:54 +08:00
Sun Yimin
e7bfecaf49
remove util.go 2022-05-18 15:58:09 +08:00
Emman
97217e8a68 crypto/x509: only disable SHA-1 verification for certificates 2022-04-11 17:33:40 +08:00
Emman
7dec383b16 align format 2022-01-21 11:24:10 +08:00
Sun Yimin
b287b2c1c4
fix unexpected EOF 2021-12-16 13:22:25 +08:00
Emman
26e0671226 limited support arm64 assembly language 2021-12-16 09:33:28 +08:00
Emman
5913d5ccc2 MAGIC - add go:build tag 2021-10-12 09:25:53 +08:00
Emman
7a7384f389 MAGIC - use internal package 2021-04-29 15:14:22 +08:00