1236 Commits

Author SHA1 Message Date
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
dependabot[bot]
9668d1a38b
build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.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-06 23:06:41 +00:00
Sun Yimin
8f5e603f94
sm4: disable PXOR use m128 directly v0.21.5 v0.21.5-beta.1 2023-11-01 15:00:49 +08:00
Sun Yimin
2f163662b5
sm4: cbc enc, do not mem directly v0.21.5-beta 2023-11-01 13:03:46 +08:00
Sun Yimin
319d794ef2
update readme for xts mode 2023-10-25 08:57:21 +08:00
Sun Yimin
2bc8260bcb
upgrade ci 2023-10-24 16:54:00 +08:00
Sun Yimin
55e8c795e5
sm9/bn256: fix arm64 non-avx2 issue v0.21.4 2023-10-24 14:50:51 +08:00
Sun Yimin
5243d0fe91
sm4: code format 2023-10-18 08:07:19 +08:00
Sun Yimin
9bd64f94d3
Merge pull request #170 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.14.0
build(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0
2023-10-10 11:03:47 +08:00
dependabot[bot]
d6fcbcc7d2
build(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.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-10-09 23:32:21 +00:00
emmansun
400147ed3c zuc: eea, fix can't src/dst can't use same buffer issue #169 v0.21.3 2023-09-29 09:57:27 +08:00
Sun Yimin
5b3dfb6fa7
sm4: amd64, reduce VBROADCASTI128 usage 2023-09-28 13:19:52 +08:00
Sun Yimin
15d1b57a23
Update asm_arm64.s 2023-09-28 12:04:45 +08:00
Sun Yimin
87041f3ad3
sm4: arm64 load const issue 2023-09-28 11:54:24 +08:00
Sun Yimin
218ce35c71
sm4: arm64, fix load const issue 2023-09-28 11:47:38 +08:00