1787 Commits

Author SHA1 Message Date
Sun Yimin
89317b8f0b
sm2: code review and refactor 2024-12-19 08:17:21 +08:00
Sun Yimin
a71e806a2d
sm9: code review 2024-12-17 18:06:15 +08:00
Sun Yimin
a53c8b97f8
Merge pull request #289 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
2024-12-17 07:28:08 +08:00
dependabot[bot]
4fd9003243
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.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-12-16 23:17:20 +00:00
Sun Yimin
0d3a2d2d18
cfca: pkcs12 sm2, supplement test data 2024-12-16 12:54:36 +08:00
Sun Yimin
008b209765
cfca: pkcs7 test, avoid random failure 2024-12-13 18:16:08 +08:00
Sun Yimin
ab670f8ced
cfca: pkcs7 test, avoid random failure 2024-12-13 18:14:06 +08:00
Sun Yimin
8e02380f47
update README 2024-12-13 18:07:41 +08:00
Sun Yimin
ac38d8f6aa
cfca: test trustAsia generated csr v0.29.6 2024-12-13 15:37:27 +08:00
Sun Yimin
d2e96cff57
cfca: update test error message 2024-12-13 08:20:48 +08:00
Sun Yimin
1bbcc232db
cfca: test sadk generated csr #286 2024-12-12 17:55:57 +08:00
Sun Yimin
cdf1805d4f
smx509: cfca csr add comments and align tmp publickey encoding 2024-12-12 17:34:12 +08:00
Sun Yimin
6a98350f2e
cfca: extract encrypt/decrypt functions with SM4CBC and SM3 KDF 2024-12-11 17:51:31 +08:00
Sun Yimin
65532624e8
cfca pkcs10 rename and improve test coverage #286 2024-12-11 10:06:27 +08:00
Sun Yimin
3371b7c65c
cfca csr with tmp publickey and parse returned encryption key #286 2024-12-11 08:36:55 +08:00
Sun Yimin
c6881ae849
update cfca document 2024-12-10 10:29:22 +08:00
Sun Yimin
df3db923c6
support cfca certificate request #286 2024-12-10 10:13:51 +08:00
Sun Yimin
1d894ef955
fix test case 2024-12-10 09:24:05 +08:00
Sun Yimin
a3161b7581
support cfca certificate request #286 2024-12-10 09:01:21 +08:00
Sun Yimin
01b0570c3a
support cfca certificate request #286 2024-12-10 08:57:35 +08:00
Sun Yimin
717a0feea6
Merge pull request #288 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.30.0
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0
2024-12-10 07:20:21 +08:00
dependabot[bot]
39bb9469b1
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.30.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-12-09 23:13:22 +00:00
Sun Yimin
5ada783793
Merge pull request #287 from emmansun/dependabot/go_modules/golang.org/x/sys-0.28.0
build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0
2024-12-10 07:12:16 +08:00
dependabot[bot]
4c5dc14a6b
build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/sys/compare/v0.27.0...v0.28.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-12-09 23:07:16 +00:00
Sun Yimin
1d24c4640d
pkcs7: fallback change 2024-12-09 20:05:39 +08:00
Sun Yimin
531388ce5e
pkcs7: fallback change 2024-12-09 19:59:41 +08:00
Sun Yimin
1cf8782870
pkcs7: fallback change 2024-12-09 19:54:01 +08:00
Sun Yimin
0d1fe8c95c
cfca: add pkcs7 signed data facade 2024-12-09 18:00:40 +08:00
Sun Yimin
90fa2233a8
zuc: eea seek benchmark test and refactor v0.29.5 2024-12-06 16:36:24 +08:00
Sun Yimin
865159d86a
internal/bigmod: add more //go:norace annotations and refactoring 2024-12-06 08:54:47 +08:00
Sun Yimin
0d56114869
zuc: eea XORKeyStreamAt avoid useless calculation 2024-12-05 18:13:23 +08:00
Sun Yimin
9bfea6d73d
zuc: eea XORKeyStreamAt fix issue v0.29.5-beta.2 2024-12-05 17:59:02 +08:00
Sun Yimin
f644a483e3
cbcmac: implement hash interface for cmac 2024-12-05 17:39:45 +08:00
Sun Yimin
379396b688
zuc: eea XORKeyStreamAt fix issue 2024-12-05 17:32:24 +08:00
Sun Yimin
fcd1aa22d2
internal/bigmod: disable race detector on tight loops #285 v0.29.5-beta.1 2024-12-05 08:33:11 +08:00
Sun Yimin
14087e2665
zuc: refactor the eea test case issue #284 2024-12-05 08:14:21 +08:00
Sun Yimin
ddb5b69b53
fix #284 2024-12-04 18:54:19 +08:00
Sun Yimin
d009f7ebef
internal/bigmod: sync bigmod change between 30/Nov 2024 to 3/Dec 2024 #282 2024-12-03 17:57:27 +08:00
Sun Yimin
a599819ef8
cfca: provide cfca envelope message facades #283 2024-12-03 17:53:25 +08:00
Sun Yimin
0e154ad9cb
cbc-mac supplement test cases and document #281 2024-12-03 17:48:25 +08:00
Sun Yimin
e6a8b84935
cbcmac: supplement test cases #281 2024-12-03 08:20:59 +08:00
Sun Yimin
f419e78566
Support CBC-MAC and its variants #281 2024-12-02 17:57:51 +08:00
Sun Yimin
30077cd1d6
ci: test purego ignore 1.23 first, there's one bug in golang v0.29.4 2024-11-29 17:46:40 +08:00
Sun Yimin
9582d8e524
ci: test golang 1.23 2024-11-29 17:09:24 +08:00
Sun Yimin
d90f8d62e1
zuc: seekable stream, refactor the test case #277 2024-11-29 16:07:31 +08:00
Sun Yimin
895c0db489
zuc: seekable stream refactoring and fix bug #277 2024-11-29 15:19:19 +08:00
Sun Yimin
da9f9c1748
zuc: seakable stream #277 2024-11-29 11:44:59 +08:00
Sun Yimin
f458fe69cf
sm2/sm2ec: move sm2 related to sm2ec.go 2024-11-28 14:55:32 +08:00
Sun Yimin
8264b5f42c
internal/bigmod: add support for even moduli #280 2024-11-27 08:59:46 +08:00
Sun Yimin
e08954dd45
internal/bigmod: add support for even moduli #280 2024-11-27 08:56:11 +08:00