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

Support for ristretto255 / sr25519 curve #819

Open
drewstone opened this issue Apr 18, 2024 · 4 comments
Open

Support for ristretto255 / sr25519 curve #819

drewstone opened this issue Apr 18, 2024 · 4 comments

Comments

@drewstone
Copy link
Contributor

Feature request 👍

@burdges
Copy link
Contributor

burdges commented Apr 19, 2024

https://github.com/arkworks-rs/algebra/tree/master/curves/ed25519

We should've a curve25519-dalek wrapper though, because curve25519-dalek is much faster than arkworks. Arkworks exploits multi-threading, which curve25519-dalek lacks, but if you system is pegged anyways then curve25519-dalek remains a better choice.

@drewstone
Copy link
Contributor Author

drewstone commented Apr 20, 2024 via email

@burdges
Copy link
Contributor

burdges commented Apr 20, 2024

We do have ed25519 here, but the problem here is the lack of a curve25519-dalek wrapper.

A zk prover team might only care aobut their benchmarks on dedicated prover nodes. In the polkadot ecosystem, we do care about total CPU time on validators, also now collators after elastic scaling, so the multi-threaded impl here should be worse than cruve25519-dalek.

@burdges
Copy link
Contributor

burdges commented Sep 16, 2024

https://github.com/nikkolasg/ark-blst looks relevant

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

2 participants