1288 Commits

Author SHA1 Message Date
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
Sun Yimin
78c7cf81fe
ciphter/ctr: remove uselss import 2024-02-07 13:44:33 +08:00
Sun Yimin
267ff02783
cipher/ctr: add more test data 2024-02-07 13:41:52 +08:00
Sun Yimin
6b808a6003
zuc: refactor S1_compute on arm64 2024-01-31 17:36:28 +08:00
Sun Yimin
a2ce3f51d0
sm4: reduce bounds check 2024-01-31 14:48:46 +08:00
Sun Yimin
056d14a892
ci: rollback 2024-01-31 13:19:48 +08:00
Sun Yimin
1f3d5d19a4
ci: support go 1.22 2024-01-31 13:16:29 +08:00
Sun Yimin
19636d09c1
sm4: code refactor for block 2024-01-31 13:08:51 +08:00
Sun Yimin
aaabb09dac
sm2: saving some temporary variables 2024-01-30 17:51:13 +08:00
Sun Yimin
fe4e699b19
zuc: optimize constant loading on arm64 2024-01-30 17:33:34 +08:00
Sun Yimin
9a45c4101b
sm4: optimize constant value loading on arm64 2024-01-30 13:10:41 +08:00
Sun Yimin
515cabfd04
sm4: optimize constant loading on arm64 2024-01-30 13:04:03 +08:00
Sun Yimin
d9591cf102
fix action v0.25.0 2024-01-25 17:49:40 +08:00
Sun Yimin
f04d7f102f
add FORCE_SM4BLOCK_AESNI test 2024-01-25 17:47:25 +08:00
Sun Yimin
a01428eaf3
sm4: add env var FORCE_SM4BLOCK_AESNI & give up cbc asm implementation 2024-01-25 17:46:09 +08:00
Sun Yimin
29b6da1d37
sm4: change to use pure go for single block encryption/decryption 2024-01-25 09:02:28 +08:00
Sun Yimin
8e6f9c8fb4
fix macos action 2024-01-24 13:16:41 +08:00
Sun Yimin
8198f2aa8e
fix darwin cpu feature detect issue 2024-01-24 13:11:09 +08:00
Sun Yimin
5cf5e347bc
internal/bigmod: sync sdk #200 v0.24.3 2024-01-12 17:43:51 +08:00