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

Stabilize ML-KEM & KDFs; bump to v1.12.0 #628

Merged
merged 5 commits into from
Dec 16, 2024

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Dec 11, 2024

Description of changes:

  • Expose ML-KEM directly from the kem module.
    • Updated KEM benchmarks to use the ML-KEMs
  • Move KDFs into kdf module.
  • Drop support for Kyber Round 3 algorithms.
  • Bump version to v1.12.0.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@justsmth justsmth requested a review from a team as a code owner December 11, 2024 22:15
@justsmth justsmth requested a review from skmcgrail December 11, 2024 22:15
@justsmth justsmth marked this pull request as draft December 11, 2024 22:15
@justsmth justsmth changed the title Stabilize ML-KEM; bump to v1.12.0 [DRAFT] Stabilize ML-KEM; bump to v1.12.0 Dec 11, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 97.41379% with 3 lines in your changes missing coverage. Please review.

Project coverage is 92.89%. Comparing base (c358484) to head (452c3c8).
Report is 134 commits behind head on main.

Files with missing lines Patch % Lines
aws-lc-rs/src/unstable/kem.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #628      +/-   ##
==========================================
- Coverage   95.80%   92.89%   -2.91%     
==========================================
  Files          61       67       +6     
  Lines        8143     9717    +1574     
  Branches        0     9717    +9717     
==========================================
+ Hits         7801     9027    +1226     
- Misses        342      402      +60     
- Partials        0      288     +288     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justsmth justsmth changed the title [DRAFT] Stabilize ML-KEM; bump to v1.12.0 [DRAFT] Stabilize ML-KEM & KDFs; bump to v1.12.0 Dec 12, 2024
aws-lc-rs/src/kem.rs Outdated Show resolved Hide resolved
@justsmth justsmth force-pushed the stabilize-ml-kem branch 2 times, most recently from 06b9f42 to 1b8bcb4 Compare December 12, 2024 19:23
@justsmth justsmth marked this pull request as ready for review December 12, 2024 19:32
@justsmth justsmth changed the title [DRAFT] Stabilize ML-KEM & KDFs; bump to v1.12.0 Stabilize ML-KEM & KDFs; bump to v1.12.0 Dec 12, 2024
Comment on lines +365 to +366
#[cfg(test)]
mod more_tests {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These tests were previously to check behavior when "fips" was enabled, but they probably aren't needed now.

@justsmth justsmth requested a review from skmcgrail December 12, 2024 19:53
@justsmth justsmth merged commit 809cd7d into aws:main Dec 16, 2024
250 of 259 checks passed
@justsmth justsmth deleted the stabilize-ml-kem branch December 16, 2024 21:49
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.

4 participants