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
3bb3697c13
Update `crypto-primitives` and their contraints.
4 years ago
Pratyush Mishra
9391b1fd04
Rename to `ed_on`
4 years ago
Pratyush Mishra
1959a3de63
Rename curves
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
Pascal Berrang
d4a2d31d07
Fix Vec imports for no_std
5 years ago
Pratyush Mishra
8bf042a029
Refactor `algebra` API, split into `algebra` and `algebra-core`. ( #100 )
5 years ago
Marek Kotewicz
d4896ade47
crypto-primitives no-std ( #96 )
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
fb87c421e7
Runs cargo fmt
5 years ago
Pratyush Mishra
1b6f681cdb
Fix Blake2s gadget test
5 years ago
Pratyush Mishra
a244e719d1
Initial commit to extract crypto-primitives to new crate
5 years ago