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

Use a better approach for modular subtraction #4479

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

randombit
Copy link
Owner

For pcurves this improves overall ECDH/ECDSA performance from anywhere from 5% to up to 15% (!) depending on the curve.

Remove the templatized length variant of bigint_mod_sub; this only existed as a performance hack for EC_Point and is much less relevant with pcurves in use.

#4027

For pcurves this improves overall ECDH/ECDSA performance from anywhere
from 5% to up to 15% (!) depending on the curve.

Remove the templatized length variant of bigint_mod_sub; this only
existed as a performance hack for EC_Point and is much less relevant
with pcurves in use.
@coveralls
Copy link

Coverage Status

coverage: 91.258% (-0.001%) from 91.259%
when pulling 33412b7 on jack/better-mod-sub
into 6943449 on master.

@randombit randombit merged commit c8ffa1f into master Dec 17, 2024
38 checks passed
@randombit randombit deleted the jack/better-mod-sub branch December 17, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants