-
Notifications
You must be signed in to change notification settings - Fork 43
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
[ec] Use windowed algorithm for base scalar mult on NIST P-curves #191
Merged
Commits on Feb 13, 2024
-
[ec] Use windowed algorithm for base scalar mult
Using a sliding window method with pre-computed values of multiples of the generator point, obtain far more efficient performance for the special case where G = P in the scalar multiplication kP. By using a safe selection algorithm for pre-computed values and no branches in the main loop, the algorithm leaks no less information about its inputs than the current Montgomery ladder.
Configuration menu - View commit details
-
Copy full SHA for 9f767a9 - Browse repository at this point
Copy the full SHA 9f767a9View commit details -
[ec] Rewrite scalar_mult_base in C
For performance. This implies the need to get generator points from C as well. The pre-computed tables are stored in static memory, and computed lazily.
Configuration menu - View commit details
-
Copy full SHA for 46d2b0a - Browse repository at this point
Copy the full SHA 46d2b0aView commit details
Commits on Feb 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28abf53 - Browse repository at this point
Copy the full SHA 28abf53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aa43b5 - Browse repository at this point
Copy the full SHA 8aa43b5View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 810bace - Browse repository at this point
Copy the full SHA 810baceView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7b87c - Browse repository at this point
Copy the full SHA fb7b87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dab05dc - Browse repository at this point
Copy the full SHA dab05dcView commit details
Commits on Feb 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 91e32ca - Browse repository at this point
Copy the full SHA 91e32caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5954ef - Browse repository at this point
Copy the full SHA b5954efView commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 81ebbc3 - Browse repository at this point
Copy the full SHA 81ebbc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 489c283 - Browse repository at this point
Copy the full SHA 489c283View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.