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
We currently have a FixedBaseScalarMul and an open PR to add a variable base version as well.
We often perform multiple scalar multiplications in one go (e.g. in schnorr verification) and this would be most efficient if it were packaged up into a MultiScalarMul opcode as this makes it easier for the backend to choose the best constraint implementation.
The current FixedBaseScalarMul would then be msm([generator_point_constant], [scalar]), the backend could then recognise that the witnesses for generator_point_constant were constants and then perform a simple fixed-base scalar mul.
The text was updated successfully, but these errors were encountered:
We currently have a
FixedBaseScalarMul
and an open PR to add a variable base version as well.We often perform multiple scalar multiplications in one go (e.g. in schnorr verification) and this would be most efficient if it were packaged up into a
MultiScalarMul
opcode as this makes it easier for the backend to choose the best constraint implementation.The current
FixedBaseScalarMul
would then bemsm([generator_point_constant], [scalar])
, the backend could then recognise that the witnesses forgenerator_point_constant
were constants and then perform a simple fixed-base scalar mul.The text was updated successfully, but these errors were encountered: