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 a set of test vectors for odd sized RSA keys #4467

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

randombit
Copy link
Owner

Adds RSA encryption and signature tests for RSA keys between 1024 and 1088 bits. Generated using OpenSSL.

Also add an explicit BOTAN_ARG_CHECK that the input to encryption is not too large. Previously this would fail due to a BOTAN_ASSERT, leading to an Internal_Error exception.

Finally, update the test data files to avoid the deprecated EMSA* aliases.

See #4465

Adds RSA encryption and signature tests for RSA keys between 1024 and
1088 bits. Generated using OpenSSL.

Also add an explicit BOTAN_ARG_CHECK that the input to encryption is
not too large. Previously this would fail due to a BOTAN_ASSERT,
leading to an Internal_Error exception.

See #4465
@coveralls
Copy link

Coverage Status

coverage: 91.264% (+0.002%) from 91.262%
when pulling 64c4544 on jack/ref-4465
into f987b23 on master.

@randombit randombit merged commit 4725c2d into master Dec 6, 2024
38 checks passed
@randombit randombit deleted the jack/ref-4465 branch December 6, 2024 08:21
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