1257 Commits

Author SHA1 Message Date
Sun Yimin
6c25107cd1
ci: add go1.22 2024-02-07 16:51:47 +08:00
Sun Yimin
78c7cf81fe
ciphter/ctr: remove uselss import 2024-02-07 13:44:33 +08:00
Sun Yimin
267ff02783
cipher/ctr: add more test data 2024-02-07 13:41:52 +08:00
Sun Yimin
6b808a6003
zuc: refactor S1_compute on arm64 2024-01-31 17:36:28 +08:00
Sun Yimin
a2ce3f51d0
sm4: reduce bounds check 2024-01-31 14:48:46 +08:00
Sun Yimin
056d14a892
ci: rollback 2024-01-31 13:19:48 +08:00
Sun Yimin
1f3d5d19a4
ci: support go 1.22 2024-01-31 13:16:29 +08:00
Sun Yimin
19636d09c1
sm4: code refactor for block 2024-01-31 13:08:51 +08:00
Sun Yimin
aaabb09dac
sm2: saving some temporary variables 2024-01-30 17:51:13 +08:00
Sun Yimin
fe4e699b19
zuc: optimize constant loading on arm64 2024-01-30 17:33:34 +08:00
Sun Yimin
9a45c4101b
sm4: optimize constant value loading on arm64 2024-01-30 13:10:41 +08:00
Sun Yimin
515cabfd04
sm4: optimize constant loading on arm64 2024-01-30 13:04:03 +08:00
Sun Yimin
d9591cf102
fix action v0.25.0 2024-01-25 17:49:40 +08:00
Sun Yimin
f04d7f102f
add FORCE_SM4BLOCK_AESNI test 2024-01-25 17:47:25 +08:00
Sun Yimin
a01428eaf3
sm4: add env var FORCE_SM4BLOCK_AESNI & give up cbc asm implementation 2024-01-25 17:46:09 +08:00
Sun Yimin
29b6da1d37
sm4: change to use pure go for single block encryption/decryption 2024-01-25 09:02:28 +08:00
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