881 Commits

Author SHA1 Message Date
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
Sun Yimin
12ef9e0ef9
sm4: optimize amd64 sse, cbc decrypter 2023-07-04 08:38:53 +08:00
emmansun
a53659eb5b sm4: optimize sse version 2023-07-03 16:20:04 +08:00
emmansun
f10b09f5a2 sm4: gcm init use PALIGNR to reduce instructions 2023-07-03 15:41:05 +08:00
Sun Yimin
d3e6412258
sm4: Support AES-NI + AVX #135 2023-07-03 12:00:27 +08:00
emmansun
1e5ba7f5a1 sm9/bn256: add miller benchmark test 2023-07-02 11:46:50 +08:00
emmansun
b493f8cb99 sm9/bn256: avoid value copy #136 2023-07-02 11:23:36 +08:00
Sun Yimin
c7b3d97304
sm9/bn256: value copy acceleration #136 2023-06-30 17:51:35 +08:00
Sun Yimin
78542032f2
bigmod: fix non adx version amd64 256 bits bug #133 v0.18.1 2023-06-29 09:52:41 +08:00
Sun Yimin
0afaeb49eb
sm9/bn256: use ADCX ADOX together with MULX #132 2023-06-28 17:38:05 +08:00
Sun Yimin
ce489e2b4b
sm4: fix include order issue 2023-06-28 17:05:38 +08:00
Sun Yimin
39f75ac913
sm4: rename asm macros files 2023-06-28 16:52:40 +08:00
Sun Yimin
7effe0578b
Update ci.yml
add 1.20 ci test
2023-06-28 15:17:40 +08:00
Sun Yimin
1d0e77388a
sm4: ctr mode fix issue and comments 2023-06-27 17:52:23 +08:00
Sun Yimin
8041c5e310
sm2: remove CSPRNG usage 2023-06-27 08:57:31 +08:00
Sun Yimin
c1ea628282
try to reduce ci time 2023-06-27 08:41:01 +08:00
Sun Yimin
e25a8c6be2
sm9/bn256: arm64 ww-mm test 2023-06-26 17:28:02 +08:00
Sun Yimin
84f203d4ad
sm2ec: arm64 ww-mm test again 2023-06-26 16:47:57 +08:00
Sun Yimin
1ff7cb7b7f
sm2ec: arm64 trigger test 2023-06-26 16:41:12 +08:00
Sun Yimin
b19dfa6d58
sm2ec: arm64 test 2023-06-26 16:01:36 +08:00
emmansun
dbbfa37399 sm9/bn256: update document v0.18.0 2023-06-24 10:10:08 +08:00
emmansun
9b4a77482a sm9/bn256: add test cases and refactoring 2023-06-24 09:38:45 +08:00
emmansun
b84bd335dc sm9/bn256: amd64 support MULX for mul & Sqr 2023-06-22 18:54:09 +08:00
emmansun
f95cce434f sm9/bn256: fix arm64 from mont func issue 2023-06-22 15:50:06 +08:00
emmansun
531302450a sm9/bn256: check arm64 failed function 2023-06-22 15:36:42 +08:00
emmansun
edf3db15b6 sm9/bn256: did not save code change 2023-06-22 14:58:29 +08:00
emmansun
7b0e5c2bb9 sm9/bn256: remove useless code 2023-06-22 14:53:02 +08:00
emmansun
0bb1fa5be5 sm9/bn256: asm rewrite batch 1, for arm64 test 2023-06-22 14:35:14 +08:00
Sun Yimin
ecab517411
sm9/bn256: curvePointMovCond twistPointMovCond asm implementation for amd64 & arm64 v0.17.5 2023-06-21 15:45:06 +08:00
Sun Yimin
aa535e3aaa
sm9/bn256: gfP12MovCond asm implementation for amd64 & arm64 2023-06-21 14:35:58 +08:00
Sun Yimin
9bcbf9bae9
sm2/sm9: eliminate bounds checks in the loop of Select 2023-06-21 11:52:32 +08:00
Sun Yimin
2da0a9cebc
sm9/bn256: add comment for gfpNeg 2023-06-21 09:02:09 +08:00
emmansun
5d101fb431 sm9: fix neg issue 2023-06-20 21:01:56 +08:00
Sun Yimin
4bda6e6b6c
sm3: improve purego performance 2023-06-20 17:51:14 +08:00