mirror of https://github.com/zcash/halo2.git
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. |
||
---|---|---|
.. | ||
ecc | ||
poseidon | ||
sinsemilla | ||
utilities | ||
ecc.rs | ||
poseidon.rs | ||
sinsemilla.rs | ||
utilities.rs |