199 Commits

Author SHA1 Message Date
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
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
a8b10483e1 sm9/bn256: fix gfpTriple generic implementation issue 2023-07-21 21:07:50 +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
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
Sun Yimin
929e1b892b
sm9/bn256: fix one potential issue 2023-07-14 16:37:00 +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
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 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
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
0afaeb49eb
sm9/bn256: use ADCX ADOX together with MULX #132 2023-06-28 17:38:05 +08:00
Sun Yimin
8041c5e310
sm2: remove CSPRNG usage 2023-06-27 08:57:31 +08:00
Sun Yimin
e25a8c6be2
sm9/bn256: arm64 ww-mm test 2023-06-26 17:28:02 +08:00
emmansun
dbbfa37399 sm9/bn256: update document 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 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