-
Notifications
You must be signed in to change notification settings - Fork 65
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
add check for canonical point encodings where needed, and tests #193
Conversation
Codecov ReportBase: 76.03% // Head: 75.09% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #193 +/- ##
==========================================
- Coverage 76.03% 75.09% -0.95%
==========================================
Files 25 25
Lines 2387 2349 -38
==========================================
- Hits 1815 1764 -51
- Misses 572 585 +13
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Great!
Oh I may have done an incomplete merge conflict resolve |
@mergify rebase |
❌ Base branch update has failedGit reported the following error:
err-code: 12F0A |
|
Now it's really fixed! |
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.
Re-approving to get this merged.
While adding support for Ed448 I noticed that curve25519-dalek and Ed448-Goldilocks didn't check for non-canonical point encodings (e.g. with Y coordinate >= p). Turns out this isn't needed for Ed25519 since we check for non-prime order points and that also blocks non-canonical points, but it was needed for Ed448. I also added tests for all ciphersuites.