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
fix: boomerang variable in sha256 hash function (#8581)
Static analyzer found boomerang variable in the function extend_witness.
The problem is that variable w_out wasn't connected with variable
w_out_raw in the function extend_witness in sha256 hash function. As a
result, you can put random variable in the extend_witness.
Test was created to prove this issue. You can modify a result of
function extend_witness, and the circuit will be correct.
Also function extend_witness was patched to remove this issue.
---------
Co-authored-by: Rumata888 <isennovskiy@gmail.com>
0 commit comments