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
As far as selectors is a part of constraint system it must not be depend on the inputs.
Now during handling brunch under false condition we manually disable corresponded selectors which is actually wrong behavior. Possible solution - introduce extra flag variable into each constraint under branch:
where w_3_0 is (cond == true), w_3_1 is (cond == false)
But it's not avoid possible security issue till selectors are part of the public assignment table (any body can just set all 0 and proof will be successfully verified for any input)
The text was updated successfully, but these errors were encountered:
Now selectors not depend on the inputs, they have same values for both (true/false) branches.
It means we have to fully fill assignment table for both branches, so using bellow approach can speed up generation assignment table.
As far as
selectors
is a part of constraint system it must not be depend on the inputs.Now during handling brunch under
false
condition we manually disable corresponded selectors which is actually wrong behavior.Possible solution - introduce extra flag variable into each constraint under branch:
Current constraints
Should be
where
w_3_0 is (cond == true)
,w_3_1 is (cond == false)
But it's not avoid possible security issue till selectors are part of the public assignment table (any body can just set all 0 and proof will be successfully verified for any input)
The text was updated successfully, but these errors were encountered: