1111 Commits

Author SHA1 Message Date
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
Sun Yimin
68372f62c4
add package description for padding 2023-11-28 18:05:31 +08:00
Sun Yimin
69a480021a
Merge pull request #185 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.16.0
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0
2023-11-28 08:17:44 +08:00
dependabot[bot]
a0c28edf9d
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.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-11-28 00:14:10 +00:00
Sun Yimin
e1ed96dfdf
Merge pull request #184 from emmansun/dependabot/go_modules/golang.org/x/sys-0.15.0
build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
2023-11-28 08:13:23 +08:00
dependabot[bot]
cc44a1a90a
build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.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>
2023-11-27 23:53:46 +00:00
Sun Yimin
e373ac7968
zuc: arm64, eia256 uses VMOVQ & VTBL v0.23.0 2023-11-09 15:28:49 +08:00
Sun Yimin
632edd80d5
zuc: arm64, eia256 try VMOVQ to load const 2023-11-09 14:57:20 +08:00
Sun Yimin
b8cfff88b4
ZUC: arm64, EIA uses VDUP to reduce VMOV 2023-11-09 14:42:22 +08:00
Sun Yimin
3d299a6480
x509: optimize the performance of checkSignature #181 2023-11-09 13:03:18 +08:00
Sun Yimin
e8bbfaa5b7
remove travis ci and trigger sm3/4 ni CI 2023-11-09 11:17:05 +08:00
Sun Yimin
b1b7095ce9
zuc: arm64, typo 2023-11-09 10:38:03 +08:00
Sun Yimin
851d02b3ea
Change VMOV to VDUP #179 2023-11-09 10:31:08 +08:00
Sun Yimin
4f511e2125
internal/subtle xor 简化代码,去除重复 #75 2023-11-09 09:32:10 +08:00
Sun Yimin
1b200746af
fix bug #74 2023-11-09 08:50:13 +08:00
Sun Yimin
80a79dacc5
fix bug #74 2023-11-09 08:46:44 +08:00
Sun Yimin
83cf55a137
sm2p256_asm.go中切片直接转数组指针 #74 2023-11-09 08:44:50 +08:00
Sun Yimin
17a3dd8d4b
change interface{} to any, and remove "+build" build tag #77 2023-11-09 08:34:50 +08:00
Sun Yimin
79765c757f
upgrade go to 1.18 #178 2023-11-09 08:17:49 +08:00
Sun Yimin
334520e4f8
upgrade go to 1.18 #178 2023-11-09 08:15:55 +08:00
Sun Yimin
af434c5425
try again v0.22.1 2023-11-08 14:48:01 +08:00
Sun Yimin
7618dbe006
rollback 2023-11-08 14:21:39 +08:00
Sun Yimin
d8c22330e3
change address mode 2023-11-08 14:14:26 +08:00
Sun Yimin
d411f13a58
internal/sm2ec: try to fix compile error 2023-11-08 14:05:58 +08:00
Sun Yimin
795152631d
internal/sm2ec: arm64, uses new method to load y2 2023-11-08 14:00:07 +08:00
Sun Yimin
84045dc25f
zuc: arm64, uses new method to load global data 2023-11-08 13:43:56 +08:00
Sun Yimin
80e88ea2b2
sm4: use new method to load global data 2023-11-08 13:23:04 +08:00
Sun Yimin
c256f1d257
test load global data method 2023-11-08 13:06:34 +08:00
Sun Yimin
230fea3435
internal/sm2ec: reduce memory access v0.22.0 2023-11-08 10:26:19 +08:00
Sun Yimin
720630b65d
internal/sm2ec: fix compile error 2023-11-08 09:46:26 +08:00
Sun Yimin
f68cfb7759
intenal/sm2ec: fix typo 2023-11-08 09:42:18 +08:00