1276 Commits

Author SHA1 Message Date
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
Sun Yimin
eba2b736bd
sm4: arm64, simplify const loading 2023-09-28 11:44:48 +08:00
Sun Yimin
53e121c2b5
sm4: optimize TAO L1 #168 2023-09-28 10:11:31 +08:00
Sun Yimin
cc441bed27
加入中文README 2023-09-27 17:32:22 +08:00
Sun Yimin
9a4cb2c34f
sm4: use POR, although it does not affect the correctness 2023-09-27 09:22:22 +08:00
Sun Yimin
232af559d7
sm3: 使用GG2等价公式 #166 v0.21.2 2023-09-22 17:09:55 +08:00
Sun Yimin
f2199843b1
kdf: add benchmark test 2023-09-21 13:48:51 +08:00
Sun Yimin
edcba25490
sm3: refactoring v0.21.1 2023-09-20 15:43:32 +08:00
Sun Yimin
76bafca3c4
sm3: format code, #165 2023-09-20 10:27:01 +08:00
Sun Yimin
125b272c88
sm3: amd64 sse version #165 2023-09-20 10:07:46 +08:00
Sun Yimin
077664e809
sm3: amd64, avx version, remove usage of RORX #157 2023-09-19 17:32:53 +08:00