Pratyush Mishra
1cf947c761
Merge nonnative ( #79 )
...
Co-authored-by: Nicholas Ward <npward@berkeley.edu >
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
Co-authored-by: Weikeng Chen <w.k@berkeley.edu >
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com >
Co-authored-by: Daira Hopwood <daira@jacaranda.org >
Co-authored-by: William Lin <31808623+Will-Lin4@users.noreply.github.com >
Co-authored-by: Dev Ojha <dojha12@gmail.com >
Co-authored-by: Alex Ozdemir <aozdemir@hmc.edu >
2021-08-11 11:12:52 -07:00
Pratyush Mishra
b6e7e94521
Introduce mul_by_inverse_unchecked, and use it ( #75 )
2021-07-15 16:39:34 -07:00
Weikeng Chen
47ddbaa411
Enforce mul_by_inverse ( #70 )
...
* proposal to fix mul_by_inverse
* update CHANGELOG
* rollback to a secure impl
* update changelog
2021-07-06 02:39:48 -07:00
Weikeng Chen
1ad210462c
Implement the Sum trait for FpVar ( #71 )
...
* impl sum for fpvar
* fmt
* grammar
* update the CHANGELOG
2021-07-04 12:38:05 -07:00
Weikeng Chen
b741ffc33d
replace rand with ark_std::rand and drop rand_xorshift ( #51 )
2021-02-04 14:24:29 -08:00
Dev Ojha
f88d7c6ea3
Make mul_by_inverse use one constraint ( #42 )
...
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu >
2021-01-15 10:55:26 -08:00
Pratyush Mishra
262fac3e83
Loosen restrictions
2021-01-08 21:21:32 -08:00
Pratyush Mishra
a44643ed76
Fix mul_by_inverse for constants
2021-01-08 21:21:32 -08:00
jon-chuang
905e7284b2
Reduce density of ThreeBitCondNegLookup
2020-11-25 00:26:32 -08:00
Weikeng Chen
f4691621ee
Add ToConstraintFieldGadget for ProjectiveVar ( #13 )
2020-11-12 01:41:59 -08:00
Weikeng Chen
8dca325042
Make ToBitsGadget for FpVar's output constant-length ( #12 )
...
This is related to a Zexe issue https://github.com/scipr-lab/zexe/issues/289
Basically, ToBitsGadget for FpVar may produce shorter output for a constant value, which is undesired for a few reasons.
2020-11-12 01:18:43 -08:00
Kobi Gurkan
e5ec2e66d3
fix: fix wrong constant case detection in three_bit_cond_neg_lookup
2020-10-30 15:40:15 -07:00
Pratyush Mishra
636f93a3e5
Update to arkworks libraries ( #3 )
...
Co-authored-by: Nicholas Ward <npward@berkeley.edu >
2020-10-19 11:07:59 -07:00