1497 Commits

Author SHA1 Message Date
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
Sun Yimin
fbe4073a46
sm3: fix slice bound issue #226 v0.27.2 2024-06-10 18:45:26 +08:00
Sun Yimin
5a9d7e1b67
dep: upgrade v0.27.1 2024-06-07 16:20:44 +08:00
Sun Yimin
212fae1dda
drbg: add comments 2024-06-05 17:47:56 +08:00
Sun Yimin
95bc8792f8
drbg: rollback hash drbg change 2024-06-05 13:07:29 +08:00
Sun Yimin
10a97b4c51
drbg: support NIST HMAC-DRBG 2 2024-06-05 13:01:28 +08:00
Sun Yimin
dfc45df2d8
drbg: support NIST HMAC-DRBG 2024-06-05 13:00:44 +08:00
Sun Yimin
b434b5f373
doc: sm2应用扩展 2024-06-04 11:41:58 +08:00
Sun Yimin
cad5d3504e
sm2: public recover from signature 2 2024-06-04 08:26:51 +08:00
Sun Yimin
126ee25d2a
sm4: arm64 asm redefine register usage and const loading 2024-06-03 17:50:44 +08:00
Sun Yimin
7bb7903ce2
sm2: recover public keys 2024-06-01 10:31:29 +08:00
Sun Yimin
63affe5127
sm2: recover public keys from signature 2024-05-31 18:30:58 +08:00
Sun Yimin
81b0c7f5ae
internal/bigmod: make CmpGeq public 2024-05-31 18:13:14 +08:00
Sun Yimin
91932efc27
correct comments 2024-05-30 17:56:23 +08:00
Sun Yimin
9491f5db11
upgrade actions/setup-go to v5 2024-05-29 12:57:54 +08:00
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