halo2/src/circuit/gadget/ecc/chip
Jack Grigg 67caed52eb mul::incomplete: Constrain final iteration correctly
The differences between the final iteration and prior iterations are:
- The final iteration does not constrain (x_T, y_T) to propagate down.
- The final iteration constrains an assigned y_A output instead of a
  derived y_A from the next iteration's variables.

We also swap the init_y constraint to match the book.

Co-authored-by: therealyingtong <yingtong@z.cash>
2021-07-07 23:10:59 +08:00
..
mul mul::incomplete: Constrain final iteration correctly 2021-07-07 23:10:59 +08:00
mul_fixed base_field_elem.rs: Support fixed-base mul using base field element. 2021-07-07 23:10:59 +08:00
witness_scalar_fixed chip::mul.rs: Enforce LSB if/else condition 2021-07-07 23:10:59 +08:00
add.rs add_incomplete::tests: Constrain output of `P + Q` test. 2021-06-14 00:19:21 +08:00
add_incomplete.rs add_incomplete::tests: Constrain output of `P + Q` test. 2021-06-14 00:19:21 +08:00
mul.rs mul::process_lsb(): Clean up assignments and boolean-constrain LSB. 2021-07-07 23:10:59 +08:00
mul_fixed.rs ecc::chip.rs: Introduce circuit-wide "constants" fixed column 2021-07-07 23:10:59 +08:00
witness_point.rs add_incomplete::tests: Constrain output of `P + Q` test. 2021-06-14 00:19:21 +08:00
witness_scalar_fixed.rs base_field_elem.rs: Support fixed-base mul using base field element. 2021-07-07 23:10:59 +08:00