Electron-Labs / ed25519-circom

ED25519 implementation in Circom
https://docs.electronlabs.org/
106 stars 15 forks source link

Revert "Base as param in ModulusWith25519Chunked51." #77

Closed rahulghangas closed 2 years ago

rahulghangas commented 2 years ago

Reverts Electron-Labs/ed25519-circom#74

Since Modulus With 25519 is specific to this circuit and not the generic big int library, the most performant base(85) will always be used. Furthermore, it is almost impossible to generalize modulus against 2p chunked without increasing the number of constraints and doing additional calculation