Skip to content
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

Fix for select point from table in ec_nistp scalar_mul #1719

Merged
merged 1 commit into from
Jul 24, 2024

Commits on Jul 23, 2024

  1. Small fix for select point from table in ec_nistp scalar_mul

    Previous change unified and simplified selecting a point from table
    by using constant_time_select_entry_from_table_8 function.
    Unfortunatelly, 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.
    dkostic committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c995623 View commit details
    Browse the repository at this point in the history