Brandon H. Gomes
703d2c3c95
wip: start plonky2_u32 and plonky2_ecdsa no-std impl
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 10:58:55 -07:00
Brandon H. Gomes
e2cdd5a954
feat: upgrade Sampling APIs
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-03 08:26:03 -07:00
Brandon H. Gomes
6fd0da216a
fix: remove unstable features from plonky2
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-02 17:50:31 -07:00
wborgeaud
b97ec3bda1
New clippy lint
2022-10-25 10:50:40 +02:00
Nicholas Ward
08758a3b9d
newline
2022-08-26 15:47:26 -07:00
Sladuca
8aa3ed0997
cleaner witness extension
2022-08-26 16:10:34 -04:00
therealyingtong
5bf545c5b5
arithmetic_u32: Introduce canonicity check.
2022-07-09 09:35:52 -04:00
therealyingtong
2c48b117ed
arithmetic_u32: Introduce Self::routed_wires_per_op() method.
...
This removes the use of hard-coded 5 everywhere.
2022-07-09 09:35:52 -04:00
therealyingtong
fbffd60212
arithmetic_u32::tests: Add test_canonicity check.
...
This test should fail because its output is the non-canonical value
p = (u32::MAX, 1). However, since the U32ArithmeticGate currently
permits non-canonical outputs, this test passes.
2022-07-09 09:35:52 -04:00
therealyingtong
508d478872
arithmetic_u32::tests: Extract get_wires() from test_gate_constraint().
...
Use F::from_noncanonical_u64 for addend, so that we can reuse get_wires
in our canonicity check test.
2022-07-09 09:35:19 -04:00
Daniel Lubarov
e73d01a037
packed_field -> packed (#584 )
...
* `packed_field` -> `packed`
For cleaner imports; "field" is usually clear from context
* fix
2022-06-27 15:07:52 -07:00
Daniel Lubarov
3346d3f902
field_types -> types (#583 )
...
* `field_types` -> `types`
Here too, I think "field" is usually clear from context, e.g. in `use plonky2::field::types::Field;`.
* fixes
* fmt
2022-06-27 12:24:09 -07:00
Daniel Lubarov
410e03349c
extension_field -> extension (#581 )
...
It seems redundant in most contexts, e.g. `use plonky2::field::extension_field::Extendable;`. One could import `extension_field`, but it's not that common in Rust, and `field::extension` is now about as short.
2022-06-27 07:18:21 -07:00
wborgeaud
917af4267f
Merge pull request #544 from mir-protocol/standard_gadget_suffix
...
Standardize gadget suffix to `*_circuit`
2022-05-17 20:52:52 +02:00
wborgeaud
28d90d0e9e
s/gate_index/row/
2022-05-17 19:32:51 +02:00
wborgeaud
a31de48d88
More changes
2022-05-17 11:47:00 +02:00
wborgeaud
4cd37ca8d4
Rename fields of Wire
2022-05-17 11:31:45 +02:00
wborgeaud
b606d99e07
Use *_circuit suffix for gadgets
2022-05-17 11:04:35 +02:00
wborgeaud
d484b6237a
plonky2_u32 -> u32
2022-04-07 08:44:54 +02:00