-
Notifications
You must be signed in to change notification settings - Fork 655
Added const for EcPoint including non-zero.
#8750
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
base: main
Are you sure you want to change the base?
Conversation
107388f to
9dcfe93
Compare
Added actual usage of it in ECDSA - blocked by cfg. SIERRA_UPDATE_PATCH_CHANGE_TAG=Extending an existing libfunc option.
9dcfe93 to
341a23a
Compare
|
Does this check if the point is on the curve? Code quote: AffinePoint::new(Felt252::from(x), Felt252::from(y)) |
|
what does this do? Code quote: cfg(sierra: "future") |
orizi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @ilyalesokhin-starkware and @TomerStarkware)
corelib/src/ecdsa.cairo line 217 at r2 (raw file):
Previously, ilyalesokhin-starkware wrote…
what does this do?
just hides the rest of the unused code.
orizi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @ilyalesokhin-starkware and @TomerStarkware)
crates/cairo-lang-sierra/src/extensions/modules/const_type.rs line 242 at r2 (raw file):
Previously, ilyalesokhin-starkware wrote…
Does this check if the point is on the curve?
yes - that is the exact error type.
ilyalesokhin-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ilyalesokhin-starkware reviewed 4 of 4 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @TomerStarkware)

Added actual usage of it in ECDSA - blocked by cfg.