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: Add Wycheproof Test #824

Merged
merged 4 commits into from
Feb 13, 2025
Merged

RSA: Add Wycheproof Test #824

merged 4 commits into from
Feb 13, 2025

Conversation

keks
Copy link
Member

@keks keks commented Feb 12, 2025

This PR adds the remaining test that libcrux::digest does that so far was not part of the test suite for libcrux-rsa: wycheproof. In order to do this, I also exposed the functions for verifying and signing with variable-length keys.

Originally I also wanted to adapt the RSA benchmarks to use libcrux-rsa, but then I realized that we don't have any yet, so I skipped that for now.

@keks keks requested a review from a team as a code owner February 12, 2025 17:15
Copy link
Collaborator

@jschneider-bensch jschneider-bensch left a comment

Choose a reason for hiding this comment

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

Thanks! I think it's good, but still have some comments.

rsa/tests/rsa_pss.rs Outdated Show resolved Hide resolved
rsa/tests/rsa_pss.rs Show resolved Hide resolved
rsa/Cargo.toml Show resolved Hide resolved
@jschneider-bensch jschneider-bensch merged commit 7ac47a8 into main Feb 13, 2025
65 checks passed
@jschneider-bensch jschneider-bensch deleted the keks/test-bench-rsa branch February 13, 2025 15:03
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