1250 Commits

Author SHA1 Message Date
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
Sun Yimin
14c9c94894
internal/sm2ec: fix typo 2023-11-08 09:38:28 +08:00
Sun Yimin
93a5d6abd1
internal/sm2ec: uses neon inst. for p256PointAddAffineAsm 2023-11-08 09:32:31 +08:00
Sun Yimin
2f60f0062b
internal/sm2ec: use neon inst. for p256Select 2023-11-07 16:34:58 +08:00
Sun Yimin
b5c593005d
internal/sm2ec: uses neon inst. for p256SelectAffine 2023-11-07 16:11:05 +08:00
Sun Yimin
ef55df3657
sm9/bn256: use neon inst. for conditional move 2023-11-07 15:33:52 +08:00
Sun Yimin
06a310dd4d
internal/sm2ec: use neon inst. for p256MovCond 2023-11-07 15:05:49 +08:00
Sun Yimin
39751be045
internal/sm2ec: fix bug 2023-11-07 08:59:50 +08:00
Sun Yimin
224c41c0d0
internal/sm2ec: use neon for p256BigToLittle 2023-11-07 08:54:30 +08:00
Sun Yimin
6535a2d27f
Merge pull request #177 from emmansun/revert-176-dependabot/go_modules/golang.org/x/sys-0.14.0
Revert "build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0"
2023-11-07 08:05:03 +08:00
Sun Yimin
846049f855
Revert "build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0" 2023-11-07 08:04:53 +08:00
Sun Yimin
0c9228e6b4
Merge pull request #176 from emmansun/dependabot/go_modules/golang.org/x/sys-0.14.0
build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
2023-11-07 07:08:13 +08:00