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

Cherry-pick to earlgrey_1.0.0: [crypto] Harden RSA modexp subroutine. #25710

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

github-actions[bot]
Copy link

This is an automatic cherry-pick of #25694 to branch earlgrey_1.0.0.

Add some SCA hardening measures to the modexp subroutine that selects either
the squared or squared-and-multiplied result in square-and-multiply-always
modular exponentiation.

Although the rest of the code is not hardened, the hardening for RSA will
likely preserve this subroutine, so hardening it is still useful.

Signed-off-by: Jade Philipoom <jadep@zerorisc.com>
(cherry picked from commit 8c63830)
@vogelpi vogelpi merged commit d4ec40c into earlgrey_1.0.0 Dec 27, 2024
@a-will a-will deleted the backport-25694-to-earlgrey_1.0.0 branch December 27, 2024 21:45
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