1291 Commits

Author SHA1 Message Date
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
Sun Yimin
25ead7dc1f
smx509: refactor p8 parse and pkix public key parse 2024-01-11 17:45:55 +08:00
Sun Yimin
7db8067549
smx509: can parse openssl v3.1.3 p8 sm2 private key #197 v0.24.2 2024-01-09 08:29:18 +08:00
Sun Yimin
192bcb95bd
Merge pull request #199 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.18.0
build(deps): bump golang.org/x/crypto from 0.17.0 to 0.18.0
2024-01-09 07:42:12 +08:00
dependabot[bot]
9383525118
build(deps): bump golang.org/x/crypto from 0.17.0 to 0.18.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.18.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-01-08 23:25:23 +00:00
Sun Yimin
906f7d4891
Merge pull request #198 from emmansun/dependabot/go_modules/golang.org/x/sys-0.16.0
build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0
2024-01-09 07:24:20 +08:00
dependabot[bot]
49440cb3ce
build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.16.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-01-08 23:19:03 +00:00
Sun Yimin
ceff9bfd19
doc: sm4 AEAD mode dst explanation 2023-12-29 17:57:40 +08:00
Sun Yimin
f9b884b62c
README 增加软件许可 2023-12-26 08:31:50 +08:00
Sun Yimin
93f3a5e020
doc: update sm2/sm4 document 2023-12-22 17:54:42 +08:00
Sun Yimin
3ac62049d6
doc: SM9标识密码算法应用指南 2023-12-19 10:36:06 +08:00
Sun Yimin
96c42cd00a
Merge pull request #192 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.17.0
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
2023-12-19 07:45:50 +08:00
dependabot[bot]
3bf75613d2
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.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>
2023-12-18 23:36:14 +00:00
Sun Yimin
c1f84cefed
sm2: naming convention 2023-12-18 08:17:10 +08:00
Sun Yimin
c6cc18ee9c
doc: sm2 update examples 2023-12-18 07:58:52 +08:00
Sun Yimin
77b581e409
doc: Errata 2023-12-15 18:04:06 +08:00
Sun Yimin
5740fe0e1c
add back private key print with %q v0.24.1 2023-12-15 17:47:32 +08:00
Sun Yimin
515aa31259
sm2: add comments and refactor 2023-12-15 15:11:49 +08:00
Sun Yimin
cad90f95ec
internal/sm2ec: align error message 2023-12-15 13:17:43 +08:00
Sun Yimin
58d30f6655
sm2: fix bug 2023-12-15 13:14:02 +08:00
Sun Yimin
167f0e0b11
sm2: #189, #190, #191 2023-12-15 13:06:53 +08:00
Sun Yimin
aa4e023972
Update document 2023-12-14 16:28:25 +08:00
Sun Yimin
0dfbe032fb
fix link issue 2023-12-14 11:08:00 +08:00
Sun Yimin
a3c46ce202
update english disclaimer 2023-12-14 11:06:43 +08:00
Sun Yimin
68247bc044
README deault to Chinese 2023-12-14 10:42:31 +08:00
Sun Yimin
6bc061a549
cipher: reduce duplicate code v0.24.0 2023-12-13 14:19:31 +08:00
Sun Yimin
0f3d76705b
sm2: fix enveloped key issue #188 2023-12-13 13:43:05 +08:00
Sun Yimin
fefb280170
doc: 重新编排 2023-12-13 08:02:22 +08:00
Sun Yimin
2187bea0d9
doc: 增加与KMS集成这一节及其它 2023-12-12 17:32:48 +08:00
Sun Yimin
015ca1b6b2
doc: fix markdown display 2023-12-12 13:07:10 +08:00
Sun Yimin
e2c135b9b9
doc: fix display 2023-12-12 13:00:46 +08:00
Sun Yimin
97ddcab4b2
doc: sm3/sm4应用指南 2023-12-12 11:51:34 +08:00
Sun Yimin
880691746d
sm2: makes CalculateSM2Hash public 2023-12-12 08:12:28 +08:00
Sun Yimin
44336ac775
增加与KMS集成一节 2023-12-11 21:11:08 +08:00
Sun Yimin
52e02c209b
doc: fix github page display issue 2023-12-11 17:46:07 +08:00
Sun Yimin
097d98eb7d
doc: SM2椭圆曲线公钥密码算法应用指南 2023-12-11 17:38:58 +08:00
Sun Yimin
ec51f8827d
fix ut 2023-12-08 17:58:15 +08:00
Sun Yimin
c913b7d304
align error message pattern 2023-12-08 17:55:29 +08:00
Sun Yimin
82125c00a4
cipher: align error message pattern 2023-12-08 17:42:16 +08:00
Sun Yimin
3c11e3a166
Update README 2023-12-07 08:09:42 +08:00
Sun Yimin
9384d1f1ac
Update README-CN 2023-12-06 16:07:53 +08:00
Sun Yimin
ee397cdbd7
cipher: add SM legacy operation modes 2023-12-06 14:45:08 +08:00
Sun Yimin
67c80c82b4
cipher/hctr: eliminate bounds checks in the loop 2023-12-06 10:24:22 +08:00
emmansun
8213fb98c5 cipher/hctr: add comments for hctrReductionTable 2023-12-04 11:24:32 +08:00
emmansun
22358080d5 cipher/hctr: correct comments 2023-12-04 10:50:13 +08:00
emmansun
e8f39ed529 update LengthPreservingMode interface 2023-12-04 10:27:26 +08:00
emmansun
e5effb8bb9 cipher/hctr: optimization with GCM GF128 method 2023-12-03 10:25:44 +08:00
Sun Yimin
9d467f8051
cipher: hctr POC 2023-12-01 15:51:15 +08:00