1249 Commits

Author SHA1 Message Date
Sun Yimin
1596440d53
trigger CI action 2024-05-29 10:27:51 +08:00
Sun Yimin
c3f33f87ba
ci: fix codecov action issue 2024-05-29 08:47:46 +08:00
Sun Yimin
1cf81a8e7c
sm3: multi-blocks refactoring 2024-05-28 17:44:12 +08:00
Sun Yimin
2c688bb9d3
subtle: align byte equal alg 2024-05-28 17:33:48 +08:00
Sun Yimin
5b1df00c92
sm3: fix arm64 issue 2 2024-05-27 17:52:54 +08:00
Sun Yimin
ff6afd5a96
sm3: fix arm64 issue 2024-05-27 17:49:13 +08:00
Sun Yimin
4d69f363f5
sm3-kdf: continue to improve performance 2024-05-27 17:42:17 +08:00
Sun Yimin
ea0884c4a0
doc: update sm2 encryption performance 2024-05-26 11:20:59 +08:00
Sun Yimin
238c0a3634
kdf-sm3: add (8+4+1) test cases and reduce last round instructions 2024-05-24 17:44:17 +08:00
Sun Yimin
3ede319900
sm3: mult 4 way rename some macros v0.27.0 2024-05-24 08:24:09 +08:00
Sun Yimin
74754d50d7
x509: fix test cases, disable sm2withsm3 mixed with others #223 2024-05-23 21:04:30 +08:00
Sun Yimin
8787268d3d
Update x509.go 2024-05-23 20:34:40 +08:00
Sun Yimin
6762238407
x509: rollback some change first #223 2024-05-23 17:49:43 +08:00
Sun Yimin
7c46d7b977
x509: sync with sdk #223 2024-05-23 17:35:56 +08:00
Sun Yimin
ed0b2551ed
kdf-sm3: mult 8 way avx2 version #222 2024-05-23 13:09:16 +08:00
Sun Yimin
2e05c453c8
kdf-sm3: mult by 4 way optimization 2024-05-23 10:38:06 +08:00
Sun Yimin
499415a21d
Update test_qemu.yml 2024-05-21 21:20:10 +08:00
Sun Yimin
5c4b252795
kdf-sm3: rollback 2024-05-21 17:50:10 +08:00
Sun Yimin
41c2a3e6e5
kdf-sm3: arm64 try another address model 2024-05-21 17:47:56 +08:00
Sun Yimin
7c832f65e7
kdf-sm3: optimize arm64 2024-05-21 17:38:04 +08:00
Sun Yimin
a81432fbf8
kdf-sm3: fix arm64 2024-05-21 16:09:29 +08:00
Sun Yimin
d248784491
kdf-sm3: fix arm64 bug 2024-05-21 16:02:58 +08:00
Sun Yimin
53cd7522a0
kdf-sm3: fix buffer length issue 2024-05-21 15:46:59 +08:00
Sun Yimin
dc23026764
kdf-sm3: fix arm64 bug 2024-05-21 15:36:19 +08:00
Sun Yimin
145eba63cb
debug arm64 2024-05-21 15:28:48 +08:00
Sun Yimin
4700112905
debug arm64 2024-05-21 15:10:41 +08:00
Sun Yimin
1ff1d53bed
kdf-sm3: debug arm64 2024-05-21 15:06:46 +08:00
Sun Yimin
79af12761c
kdf-sm3: arm64 debug 2024-05-21 14:42:46 +08:00
Sun Yimin
0ab5fb5baa
kdf-sm3: debug words 2024-05-21 14:17:16 +08:00
Sun Yimin
baa098db08
kdf-sm3: fix arm64 compile error 2024-05-21 11:36:49 +08:00
Sun Yimin
378c2d7d07
kdf-sm3: fix arm64 compile error 2024-05-21 10:27:46 +08:00
Sun Yimin
c581cfa88b
kdf-sm3: fix arm64 compile error 2024-05-21 10:19:02 +08:00
Sun Yimin
866d1bb8d3
kdf-sm3: fix arm64 compile error 2024-05-21 10:13:04 +08:00
Sun Yimin
a276af8f57
kdf-sm3: fix arm64 compile error 2024-05-21 10:10:23 +08:00
Sun Yimin
ab2bc3d819
kdf-sm3: fix arm64 compile issue 2024-05-21 10:03:47 +08:00
Sun Yimin
97d28520b1
kdf-sm3: mult by 4 #221 2024-05-21 09:58:38 +08:00
Sun Yimin
9ef3fdc7d5
kdf: refactoring, create one interface 2024-05-17 08:40:27 +08:00
Sun Yimin
7fb729f4a8
sm2: refine BenchmarkEncrypt test 2024-05-15 10:17:15 +08:00
Sun Yimin
105331f164
sm3: kdf, reduce memory allocation times #220 2024-05-15 09:36:38 +08:00
Sun Yimin
4fe8d28d31
kdf: share Z hash state #220 2024-05-15 08:29:37 +08:00
Sun Yimin
c99ad27ce1
kdf: share Z hash state #220 2024-05-15 08:28:47 +08:00
Sun Yimin
57318eaf5b
x509: include OID in duplicate extension error message 2024-05-08 14:35:20 +08:00
Sun Yimin
580f71f23a
Merge pull request #218 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.23.0
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0
2024-05-07 07:52:21 +08:00
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