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

Make unpacked ML-KEM API extractable #586

Merged
merged 20 commits into from
Sep 17, 2024

Conversation

franziskuskiefer
Copy link
Member

@franziskuskiefer franziskuskiefer commented Sep 16, 2024

This PR allows extracting the unpacked API and removes the feature flag for it.
The memory for the keys are now passed into the key generation to avoid using up too much stack. The API isn't perfect yet, but works well for C and we can improve the Rust API later.

This depends on

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.

Looks good to me 👍, just have two questions.

libcrux-ml-kem/tests/self.rs Outdated Show resolved Hide resolved
libcrux-ml-kem/src/polynomial.rs Show resolved Hide resolved
@franziskuskiefer franziskuskiefer added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 6a8770c Sep 17, 2024
48 checks passed
@franziskuskiefer franziskuskiefer deleted the franziskus/mlkem-usable-unpacked branch September 17, 2024 09:53
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.

3 participants