-
Notifications
You must be signed in to change notification settings - Fork 653
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
Ch.4 derive y from x #45
Comments
after derivation of y via x and the curve params, as long as it's done correctly, is it not true that the point must necessarily be on the curve? or am i missing edge cases? |
If and only if x is a valid x |
Oh, good point. Thanks for bringing it to my attention! |
Turns out that the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After y is derived from x, you need to verify that (x,y) is a valid point of the curve
https://github.com/bitcoin-core/secp256k1/blob/master/src/field_impl.h#L130
The text was updated successfully, but these errors were encountered: