ZK-Garage / plonk

A pure Rust PLONK implementation using arkworks as a backend.
https://discord.gg/XWJdhVf37F
Mozilla Public License 2.0
295 stars 76 forks source link

Use `COEFF_A` in embedded curve operations #82

Closed davidnevadoc closed 2 years ago

davidnevadoc commented 2 years ago

The addition formulas used in the tests were coded for the original embedded curve (Jubjub). One of the parameters of this curve a=-1 was still coded directly in one of the formulas. It has been substituted with COEFF_A from TEModelParameters. Closes #65