Pratyush Mishra
|
6077f51c97
|
*Actually* fix `to_affine` for SW points.
The prior PR (#9) multiplied by `self.z` instead of `self.z.inverse()`.
|
4 years ago |
Pratyush Mishra
|
ceec513f62
|
Fix SW `to_affine` (#9)
Adds constraints to check that the conversion to affine coordinates happened correctly.
|
4 years ago |
Kobi Gurkan
|
e5ec2e66d3
|
fix: fix wrong constant case detection in three_bit_cond_neg_lookup
|
4 years ago |
Pratyush Mishra
|
e5ac1f44cb
|
Remove `rustc-version`
|
4 years ago |
yelhousni
|
2e2df52f79
|
replace frob(6) by unitary_inverse in bls12
|
4 years ago |
Pratyush Mishra
|
636f93a3e5
|
Update to `arkworks` libraries (#3)
Co-authored-by: Nicholas Ward <npward@berkeley.edu>
|
4 years ago |
Pratyush Mishra
|
cf4301cb75
|
Update workspace and dependency paths
|
4 years ago |
oblivious-app
|
d087166c51
|
add to_bits_be
|
4 years ago |
Pratyush Mishra
|
2a8ee871d8
|
Exclude benches from tests
|
4 years ago |
Pratyush Mishra
|
99e489cac7
|
`R1CSVar`: `Option::None` -> `ConstraintSystemRef::None` (#281)
|
4 years ago |
Pratyush Mishra
|
13332bcc1d
|
Add doctests for `Boolean` and `UInt8`.
|
4 years ago |
Pratyush Mishra
|
3a18ecee0d
|
Add examples and doctests for instantiated curves
|
4 years ago |
Pratyush Mishra
|
370fbcdd3b
|
Document `r1cs-std`
|
4 years ago |
Weikeng Chen
|
c21d0b2796
|
Add `ToConstraintFieldGadget` (#278)
|
4 years ago |
Pratyush Mishra
|
40ce981801
|
Fix integer conversions and log2
|
4 years ago |
Pratyush Mishra
|
5e00793999
|
Switch to `tracing`-based constraint debugging
|
4 years ago |
Pratyush Mishra
|
e22ab36f7e
|
Fix nits
|
4 years ago |
Pratyush Mishra
|
d2d1b61d08
|
Refactor NIZK/MT verification to return a bit
|
4 years ago |
Pratyush Mishra
|
6cca9327be
|
Refactor bit iteration infrastructure:
* `to_bits` -> `to_bits_le`
* `BitIterator` -> `BitIteratorLE` + `BitIteratorBE`
* `found_one`/`seen_one` -> `BitIteratorBE::without_leading_zeros`
|
4 years ago |
Weikeng Chen
|
bce788419f
|
Export `impl_bounded_ops`
This would be necessary if, in another crate, one wants to implement operators.
|
4 years ago |
Pratyush Mishra
|
3bb3697c13
|
Update `crypto-primitives` and their contraints.
|
4 years ago |
Pratyush Mishra
|
f575af4da1
|
Update `Cargo.toml` in `r1cs-std` and delete useless `ConstraintSystem`s
|
4 years ago |
Pratyush Mishra
|
50388bdc22
|
Update concrete curves in `r1cs-std`.
|
4 years ago |
Pratyush Mishra
|
26953045d4
|
Update pairings in `r1cs-std`.
|
4 years ago |
Pratyush Mishra
|
5e65926a5e
|
Update curve variables in `r1cs-std`.
|
4 years ago |
Pratyush Mishra
|
8022b598fb
|
Update field variables in `r1cs-std`
|
4 years ago |
Pratyush Mishra
|
202ef3204d
|
Refactor variable traits in `r1cs-std`.
|
4 years ago |
Pratyush Mishra
|
7b0f71a10e
|
Refactor `bit` variables in `r1cs-std`
|
4 years ago |
Pratyush Mishra
|
ecee4d7059
|
Make CI test all-features
|
4 years ago |
Pratyush Mishra
|
04db0504ac
|
(cargo-release) start next development iteration 0.1.1-alpha.0
|
4 years ago |
Pratyush Mishra
|
6c90710e09
|
(cargo-release) start next development iteration 0.1.1-alpha.0
|
4 years ago |
Pratyush Mishra
|
37d79e20a7
|
(cargo-release) start next development iteration 0.1.1-alpha.0
|
4 years ago |
Weikeng Chen
|
61c70ed644
|
Prepare Zexe for recursion (#241)
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
|
4 years ago |
Youssef El Housni
|
36305e7247
|
Implement ed_on_bn254 curve (baby-jubjub) (#230)
|
4 years ago |
Dev Ojha
|
a83914af50
|
Add mul_by_inverse to FieldGadget (#227)
|
4 years ago |
Dev Ojha
|
75439b9b4d
|
Add constant folding to FpGadget<F> (#226)
|
4 years ago |
Weikeng Chen
|
885e9d7bad
|
Add constraints for Edwards curves over MNT4 (#221)
|
4 years ago |
Pratyush Mishra
|
9391b1fd04
|
Rename to `ed_on`
|
4 years ago |
Pratyush Mishra
|
7a0177e8c7
|
Re-export `edwards_on_cp6_782` as `edwards_on_bw6_761`
|
4 years ago |
Pratyush Mishra
|
40e89254e0
|
Fix no-std compilation
|
4 years ago |
Pratyush Mishra
|
d5e7d8bb36
|
Compilation fix
|
4 years ago |
Pratyush Mishra
|
1959a3de63
|
Rename curves
|
4 years ago |
Pratyush Mishra
|
07e8c79d79
|
Update README with new badge
|
4 years ago |
Pratyush Mishra
|
bbf732980f
|
Move to github actions
|
4 years ago |
ValarDragon
|
349407faef
|
Speed up exp_by_const
|
4 years ago |
ValarDragon
|
c555535605
|
Improve invalid namespace error msg
|
4 years ago |
Pratyush Mishra
|
75c55f7bee
|
Change `from_repr` to output `Option<Self>`
|
4 years ago |
Georgios Konstantopoulos
|
ecf863f541
|
expose function which enforces a <= (p-1)/2
|
4 years ago |
Sergey Vasilyev
|
67196d8371
|
Formatting fix
|
4 years ago |
Sergey Vasilyev
|
0b87c84cdd
|
Merkle tree panics when there's a single leaf - fix
|
4 years ago |