1463 Commits

Author SHA1 Message Date
Sun Yimin
49ff44ddd7
internal/sm2ec/fiat: add inversion test with divsteps 2024-08-20 13:09:17 +08:00
Sun Yimin
b6821a6853
internal/subtle: try s390x vector 2024-08-20 10:02:42 +08:00
Sun Yimin
6925a64c6c
internal/subtle: s390x 2024-08-19 17:46:47 +08:00
Sun Yimin
1f2a93916b
internal/sm2ec: fix order asm inverse 2024-08-19 14:48:19 +08:00
Sun Yimin
dd5b54f503
internal/sm2ec: replace P256OrdInverse with generated code 2024-08-19 13:02:02 +08:00
Sun Yimin
2f0f4745d7
smx509: add t.Helper calls to test helpers 2024-08-16 09:23:25 +08:00
Sun Yimin
6926113a10
sm2ec/fiat: regenerate to include more functions and scalar/order related 2024-08-14 10:38:13 +08:00
Sun Yimin
b7f95a5a9f
sm2: typo 2024-08-13 13:35:45 +08:00
Sun Yimin
4517d00cc1
sm2: fix RecoverPublicKeysFromSM2Signature 2024-08-13 13:34:51 +08:00
Sun Yimin
4c7cf989c7
Merge pull request #234 from emmansun/dependabot/go_modules/golang.org/x/sys-0.24.0
build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0
2024-08-13 09:13:05 +08:00
dependabot[bot]
c1bc68aa9d
build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.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-08-13 00:36:26 +00:00
Sun Yimin
7724ae48da
Merge pull request #233 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.26.0
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0
2024-08-13 08:35:21 +08:00
dependabot[bot]
8da13aec03
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.26.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-08-12 23:35:55 +00:00
Sun Yimin
28920ff1a8
Merge pull request #232 from emmansun/dependabot/go_modules/golang.org/x/sys-0.23.0
build(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0
2024-08-06 07:26:41 +08:00
dependabot[bot]
96e0a9baf0
build(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.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-08-05 23:23:15 +00:00
Sun Yimin
a5d489ee59
internal/cryptotest: add tests for the cipher.Stream interface 2024-08-05 11:40:04 +08:00
Sun Yimin
1b512e5772
internal/cryptotest: add tests for the hash.Hash cipher.BlockMode cipher.Block interfaces 2024-08-02 13:02:25 +08:00
Sun Yimin
95b644238f
README update 2024-07-26 17:42:58 +08:00
Sun Yimin
4b19c80ffc
doc: pkcs7 supplement detached signature 2024-07-26 09:53:00 +08:00
Sun Yimin
ba1836fa45
pkcs: supplement test cases 2024-07-10 14:47:27 +08:00
Sun Yimin
d5b39e6176
pkcs: fix error message issue 2024-07-09 12:58:47 +08:00
Sun Yimin
eb72185fff
pkcs: pbes initial supports GM/T 0091-2020 2024-07-09 12:56:02 +08:00
Sun Yimin
fa39b1fd7a
doc: update sm2.md 2024-07-09 10:00:12 +08:00
Sun Yimin
7a545ef791
Merge pull request #229 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.25.0
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0
2024-07-09 07:51:55 +08:00
dependabot[bot]
681c2d6612
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.25.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-07-08 23:17:46 +00:00
Sun Yimin
fbcf51a46f
Merge pull request #230 from emmansun/dependabot/go_modules/golang.org/x/sys-0.22.0
build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0
2024-07-09 07:17:08 +08:00
dependabot[bot]
59c852abcb
build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.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-07-08 23:14:50 +00:00
Sun Yimin
d7c02ead50
pkcs8: predefine some common errors 2024-07-08 17:00:18 +08:00
Sun Yimin
21ff9aa3ab
pkcs8: fix test case 2024-07-05 16:12:19 +08:00
Sun Yimin
41f4ec0e83
pkcs8: support legacy PBES1 algorithms (parse only) 2024-07-05 16:07:38 +08:00
Sun Yimin
ff1269c9dc
doc: update pkcs12.md 2024-07-05 15:31:13 +08:00
Sun Yimin
2c87cdf8d8
pkcs: refactoring, extract pbes2 from pkcs8 2024-07-04 17:29:44 +08:00
Sun Yimin
ffddbdcfec
doc: supplement PBMAC in pkcs12.md 2024-07-03 11:11:09 +08:00
Sun Yimin
58196f9364
doc: update pkcs12.md 2024-07-03 08:20:11 +08:00
Sun Yimin
8b0ad54238
doc: add zuc.md v0.27.4 2024-06-28 12:54:01 +08:00
Sun Yimin
dcb94c112f
pkcs8: add example code for encrypted to plaintext 2024-06-27 11:17:31 +08:00
Sun Yimin
2ead6d523d
doc: add pkcs12 2024-06-25 17:41:14 +08:00
Sun Yimin
800119e2d9
kdf: add sha256 test cases 2024-06-24 08:35:53 +08:00
Sun Yimin
9382886282
pkcs7: polish, improve maintainability 2024-06-21 18:00:21 +08:00
Sun Yimin
dc66ca673e
pkcs7: follow GB/T 35275-2017 9.1 strictly 2024-06-20 11:49:10 +08:00
Sun Yimin
0445d16e97
smx509: fix CSRResponse sign certs handle issue 2024-06-18 11:43:20 +08:00
Sun Yimin
a1de6312b4
doc: pkcs7 fix table display issue 2024-06-17 17:52:37 +08:00
Sun Yimin
5b3d0a424e
doc: suppliement pkcs7 document and comments 2024-06-17 17:42:00 +08:00
Sun Yimin
1ef4cf9510
smx509: improve test coverage v0.27.3 2024-06-13 17:44:32 +08:00
Sun Yimin
6ba367a255
smx509: support CSRRespose handling 2024-06-12 17:49:37 +08:00
Sun Yimin
36eaeabd95
doc: refine sm2/cfca documents 2024-06-12 10:40:00 +08:00
Sun Yimin
1b34247549
doc: fix reference doc name 2024-06-11 17:50:04 +08:00
Sun Yimin
2f586539d4
doc: CFCA互操作性指南 2024-06-11 17:42:19 +08:00
Sun Yimin
4db3046001
pkcs7: support older CFCA integration #225 v0.27.3-beta.1 2024-06-11 11:01:05 +08:00
Sun Yimin
23081971e8
pkcs7: support CFCA legacy SM2 envelope message #225 v0.27.3-beta.0 2024-06-10 19:46:51 +08:00