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

Add specialized reduction for P256 in pcurves #4146

Closed
wants to merge 1 commit into from

Conversation

randombit
Copy link
Owner

For 32-bit x86, this reduction results in point arithmetic operations that are 25-35% faster than when using Montgomery.

Sadly for 64-bit x86 it is at best about even with using Montgomery, and for Clang 64-bit it's even somewhat slower.

@randombit randombit added this to the Botan 3.6.0 milestone Jun 24, 2024
@randombit randombit requested review from reneme and FAlbertDev June 24, 2024 01:04
@randombit randombit force-pushed the jack/faster-p256-redc branch 2 times, most recently from 999a40e to 282f219 Compare June 24, 2024 01:23
For 32-bit x86, this reduction results in point arithmetic operations
that are 25-35% faster than when using Montgomery.

Sadly for 64-bit x86 it is at best about even with using Montgomery,
and for Clang 64-bit it's even somewhat slower.
@coveralls
Copy link

Coverage Status

coverage: 91.741% (+0.003%) from 91.738%
when pulling 282f219 on jack/faster-p256-redc
into d24c2c3 on master.

@randombit
Copy link
Owner Author

Replaced by #4147

@randombit randombit closed this Jun 24, 2024
@randombit randombit deleted the jack/faster-p256-redc branch June 24, 2024 02:33
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