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

When scalar blinding use an odd blinding factor #4408

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Conversation

randombit
Copy link
Owner

Since the group order is odd, this ensures that k and k + b*n have different parity. Analysis suggests that this reduces the incidence of self-additions which may occur during the multiplication algorithm.

@randombit randombit added this to the Botan 3.6.1 milestone Oct 25, 2024
@coveralls
Copy link

coveralls commented Oct 25, 2024

Coverage Status

coverage: 91.138% (+0.002%) from 91.136%
when pulling 9ea1fe1 on jack/odd-blinding
into 0a16e2c on master.

Since the group order is odd, this ensures that k and k + b*n have
different parity. Analysis suggests that this reduces the incidence of
self-additions which may occur during the multiplication algorithm.
Copy link
Collaborator

@FAlbertDev FAlbertDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@randombit randombit merged commit dfad46e into master Oct 26, 2024
38 checks passed
@randombit randombit deleted the jack/odd-blinding branch October 26, 2024 11:59
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.

3 participants