halo2/src/circuit/gadget/ecc
therealyingtong b363492a35 ecc::chip.rs: Introduce circuit-wide "constants" fixed column
At certain points in the circuit, we need to constrain cells in
advice columns to equal a fixed constant. Instead of defining a
new fixed column for each constant, we pass around a single
shared by all chips, that is included in the permutation over all
advice columns.

This lets us load all needed constants into a single column and
directly constrain advice cells with an equality constraint.
2021-07-07 23:10:59 +08:00
..
chip ecc::chip.rs: Introduce circuit-wide "constants" fixed column 2021-07-07 23:10:59 +08:00
chip.rs ecc::chip.rs: Introduce circuit-wide "constants" fixed column 2021-07-07 23:10:59 +08:00