Weikeng Chen
a82486db1d
Add supplementary small group bases for some common fields ( #137 )
* update
* use r1cs std
* fix
* rem
* Apply suggestions from code review
Co-authored-by: onewayfunc <onewayfunc@gmail.com>
2 years ago
Pratyush Mishra
febd7635fb
Rename all `*Parameters` to `*Config` ( #136 )
* Rename all `*Parameters` to `*Config`
* Tweak
2 years ago
mmagician
cdf4d182a6
Prepare release 0.4 ( #133 )
2 years ago
mmagician
138b23f2fa
Zcash-style serialization for BLS12-381 ( #129 )
Co-authored-by: kevaundray <37423678+kevaundray@users.noreply.github.com>
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2 years ago
mmagician
4bcf87de22
Faster cofactor clearing for G1 & G2 of bls12-381 + benchmarking ( #103 )
2 years ago
Pratyush Mishra
1833cbfb29
Tweaks
2 years ago
Pratyush Mishra
f43d59c958
Rename
2 years ago
Pratyush Mishra
68f500da01
Optimizations to field and curve arithmetic
2 years ago
Pratyush Mishra
363426c1d4
Update to new benchmarking framework ( #126 )
2 years ago
Weikeng Chen
3c4c67f114
Sync with the recent changes in ark-algebra on pairing and testing ( #116 )
* Fix another typo in the Jubjub curve comment
* fix
* progress
* get_point_from_x_unchecked
* fix
* soft link
* Fix Bandersnatch
* Fix Edwards form of Bandersnatch
* Actually fix ed_on_bls12_381_bandersnatch/src/curves/mod.rs
* fix
* fix
* curve-benches
* fix the last mul_by_a; fmt
Co-authored-by: onewayfunc <onewayfunc@gmail.com>
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2 years ago
Weikeng Chen
435de9fc36
Let `cargo build` work again for the new arkworks-rs algebra ( #111 )
2 years ago
Marcin
93e64df895
Catch up with algebra ( #106 )
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2 years ago
Marcin
76579d0fbb
`QUADRATIC_NONRESIDUE` is never used, remove ( #104 )
* `QUADRATIC_NONRESIDUE` is never used, remove
* Update CHANGELOG.md
* Remove unused imports
2 years ago
Pratyush Mishra
1551d6d76c
Upgrade to work with latest `ark-ff` ( #95 )
Co-authored-by: Sun <huachuang20@gmail.com>
2 years ago
Marcin
d0dc200f22
Sqrt fq2 bls12 381 regression ( #89 )
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2 years ago
Marcin
6a5cf1d84a
`BigInt` fixes corresponding to algebra#372
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
2 years ago
Pratyush Mishra
d1ced15cc2
Upgrade for algebra/365 ( #92 )
* Upgrade for algebra/365
* Merge fix
* Fix
3 years ago
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>
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
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
Dev Ojha
269fe97519
Release v0.2 ( #51 )
3 years ago
Weikeng Chen
74f6efb821
Replace `rand` with `ark_std::rand` ( #42 )
* replace rand
* update CHANGELOG
* fmt
* fix
* fix
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
Pratyush Mishra
621355df14
Fix links in `Cargo.toml`s ( #29 )
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
4 years ago
ValarDragon
530d618cca
Change test_rng import to ark-std
4 years ago
Pratyush Mishra
0486c30b3b
Format
4 years ago
Pratyush Mishra
b0565ad0c5
Update BLS12-381
4 years ago
Pratyush Mishra
33261b4c41
Update documentation for BLS12 fields ( #1 )
4 years ago
Pratyush Mishra
43ca2132fd
Initial commit
4 years ago