Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circuit for ED25519 not working due to Global_P #66

Open
garvitgoel opened this issue Dec 14, 2021 · 0 comments
Open

Circuit for ED25519 not working due to Global_P #66

garvitgoel opened this issue Dec 14, 2021 · 0 comments

Comments

@garvitgoel
Copy link

I am working on a circuit to verify ed25519 signatures. The problem I am facing is that the Global_P hardcoded in the compiler is set according to altbn128, which is different from the finite field prime used by ed25519. Circom applies a modulo Global_P for every operation which means I can't perform arithmetic operations according to ed25519.
Is there a workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant