Daniel Lubarov
bcf524bed0
Have add_gate take a generic type instead of GateRef ( #125 )
...
* Have add_gate take a generic type instead of GateRef
There are a couple advantages
- Users writing their own gates won't need to know about the `GateRef` wrapper; it's more of an internal thing now.
- Easier access to gate methods requiring `self` -- for example, `split_le_base` can just call `gate_type.limbs()` now.
* Update comment
* Always insert
2021-07-22 23:48:03 -07:00
wborgeaud
e87aa2c90b
Renaming
2021-07-22 16:25:47 +02:00
wborgeaud
c729a3c235
Remove all non-bits indices in the FRI verifier
2021-07-22 16:07:07 +02:00
Daniel Lubarov
0a5d46bfa9
Have prove return Result ( #100 )
...
* Have `prove` return `Result`
To address that TODO.
* PR feedback
2021-07-18 23:14:48 -07:00
wborgeaud
805ebb1b0d
Working verifier
2021-07-08 15:13:29 +02:00
wborgeaud
930e117185
Minor
2021-06-17 11:35:10 +02:00
wborgeaud
5bebc746f6
PR feedback
2021-06-17 11:31:14 +02:00
wborgeaud
eaba5238a6
Change PoW to checking leading zeros
2021-06-17 09:49:41 +02:00
wborgeaud
5edaab59e6
Renaming + Clippy
2021-06-16 11:37:07 +02:00
wborgeaud
ab7e2381a2
Remove rev in computation of the reversed sum in BaseSplitGenerator.
2021-06-16 08:15:44 +02:00
wborgeaud
89b25c528c
PR feedback fixes
2021-06-15 19:13:15 +02:00
wborgeaud
88c58c3227
Fix imports
2021-06-14 10:37:02 +02:00
wborgeaud
19b47b5251
Clippy
2021-06-14 10:33:38 +02:00
wborgeaud
4106a47ded
Test rotate gadget
2021-06-11 09:59:55 +02:00
wborgeaud
1eb372326a
Add CircuitConfig::large_config() for tests.
2021-06-11 09:44:19 +02:00
wborgeaud
81ce0eb710
Fix bugs
2021-06-10 16:48:05 +02:00
wborgeaud
f7e92af963
Comment out errors
2021-06-09 17:55:49 +02:00
wborgeaud
89761ef22a
Added in-circuit reverse_bits and exp.
2021-06-09 17:39:45 +02:00
wborgeaud
9adf5bb43f
Use ExtensionAlgebra + new CircuitBuilder::mul_extension
2021-06-09 10:51:50 +02:00
wborgeaud
1169870163
Added test
2021-06-04 17:07:14 +02:00
wborgeaud
51c06d74ee
Recursive PoW
2021-06-04 16:02:48 +02:00