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

Separate simd crates for ml-kem vectors #248

Merged
merged 18 commits into from
May 6, 2024

Conversation

franziskuskiefer
Copy link
Member

This PR pulls out the vector implementations for avx2 and aarch64 from ml-kem.
This needs more cleanup and we may want to abstract more. But this sets up the structure and adds runtime detection.

@franziskuskiefer franziskuskiefer requested a review from xvzcf May 3, 2024 13:32
@franziskuskiefer franziskuskiefer linked an issue May 6, 2024 that may be closed by this pull request
@franziskuskiefer franziskuskiefer linked an issue May 6, 2024 that may be closed by this pull request
Copy link
Contributor

@karthikbhargavan karthikbhargavan left a comment

Choose a reason for hiding this comment

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

Tested on my mac. I also moved ntt code into polynomial, eliminating yet another module.

@franziskuskiefer franziskuskiefer merged commit 9f9dcbe into dev May 6, 2024
15 checks passed
@franziskuskiefer franziskuskiefer deleted the franziskus/poly-crate-avx2 branch May 6, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Runtime platform detection for ml-kem Generic ml-kem implementation
2 participants