therealyingtong
|
9d8fee29c7
|
chip::witness_point: Refactor witness_point::Config.
|
2021-12-02 14:51:33 -05:00 |
Jack Grigg
|
99d03e0d25
|
Migrate to latest halo2 revision
|
2021-11-26 16:24:26 +00:00 |
str4d
|
aec3b1d52d
|
Remove unnecessary clones in closure
|
2021-09-28 20:31:32 +01:00 |
therealyingtong
|
b0de6afd7c
|
Reintroduce Point::new() API and constraints.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-28 20:31:32 +01:00 |
therealyingtong
|
8ad3003e27
|
Remove Point::new() API and introduce is_identity() instruction.
Also remove the q_point selector and gate from the circuit.
|
2021-09-28 13:13:25 -06:00 |
therealyingtong
|
ec27989b9b
|
Clippy and formatting fixes.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-28 13:13:25 -06:00 |
therealyingtong
|
df26a6c674
|
chip::witness_point.rs: Constraints for non-identity point.
The point_non_id() method returns an error if the given point is
the identity.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-28 13:13:25 -06:00 |
Jack Grigg
|
16e9076080
|
Add names to some nameless constraints
|
2021-07-29 14:56:56 +01:00 |
therealyingtong
|
8a8df98a50
|
add_incomplete::tests: Constrain output of `P + Q` test.
Also minor docfixes and refactors.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2021-06-14 00:19:21 +08:00 |
therealyingtong
|
e259bb3846
|
ecc::chip.rs: Use concrete pallas::Affine for Chip impl.
The EccInstructions trait is still generic over C: CurveAffine;
however, the EccChip implementation is specific to the pasta
curves.
|
2021-06-12 20:25:09 +08:00 |
therealyingtong
|
433791fcb0
|
chip::witness_point.rs: Allow witnessing the identity.
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
6491ea90dd
|
ecc::chip.rs: Bound EccConfig on <C: CurveAffine>.
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
7eb86eb0c2
|
chip::witness_point.rs: Implement witness_point() instruction.
|
2021-06-12 12:41:27 +08:00 |