-
Notifications
You must be signed in to change notification settings - Fork 104
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
FEAT(curve): Add Stark252 curve #421
Conversation
Hi @PatStiles |
@DmytroTym Thanks for the feedback. This curve is specific to the curve used for ECDSA in starknet https://docs.starkware.co/starkex/crypto/stark-curve.html I hit a hurdle as arkworks does not currently support the stark252 curve and the tests require the corresponding arkworks curve. This pr is eventually needed to finish icicle integration with lambdaworks ref: lambdaclass/lambdaworks#859 |
@PatStiles gotcha!
My understanding is that the system you linked works roughly like this: some operations that happen on the curve (like ECDSA, Pedersen commitments etc) get compiled into a STARK circuit whose native field is
|
@DmytroTym Thank you for the helpful suggestions will tackle this this weekend! |
Closing in favor of #493 which implements the Stark252 base field on top of icicle V2 |
Describe the changes
This PR adds a curve config for the Stark252 curve and operations over the Stark252 field element used in starknet and the stone prover.