1256 Commits

Author SHA1 Message Date
dependabot[bot]
a91b6cbaae
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.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>
2024-05-06 23:46:31 +00:00
Sun Yimin
e8b30cd331
adjust README 2024-04-12 08:16:22 +08:00
Sun Yimin
e185301cfb
Merge pull request #217 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.22.0
build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0
2024-04-09 07:17:09 +08:00
dependabot[bot]
b032e5cc03
build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.22.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>
2024-04-08 23:15:12 +00:00
Sun Yimin
1cc2250496
Merge pull request #216 from emmansun/dependabot/go_modules/golang.org/x/sys-0.19.0
build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
2024-04-09 07:14:27 +08:00
dependabot[bot]
75ba5115f8
build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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>
2024-04-08 23:12:50 +00:00
Sun Yimin
fcdcb07c93
internal/subtle: remove PCALIGN first 2024-04-01 08:57:18 +08:00
Sun Yimin
ef0d1a2fe0
internal/subtle: optimize amd64 2024-04-01 08:53:21 +08:00
Sun Yimin
df85a7f623
internal: align build flag 2024-03-29 17:55:57 +08:00
Sun Yimin
db87b0556f
ci: enable race detector 2024-03-29 14:37:58 +08:00
Sun Yimin
02258d2351
sm4: reduce slice checking internally 2024-03-27 13:08:27 +08:00
Sun Yimin
34dd5104ee
sm4: reduce slice checking internally 2024-03-27 09:36:56 +08:00
Sun Yimin
e4909bed2d
sm4: reduce allocations 2024-03-27 08:38:25 +08:00
Sun Yimin
178241aa0f
avoid legacy 32 bit system compile error 2024-03-07 17:35:48 +08:00
Sun Yimin
8b70f00b38
internal/cpuid: fix arm64 darwin build v0.26.1 2024-03-06 22:16:53 +08:00
Sun Yimin
b07fac3d82
Update macos.yml 2024-03-06 21:24:42 +08:00
Sun Yimin
7fee50dfe9
update ppc64le ci 2024-03-06 17:50:15 +08:00
Sun Yimin
5c85d63724
internal/bigmod: unroll loop in addMulVVW for ppc64x 2024-03-06 17:47:29 +08:00
Sun Yimin
88ddf3e3d2
smx509: avoid Android root store paths on other Linuxes 2024-03-06 17:36:12 +08:00
Sun Yimin
66c05083bf
smx509: implement SetFallbackRoots #211 2024-03-06 13:02:56 +08:00
Sun Yimin
3a2c7e2c9b
smx509: [sync sdk] crypto/x509: implement AddCertWithConstraint #208 2024-03-06 08:35:14 +08:00
Sun Yimin
5adc912824
refine build tags 2024-03-05 09:47:49 +08:00
Sun Yimin
df3166f032
Merge pull request #207 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.21.0
build(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0
2024-03-05 07:58:46 +08:00
dependabot[bot]
dc4ff244f1
build(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.21.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>
2024-03-04 23:56:01 +00:00
Sun Yimin
b5bddf37d0
Merge pull request #206 from emmansun/dependabot/go_modules/golang.org/x/sys-0.18.0
build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0
2024-03-05 07:55:28 +08:00
dependabot[bot]
84978b2c70
build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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>
2024-03-04 23:53:17 +00:00
Sun Yimin
48589f0876
internal/sm2ec: amd64, optimize select SIMD 2024-03-04 17:50:35 +08:00
Sun Yimin
f7beee3dae
internal/bigmod: riscv64, try old version 2024-03-04 11:15:47 +08:00
Sun Yimin
140e738f80
ci: fixit 2024-03-04 11:04:36 +08:00
Sun Yimin
5722fdbdc8
ci: riscv64+1.22 2024-03-04 11:02:47 +08:00
Sun Yimin
2b95e2808c
ci: build riscv64 2024-03-04 10:12:26 +08:00
Sun Yimin
45b41b9596
limist the test scope 2024-03-04 09:52:36 +08:00
Sun Yimin
a37c441993
internal/bigmod: test riscv64 2024-03-04 09:26:57 +08:00
Sun Yimin
5ca8006d1e
internal/bigmod: port riscv64 implementation from Golang 2024-03-04 08:53:33 +08:00
Sun Yimin
b3b9cb22a2
ci: rename 2024-03-04 08:35:05 +08:00
Sun Yimin
64fe377c25
ci: add riscv64 2024-03-04 08:34:15 +08:00
Sun Yimin
9f7e3ef018
internal/sm2ec: supplement comments 2024-03-01 17:40:15 +08:00
Sun Yimin
53ac591635
internal/sm2ec: amd64 refactoring, reduce duplicated code 2024-02-29 17:53:28 +08:00
Sun Yimin
fabcb6ad30
internal/sm2ec: amd64, optimize point double 2024-02-28 17:39:27 +08:00
Sun Yimin
ee7af1bda3
internal/sm2ec: use ADX for mul/sqr and internal sqr 2024-02-27 17:44:30 +08:00
Sun Yimin
51fc24c704
Merge pull request #205 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.20.0
build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0
v0.26.0
2024-02-27 07:08:00 +08:00
dependabot[bot]
bf38c0e462
build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.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>
2024-02-26 23:03:18 +00:00
Sun Yimin
18cc283af2
internal/sm2ec: add comments 2024-02-26 08:25:37 +08:00
emmansun
35466446d4 internal/sm2ec: order sqr/mul WWMM sub first 2024-02-24 13:36:46 +08:00
Sun Yimin
0996508b5b
internal/sm2ec: use ADCX/ADOX for order WWMM mul/sqr 2024-02-23 17:35:19 +08:00
Sun Yimin
052040fd82
internal/sm2ec: mul WWMM reduction, sub first 2024-02-22 17:44:16 +08:00
Sun Yimin
2553456216
internal/sm2ec: update WWMM reduction for Square 2024-02-22 14:53:02 +08:00
Sun Yimin
de2376fe60
Merge pull request #203 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.19.0
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0
2024-02-13 08:07:08 +08:00
dependabot[bot]
5b4c0424d5
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.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>
2024-02-12 23:05:46 +00:00
Sun Yimin
6c25107cd1
ci: add go1.22 2024-02-07 16:51:47 +08:00