Pratyush Mishra
23d97681af
Update for scalar mul change
2022-08-01 15:07:43 -07:00
Pratyush Mishra
e75546313a
Fix benchmarks and fix accidental renaming of Pallas/Vesta ( #108 )
2022-08-01 13:46:52 -07:00
kevaundray
67d5a8582e
Document Bandersnatch as an incomplete twisted Edwards curve ( #85 )
2022-08-01 10:32:08 -07:00
Marcin
93e64df895
Catch up with algebra ( #106 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2022-07-29 12:16:16 -07:00
Marcin
76579d0fbb
QUADRATIC_NONRESIDUE is never used, remove (#104 )
...
* `QUADRATIC_NONRESIDUE` is never used, remove
* Update CHANGELOG.md
* Remove unused imports
2022-06-30 11:00:01 -07:00
Marcin
9a89ea8adc
Pull ark-std from latest master ( #100 )
2022-04-11 15:17:18 -07:00
Pratyush Mishra
5a1e16e2b7
Fix benchmark imports ( #99 )
2022-03-07 21:01:29 -08:00
Pratyush Mishra
1551d6d76c
Upgrade to work with latest ark-ff ( #95 )
...
Co-authored-by: Sun <huachuang20@gmail.com >
2022-03-07 13:12:03 -08:00
Marcin
d0dc200f22
Sqrt fq2 bls12 381 regression ( #89 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2022-01-11 09:28:17 -08:00
Marcin
6a5cf1d84a
BigInt fixes corresponding to algebra#372
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2022-01-10 11:03:40 -08:00
Pratyush Mishra
d1ced15cc2
Upgrade for algebra/365 ( #92 )
...
* Upgrade for algebra/365
* Merge fix
* Fix
2021-12-29 17:07:52 +01:00
Yuncong Hu
677b4ae751
Simplify the field and curve tests using macros ( #90 )
...
* Simplify the field and curve tests using macros
* minor
* remove redundant code
Co-authored-by: weikeng <w.k@berkeley.edu >
2021-12-06 00:03:29 -08:00
Michael Rosenberg
c5547905d0
Fixed curve-bench compile error ( #83 )
...
* Fixed benchmarking compile error
* Updated CHANGELOG
* patch `algebra-test-templates` due to breaking changes since the last release
Co-authored-by: Marcin Górny <marcin.gorny.94@protonmail.com >
2021-12-05 17:48:33 +01:00
Popog
f1e36c5bed
Documentation provides incorrect calculation ( #81 )
2021-11-15 10:55:32 -08:00
Weikeng Chen
3a0f858adb
Revise the version number of Bandersnatch ( #80 )
2021-11-10 22:20:01 -08:00
zhenfei
461e4190b1
adding SW parameters for Bandersnatch curve ( #67 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2021-10-20 10:12:15 -07:00
zhenfei
5fe1862c9a
Twisted Edwards parameters for BLS12-377 ( #76 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2021-10-19 11:30:41 -07:00
Simon Masson
2118e14b6a
Use Scott's subgroup membership tests for G1 and G2 of BLS12-381. ( #74 )
...
* implementation of the fast subgroup check for bls12_381
* add a bench
* subgroup check for g1
* subgroup check modifications
* remove useless test
* fmt
* need the last version of arkworks/algebra
* remove Parameters0
* using projective points is more efficient
* use of projective coordinates in G2
* fmt
* documentation on the constants and the psi function
* references for algorithms of eprint 2021/1130
* fmt
* sed ^ **
* minor improvement
* fmt
* fix Cargo toml
* nits
* some cleanup for g1
* add the beta test back
* fmt
* g2
* changelog
* add a note on the Cargo.toml
* nits
* avoid variable name conflicts
* add the early-out optimization
Co-authored-by: weikeng <w.k@berkeley.edu >
2021-09-25 10:34:13 -07:00
Weikeng Chen
b5c2d8eba3
Fix a comment on Bandersnatch's TEModelParameters ( #65 )
...
Pratyush noticed a comment regarding COEFF_A has not been updated. This PR fixes so.
2021-06-30 20:14:37 -07:00
zhenfei
129795aa4c
Implement the Bandersnatch curve ( #64 )
...
* impl bandersnatch
* clean up
* update changelog
* Relocate the readme so they show up in the doc
* Delete README.md
* Relocate the changelog entry
* rename & fmt
Co-authored-by: Weikeng Chen <w.k@berkeley.edu >
2021-06-29 18:04:08 -07:00
George Gkitsas
a9cb9bfcb2
Fix incorrect repository links in Cargo.toml files ( #63 )
...
* fixes repository in cargo files
* lint fixes
2021-06-23 08:58:50 -07:00
Weikeng Chen
d2c998736e
Release v0.3.0 ( #62 )
...
* release
* update CHANGELOG.md
v0.3.0
2021-06-06 13:47:19 -07:00
Alex Ozdemir
ada1fdac07
Fix Bls12-377 scalar group generator ( #60 )
...
* Fix Bls12-377 scalar group generator
Previously we used 11 as a generator, which has order (p-1)/35.
Now we use 22, which has the right order.
Fixed the two-adic root of unity in accordance with the new generator.
fixes #47
* add the CHANGE LOG
Co-authored-by: weikeng <w.k@berkeley.edu >
2021-05-06 16:46:22 -07:00
Weikeng Chen
8c795ec0cf
Update the documentation of BN254's field parameters ( #59 )
2021-05-06 08:22:07 -07:00
Daira Hopwood
9d232a7dcd
Fix a comment describing BN254. ( #55 )
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2021-04-16 14:54:33 -07:00
Daira Hopwood
4d6c49640c
Add benchmarks for Pallas and Vesta curves. ( #53 )
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2021-04-16 10:18:06 -07:00
Pratyush Mishra
880a010f5e
Reduce CI time by parallelizing per-curve tests ( #52 )
2021-04-11 14:53:06 -07:00
Dev Ojha
269fe97519
Release v0.2 ( #51 )
2021-03-24 20:18:59 -05:00
Dev Ojha
de78b0da1d
Update CHANGELOG.md ( #50 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2021-03-24 12:00:47 -05:00
Pratyush Mishra
5c0dcd5ca1
Fix links in curve documentation ( #49 )
2021-03-24 09:25:56 -07:00
Weikeng Chen
507cfa355a
Remove the two remaining direct references to rand ( #47 )
2021-03-23 16:31:55 -07:00
Dev Ojha
fea21d919a
Linkify changelog ( #46 )
2021-03-23 13:59:51 -05:00
Weikeng Chen
666da1e3b2
Fix ed-on-mnt4-753 ( #45 )
...
* fix ed-mnt4-753
* update CHANGELOG
2021-02-09 09:33:28 -08:00
Weikeng Chen
74f6efb821
Replace rand with ark_std::rand ( #42 )
...
* replace rand
* update CHANGELOG
* fmt
* fix
* fix
2021-02-04 20:12:47 -08:00
Dev Ojha
684969909b
Add benchmark for sub_assign ( #41 )
2021-02-04 13:50:08 -08:00
Pratyush Mishra
487f0043d8
Upgrade to test-templates from algebra ( #40 )
...
* Upgrade to test-templates from algebra
* Fix Cargo.toml
* Fix search and replace
* Update
* Fix cargo tomls
2021-01-31 11:47:41 -08:00
Dev Ojha
cd88721883
Switch to panic='abort' for safety across FFI boundaries ( #38 )
2021-01-21 14:51:10 -06:00
Pratyush Mishra
6ed2450b55
More comprehensive scalar multiplication tests ( #37 )
2021-01-15 13:55:17 -08:00
Pratyush Mishra
04b5ef1265
Make constraint tests check all allocation modes ( #35 )
2021-01-08 23:03:52 -08:00
Daira Hopwood
39c58df3a6
Add Pallas and Vesta curves ( #21 )
...
Co-authored-by: Ying Tong Lai <yingtong@electriccoin.co >
Co-authored-by: Daira Hopwood <daira@jacaranda.org >
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
Co-authored-by: therealyingtong <yingtong@z.cash >
2020-12-30 16:56:00 -08:00
Pratyush Mishra
e7d7d01a02
Add MSM benchmark ( #24 )
2020-12-16 13:39:29 -06:00
Pratyush Mishra
621355df14
Fix links in Cargo.tomls ( #29 )
...
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com >
2020-12-16 11:12:01 -08:00
Dev Ojha
505b72e71e
Add Changelog and contributing file ( #31 )
...
* Add issue/PR templates
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2020-12-16 00:57:59 -06:00
Pratyush Mishra
ae06af2448
Handle Fp64 related issue ( #32 )
2020-12-16 00:36:01 -06:00
Pratyush Mishra
72b04dbacb
Better inversion in tests ( #30 )
2020-12-15 21:17:28 -08:00
Pratyush Mishra
9654fb6513
Fix rng in constraint tests
2020-12-15 20:49:55 -08:00
ValarDragon
145a573b41
Add missed import
2020-12-15 20:49:55 -08:00
ValarDragon
b7d6d11ff6
Fix doctests
2020-12-15 20:49:55 -08:00
ValarDragon
9c8d0fbe4c
undo patch.crates.io
2020-12-15 20:49:55 -08:00
ValarDragon
febd2048ee
fix lint
2020-12-15 20:49:55 -08:00