806 Commits

Author SHA1 Message Date
Sun Yimin
f3a5d48ed8
properly apply name constrains to roots and intermediates #125 2023-06-01 13:10:54 +08:00
Sun Yimin
36a92eff46
fix array len issue 2023-06-01 11:40:28 +08:00
Sun Yimin
88a158f61c
fix golang sdk version issue 2023-06-01 11:22:43 +08:00
Sun Yimin
0bf96ecea2
fix compile issue 2023-06-01 11:12:23 +08:00
Sun Yimin
f32b7e1afc
[sync sdk] crypto/internal/bigmod: switch to saturated limbs 2023-06-01 10:39:12 +08:00
Sun Yimin
f7a04e74a1
upgrade other actions/setup-go to v4 2023-05-24 17:29:59 +08:00
Sun Yimin
5817b08c43
Update ci.yml
upgrade actions/setup-go@v4 to support cache by default
2023-05-24 17:22:01 +08:00
Sun Yimin
6e9ba588f9
Merge pull request #122 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.9.0
build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0
2023-05-16 08:43:24 +08:00
dependabot[bot]
fd26e4b1c2
build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 00:00:08 +00:00
emmansun
c3847c504f xor: use avx2 if possible 2023-05-13 10:26:44 +08:00
Sun Yimin
941b782448
Merge pull request #121 from emmansun/dependabot/go_modules/golang.org/x/sys-0.8.0
build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0
2023-05-09 08:25:18 +08:00
dependabot[bot]
5fb8d7b332
build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 00:00:32 +00:00
Sun Yimin
0a7f4d4779
Update README.md
发现提高没那么多
2023-05-04 09:02:23 +08:00
emmansun
ad80148a26 sm9: fix gfP12b6Gen error, not used yet 2023-05-03 11:24:07 +08:00
emmansun
12d604b54f sm9: add comment for mulLine v0.17.2 2023-05-02 14:04:00 +08:00
emmansun
0cf7d640c5 sm9: optimize mul line 2023-05-02 12:13:18 +08:00
emmansun
de6e4c2464 sm9: pairing 避免除数处理 2023-05-02 11:39:16 +08:00
emmansun
bf17ff1a4d sm9: need to further check 0 handling v0.17.1 2023-04-29 13:47:58 +08:00
emmansun
13ddfad8e4 sm9: optimize generate and gfP2 sqrt 2023-04-29 13:33:44 +08:00
emmansun
b197c96040 sm9: update README 2023-04-29 10:47:19 +08:00
emmansun
f58cb10ad9 sm9: improve gfP invert & sqrt performance 2023-04-29 10:30:57 +08:00
Sun Yimin
4a5dcf64c1
Update README.md 2023-04-28 20:13:53 +08:00
Sun Yimin
40f3928766
sm9: implement 1-2-6-12 towering extensions for comparison 2023-04-28 16:52:10 +08:00
Sun Yimin
eeaa257b1a
sm9: reduce mul, improve performance 2023-04-28 16:40:10 +08:00
Sun Yimin
946b85b409
sm9: reduce mul, improve performance 2023-04-28 15:31:59 +08:00
Sun Yimin
a454c5f5ec
sm9: reduce gfp2 mul 2023-04-28 11:25:09 +08:00
Sun Yimin
fab159f5f0
x509: use the RFC 6125 terminology in the VerifyHostname docs 2023-04-24 09:43:37 +08:00
Sun Yimin
33c6d26f07
fix nilness finding 2023-04-20 15:47:08 +08:00
Sun Yimin
75fde484ba
drbg: use hash creator, but it's still NOT goroutine safe 2023-04-13 09:32:14 +08:00
Sun Yimin
a4d7601bd9
Merge pull request #114 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.8.0
build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0
2023-04-11 08:16:44 +08:00
dependabot[bot]
15b9269c08
build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 00:15:41 +00:00
Sun Yimin
36764970e7
Merge pull request #113 from emmansun/dependabot/go_modules/golang.org/x/sys-0.7.0
build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0
2023-04-11 08:15:01 +08:00
dependabot[bot]
8291cc5a37
build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 00:03:49 +00:00
Sun Yimin
7484123c90
smx509: remove unnecessary !Empty() check v0.17.0 2023-03-31 08:56:24 +08:00
Sun Yimin
e8c96eff71
add status badges 2023-03-30 17:04:27 +08:00
Sun Yimin
9c49aa43c3
rename action 2023-03-30 16:42:16 +08:00
Sun Yimin
9f7a0ac2b6
sm4: arm optimize rotateleft 2023-03-30 16:41:21 +08:00
Sun Yimin
01151be42e
sm4: fix gcm_sm4ni_arm64 dec bug 2023-03-30 15:46:37 +08:00
Sun Yimin
05ba968610
sm ni test all 2023-03-30 15:04:56 +08:00
Sun Yimin
7047aab300
sm3: fix rotateleft32 issue 2023-03-30 14:56:46 +08:00
Sun Yimin
d38216752d
sm3: fix arm ni issue 2023-03-30 14:05:04 +08:00
Sun Yimin
d2382247b1
sm3: fix arm ni issue 2023-03-30 13:39:17 +08:00
Sun Yimin
bb3529894c
sm3: fix arm sm3 ni issue 2023-03-30 13:03:31 +08:00
Sun Yimin
b2b56fae32
fix gcm sm4 ni bug 2023-03-30 11:46:19 +08:00
Sun Yimin
6b4c50e65a
try reduce one instr 2023-03-30 11:30:36 +08:00
Sun Yimin
3fed51e909
fix error 2023-03-30 11:26:34 +08:00
Sun Yimin
c52d700860
do not reverse byte order 2023-03-30 10:26:10 +08:00
Sun Yimin
0ec1d9cb40
do not reverse byte order 2023-03-30 10:06:56 +08:00
Sun Yimin
03e35209e8
retry not reverse byte order 2023-03-30 10:01:34 +08:00
Sun Yimin
334efa093d
test shangmi ni with qemu 2023-03-30 08:49:09 +08:00