Pratyush Mishra
13332bcc1d
Add doctests for `Boolean` and `UInt8`.
4 years ago
Pratyush Mishra
370fbcdd3b
Document `r1cs-std`
4 years ago
Pratyush Mishra
5e00793999
Switch to `tracing`-based constraint debugging
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
Pratyush Mishra
7b0f71a10e
Refactor `bit` variables in `r1cs-std`
4 years ago
Kobi Gurkan
5cc094be6b
Adds alloc_constant to AllocGadget ( #189 )
* adds alloc constant to AllocGadget
* fmt
* fmt
* more alloc constant impls
* fmt
* even more impls
* fixes type
* fixes alloc_constant in gm17
* uses alloc_constant from field gadget in group gadgets
* fmt
* handle most comments
5 years ago
Pratyush Mishra
33a9da08f8
Switch to `stable` cargo formatting options
5 years ago
Pratyush Mishra
8bf042a029
Refactor `algebra` API, split into `algebra` and `algebra-core`. ( #100 )
5 years ago
Marek Kotewicz
9621bd34a4
r1cs-std works with no-std ( #92 )
5 years ago
François Garillot
b42d5f8d36
Simplify a few "if" structures
5 years ago
François Garillot
10c6e85c1a
Remove a few unnecessary `.into_iter()` explicit calls, and some cloning.
See https://rust-lang.github.io/rust-clippy/master/#explicit_into_iter_loop
5 years ago
Kobi Gurkan
581f3df55f
Adds Bowe-Hopwood hash
5 years ago
Pratyush Mishra
0a507b0a5f
Upgrade ff-fft, gm17, and r1cs-std
5 years ago
Pratyush Mishra
c610ecbcc5
Update r1cs-std tests
5 years ago
Pratyush Mishra
e00d667330
Move snark-gadgets to r1cs-std
5 years ago