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

RSA bigint: Add bit length to Modulus and rearrange bit length checks. #1798

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

briansmith
Copy link
Owner

See individual commit messages for details.

Move all the checks that are done for each private prime into
the `PrivatePrime` constructor, to eliminate duplication.

This causes the 512-bit-ness check to be done earlier than before,
which affects some of the tests..
@briansmith briansmith self-assigned this Nov 7, 2023
@briansmith briansmith merged commit cbcac26 into main Nov 8, 2023
136 checks passed
@briansmith briansmith deleted the b/bit-length-checks branch November 8, 2023 00: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.

1 participant