mratsim / constantine

Constantine: modular, high-performance, zero-dependency cryptography stack for verifiable computation, proof systems and blockchain protocols.
Other
413 stars 44 forks source link

EC eth-verkle-ipa: refactor scalar-mul calls following #370 #371

Closed mratsim closed 7 months ago

mratsim commented 7 months ago

ℹ️ Stacked PR: merge #370 first then change the target branch of this PR to master.

This PR propagates the change of #370 to eth-verkle-ipa and also switch from scalarMul to scalarMul_vartime everywhere.

A followup should be to also do the same for MSM.

cc @agnxsh @advaita-saha

agnxsh commented 7 months ago

Looks OK to me @mratsim