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

FFI for rustls-post-quantum provider crate #507

Open
cpu opened this issue Dec 17, 2024 · 1 comment · May be fixed by #520
Open

FFI for rustls-post-quantum provider crate #507

cpu opened this issue Dec 17, 2024 · 1 comment · May be fixed by #520
Assignees

Comments

@cpu
Copy link
Member

cpu commented Dec 17, 2024

Rustls presently offers post quantum hybrid X25519MLKEM768 via a separate crate that augments the aws-lc-rs CryptoProvider with the post-qc algorithms, rustls-post-quantum. The plan is to eventually roll this into the main crate (rustls/rustls#2056).

Previously I prototyped a FFI wrapper around this provider in cpu/rustls-post-quantum-ffi as a means of verifying external crypto providers worked with the FFI crypto provider API in this crate.

I think it makes sense to roll the FFI wrapper for the post-qc provider into the main rustls-ffi crate and offer it behind a default-off opt-in feature ala fips or cert-compression. Once the rustls-post-quantum crate is rolled into the main rustls crate and offered by default we can do the same for rustls-ffi.

@cpu
Copy link
Member Author

cpu commented Dec 21, 2024

Related: rustls/rustls#2288

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 a pull request may close this issue.

1 participant