-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate gathering during table construction.
When `elem_exp_consttime` replaced `BN_mod_exp_mont_consttime` I did not fully understand the way the table was constructed in the original function. Recent BoringSSL changes clarify the table construction. Do it the same way, to restore performance to what it was previously. This addresses the `// TODO: Optimize this to avoid gathering`.
- Loading branch information
1 parent
b698bd6
commit 1b7e524
Showing
1 changed file
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters