-
Notifications
You must be signed in to change notification settings - Fork 707
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
ECDSA verification: Use wNAF-based multiplication for non-nistz256 implementations #1768
base: main
Are you sure you want to change the base?
Conversation
The efficiency of this will be improved in future commits.
Previously we did N doublings for G + N doublings for P = 2N doublings. Now, we do N doublings.
It won't build without modificatoins, so don't add it to the build yet.
Codecov Report
@@ Coverage Diff @@
## main #1768 +/- ##
==========================================
+ Coverage 96.00% 96.03% +0.03%
==========================================
Files 138 140 +2
Lines 20754 21006 +252
Branches 226 231 +5
==========================================
+ Hits 19924 20174 +250
- Misses 792 795 +3
+ Partials 38 37 -1
... and 11 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Blocked on adding ECDSA verification benchmarks, #1772. |
Benchmarking this on an M1 Pro the p384 verification is 39% faster
However does verification performance matters enough to justify all the extra code? |
No description provided.