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>
3 years ago
Popog
f1e36c5bed
Documentation provides incorrect calculation ( #81 )
3 years ago
Weikeng Chen
3a0f858adb
Revise the version number of Bandersnatch ( #80 )
3 years ago
zhenfei
461e4190b1
adding SW parameters for `Bandersnatch` curve ( #67 )
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
3 years ago
zhenfei
5fe1862c9a
Twisted Edwards parameters for BLS12-377 ( #76 )
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
3 years ago
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>
3 years ago
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.
3 years ago
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>
3 years ago
George Gkitsas
a9cb9bfcb2
Fix incorrect repository links in `Cargo.toml` files ( #63 )
* fixes repository in cargo files
* lint fixes
3 years ago
Weikeng Chen
d2c998736e
Release v0.3.0 ( #62 )
* release
* update CHANGELOG.md
3 years ago
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>
3 years ago
Weikeng Chen
8c795ec0cf
Update the documentation of BN254's field parameters ( #59 )
3 years ago
Daira Hopwood
9d232a7dcd
Fix a comment describing BN254. ( #55 )
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
3 years ago
Daira Hopwood
4d6c49640c
Add benchmarks for Pallas and Vesta curves. ( #53 )
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
3 years ago
Pratyush Mishra
880a010f5e
Reduce CI time by parallelizing per-curve tests ( #52 )
3 years ago
Dev Ojha
269fe97519
Release v0.2 ( #51 )
3 years ago
Dev Ojha
de78b0da1d
Update CHANGELOG.md ( #50 )
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
3 years ago
Pratyush Mishra
5c0dcd5ca1
Fix links in curve documentation ( #49 )
3 years ago
Weikeng Chen
507cfa355a
Remove the two remaining direct references to `rand` ( #47 )
3 years ago
Dev Ojha
fea21d919a
Linkify changelog ( #46 )
3 years ago
Weikeng Chen
666da1e3b2
Fix ed-on-mnt4-753 ( #45 )
* fix ed-mnt4-753
* update CHANGELOG
3 years ago
Weikeng Chen
74f6efb821
Replace `rand` with `ark_std::rand` ( #42 )
* replace rand
* update CHANGELOG
* fmt
* fix
* fix
3 years ago
Dev Ojha
684969909b
Add benchmark for sub_assign ( #41 )
3 years ago
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
3 years ago
Dev Ojha
cd88721883
Switch to panic='abort' for safety across FFI boundaries ( #38 )
3 years ago
Pratyush Mishra
6ed2450b55
More comprehensive scalar multiplication tests ( #37 )
3 years ago
Pratyush Mishra
04b5ef1265
Make constraint tests check all allocation modes ( #35 )
4 years ago
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>
4 years ago
Pratyush Mishra
e7d7d01a02
Add MSM benchmark ( #24 )
4 years ago
Pratyush Mishra
621355df14
Fix links in `Cargo.toml`s ( #29 )
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
4 years ago
Dev Ojha
505b72e71e
Add Changelog and contributing file ( #31 )
* Add issue/PR templates
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
4 years ago
Pratyush Mishra
ae06af2448
Handle `Fp64` related issue ( #32 )
4 years ago
Pratyush Mishra
72b04dbacb
Better inversion in tests ( #30 )
4 years ago
Pratyush Mishra
9654fb6513
Fix rng in constraint tests
4 years ago
ValarDragon
145a573b41
Add missed import
4 years ago
ValarDragon
b7d6d11ff6
Fix doctests
4 years ago
ValarDragon
9c8d0fbe4c
undo patch.crates.io
4 years ago
ValarDragon
febd2048ee
fix lint
4 years ago
ValarDragon
2d081cd315
UniformRand updates
4 years ago
ValarDragon
530d618cca
Change test_rng import to ark-std
4 years ago
Antoine Rondelet
b17b17efcc
Fixed broken links ( #28 )
4 years ago
Pratyush Mishra
7f1fcd6696
Format
4 years ago
Pratyush Mishra
3198749ccb
Improvements
4 years ago
Pratyush Mishra
ac0dcc7ae9
Work
4 years ago
Pratyush Mishra
76cc7aa044
Change benchmark order
4 years ago
Pratyush Mishra
c6a51adb77
Move to `bencher`
4 years ago
Pratyush Mishra
4ab7431059
Reduce number of samples
4 years ago
Pratyush Mishra
651f772755
Move to criterion
4 years ago
Pratyush Mishra
98717da099
Fix MNT4-753 Fq4 Frobenius coefficient
4 years ago
Pratyush Mishra
0486c30b3b
Format
4 years ago