You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my understanding, if you want to limit the value of a cell to some constant, you should copy it from a fixed column,but obvisously it's not the way here.So, Did i miss something or My understanding to constants in halo2 was wrong?
The text was updated successfully, but these errors were encountered:
qy3u
changed the title
Why K doen't need copy from fixed column?
Why K doesn't need copy from fixed column?
Apr 10, 2023
While reading the code of the sha256 gadgets,I found that the
K
for calculateh_prime
was assigned from a u32 table(ROUND_CONSTANTS
) directly.halo2/halo2_gadgets/src/sha256/table16/compression/subregion_main.rs
Lines 49 to 59 in 5678a50
halo2/halo2_gadgets/src/sha256/table16/compression/compression_util.rs
Lines 748 to 755 in 5678a50
In my understanding, if you want to limit the value of a cell to some constant, you should copy it from a fixed column,but obvisously it's not the way here.So, Did i miss something or My understanding to constants in halo2 was wrong?
The text was updated successfully, but these errors were encountered: