914 Commits

Author SHA1 Message Date
Sun Yimin
1ecdb1a563
sm9/bn256: arm64 curvePointDoubleComplete fix issue 2023-07-25 13:02:19 +08:00
Sun Yimin
628054399a
sm9/bn256: adjust test case order 2023-07-25 11:54:29 +08:00
Sun Yimin
dd5fcd13d6
sm9/bn256: arm64 curvePointDoubleComplete 2023-07-25 11:47:50 +08:00
Sun Yimin
04e6a1c9b3
sm9/bn256: arm64 gfp2Square & gfp2SquareU 2023-07-25 08:35:00 +08:00
Sun Yimin
c62d6daf74
sm9/bn256: arm64 gfp2MulU 2023-07-25 08:21:44 +08:00
Sun Yimin
ecf14648e9
sm9/bn256: arm64 gfp2Mul 2023-07-25 08:14:56 +08:00
Sun Yimin
087b3ae596
sm9/bn256: arm64 test mul, found issue, try again 2023-07-25 08:09:46 +08:00
Sun Yimin
abf506d8ee
sm9/bn256: arm64 test mul 2023-07-25 08:06:07 +08:00
Sun Yimin
a1335db683
sm9/bn256: arm64 test mul 2023-07-25 07:59:23 +08:00
Sun Yimin
ef4277c510
Update test_qemu.yml 2023-07-24 19:47:20 +08:00
Sun Yimin
f6ad6f3719
sm9/bn256: arm64 fix mul issue 2023-07-24 16:26:16 +08:00
Sun Yimin
4985c6da53
sm9/bn256: arm64, use register R27 2023-07-24 15:59:39 +08:00
Sun Yimin
73cc8d737c
sm9/bn256: fix copy paste error 2023-07-24 15:31:11 +08:00
Sun Yimin
b7ff7ecd8a
sm9/bn256: fix compile error 2023-07-24 14:46:10 +08:00
Sun Yimin
7989a62e23
sm9/bn256: arm64, forgot one by one 2023-07-24 14:36:00 +08:00
Sun Yimin
248c2de1ef
sm9/bn256: fix arm64 issue 2023-07-24 14:28:23 +08:00
Sun Yimin
b4bd731996
sm9/bn256: fix arm64 issue 2023-07-24 13:18:08 +08:00
Sun Yimin
2394eea76d
sm9/bn256: fix arm64 issue 2023-07-24 13:13:07 +08:00
Sun Yimin
968dfaafa0
sm9/bn256: gfp2 g1 arm64 method one by one 2023-07-24 13:11:38 +08:00
Sun Yimin
de62767f53
sm9/bn256: addcomplete amd64 2023-07-24 13:02:00 +08:00
emmansun
b21a234037 sm9/bn256: curvePointDoubleComplete asm 2023-07-22 17:29:19 +08:00
emmansun
2d615c7f94 Merge branch 'main' of https://github.com/emmansun/gmsm 2023-07-22 15:32:34 +08:00
Sun Yimin
d452423d62
sm9/bn256: fix gfp triple generic issue 2023-07-21 21:19:45 +08:00
emmansun
a8b10483e1 sm9/bn256: fix gfpTriple generic implementation issue 2023-07-21 21:07:50 +08:00
emmansun
e769cefbd8 Merge branch 'main' of https://github.com/emmansun/gmsm
# Conflicts:
#	sm9/bn256/gfp12_b6.go
2023-07-21 20:43:00 +08:00
Sun Yimin
76131e6438
internal/sm2ec: not use ADX first 2023-07-21 18:06:22 +08:00
Sun Yimin
5b5b26c095
sm9/bn256: fix twist Frobenius bug due to #144, will further review those functions usage 2023-07-21 17:51:25 +08:00
Sun Yimin
16b2a43dc3
sm9/bn256: complete addition fomulas and gfp2 amd64 asm #144 2023-07-21 17:39:06 +08:00
Sun Yimin
a173646017
internal/sm2ec: optiomization for ADX usage and supplement comments 2023-07-20 17:49:53 +08:00
Sun Yimin
bbbf2612bc
sm9/bn256: fix add same bug 2023-07-19 15:26:38 +08:00
Sun Yimin
b9bbf94b47
sm9/bn256: rename special square function name 2023-07-18 17:29:10 +08:00
emmansun
e24d1c34c5 sm9/bn256: use double 2023-07-15 16:25:50 +08:00
Sun Yimin
929e1b892b
sm9/bn256: fix one potential issue 2023-07-14 16:37:00 +08:00
Sun Yimin
fc2f105dd2
sm4: fix AVX version use AVX2 inst. issue v0.19.1 2023-07-13 08:47:05 +08:00
Sun Yimin
fc287b6e96
sm9/bn256: add bilinearity test case 2023-07-12 15:09:25 +08:00
Sun Yimin
9ec8d3bc04
sm9/bn256: add double & triple, fix gfpNeg issue, use Square as possible 2023-07-11 17:30:48 +08:00
Sun Yimin
ba3cbd23c8
Merge pull request #142 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.11.0
build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0
2023-07-11 08:26:23 +08:00
dependabot[bot]
c453c21b5f
build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.10.0...v0.11.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-07-11 00:23:56 +00:00
Sun Yimin
c1a20fdb5c
Merge pull request #141 from emmansun/dependabot/go_modules/golang.org/x/sys-0.10.0
build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0
2023-07-11 08:23:13 +08:00
dependabot[bot]
fd9309fcf4
build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sys/compare/v0.9.0...v0.10.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-07-10 23:51:04 +00:00
Sun Yimin
75dc5a6d00
Update README.md 2023-07-09 17:13:19 +08:00
Sun Yimin
29ccad538a
Update README.md 2023-07-08 19:32:26 +08:00
Sun Yimin
9d59be1699
Update README.md 2023-07-08 16:11:29 +08:00
emmansun
cf1b3da289 sm9/bn256: fix purego issue v0.19.0 2023-07-07 20:20:15 +08:00
Sun Yimin
0e54e68bfd
sm9/bn256: asm implementation for gfP Marshal/Unmarshal #140 2023-07-07 18:09:49 +08:00
Sun Yimin
ebe5aca2d8
Update select_generic.go 2023-07-06 17:56:10 +08:00
Sun Yimin
4755d5aa2a
sm9/bn256: also apply to 1-2-6-12 #139 #137 2023-07-06 17:36:34 +08:00
Sun Yimin
5f72151e74
sm9/bn256: special square for final exp & optimize gfp2/gfp12 square #137 #139 2023-07-05 17:58:19 +08:00
Sun Yimin
89f3b0f6d3
sm4: add some comments for asm code 2023-07-05 17:51:26 +08:00
Sun Yimin
8cfd82dc53
sm4: mistake 2023-07-04 10:04:15 +08:00