-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for select point from table in ec_nistp scalar_mul (#1719)
Previous change unified and simplified selecting a point from table by using constant_time_select_entry_from_table_8 function. Unfortunately, on x86 this function is significantly slower than constant_time_select_entry_from_table_w. This commit fixes the performance regression. Measured on Intel(R) Xeon(R) Platinum 8488C: P-384 scalar_mul from 4091 to 5461 ops/s, P-521 scalar_mul from 2520 to 3731 ops/s.
- Loading branch information
Showing
1 changed file
with
22 additions
and
11 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