-
Notifications
You must be signed in to change notification settings - Fork 134
Update mlkem-native #2406
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
Merged
torben-hansen
merged 3 commits into
aws:main
from
hanno-becker:mlkem_native_license_update
May 13, 2025
Merged
Update mlkem-native #2406
torben-hansen
merged 3 commits into
aws:main
from
hanno-becker:mlkem_native_license_update
May 13, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously, the mlkem-native importer `crypto/fipsmodule/ml_kem/import.sh` would not correctly adjuste include paths in `mlkem/mlkem_native_bcm.c` due to incompatibilities between `sed` on Linux and MacOS. This commit modifies `import.sh` to be portable across Linux and MacOS.
This commit re-imports the head of mlkem-native by re-running ``` crypto/fipsmodule/ml_kem/import.sh --force ``` Notable changes: - Licensing of mlkem-native changed from Apache-2.0 to `Apache-2.0 OR ISC OR MIT`. The LICENSE file will be adjusted in the next commit. - Each source has a mini-bibliography for the citations used in the source file. Consistency is ensured through autogeneration from a main bibliography YML, which however is not part of the import. - Minor extension to mlkem/sys.h to detect PPC64 and RC64 systems. - Renaming of 'level' to 'parameter set' in documentation and identifier names. For example, the namespacing macro MLK_ADD_LEVEL is now MLK_ADD_PARAM_SET. Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
Previously, mlkem-native was distributed under the Apache-2.0 license. Now, it is distributed under the Apache-2.0 license OR the ISC license OR the MIT license. In particular, this aligns with / encompasses the distribution of original AWS-LC content under Apache-2.0 OR ISC. This commit adjusts AWS-LC's LICENSE file accordingly. Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2406 +/- ##
=======================================
Coverage 78.81% 78.81%
=======================================
Files 621 621
Lines 108417 108417
Branches 15399 15399
=======================================
+ Hits 85447 85450 +3
+ Misses 22299 22297 -2
+ Partials 671 670 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
torben-hansen
approved these changes
May 9, 2025
dkostic
approved these changes
May 12, 2025
skmcgrail
added a commit
that referenced
this pull request
May 23, 2025
## What's Changed * Fix prefix build when path has spaces by @justsmth in #2400 * Prepare v1.51.2 by @justsmth in #2401 * Set OPENSSL_NO_EXTERNAL_PSK_TLS13 to indicate lack of TLS 1.3 PSK by @WillChilds-Klein in #2399 * BIO datagram functions by @justsmth in #2321 * Reject NewSessionTicket messages with empty tickets in TLS 1.3 by @justsmth in #2367 * Ensure that AVX512 is not used on macOS by @justsmth in #2363 * Fix socket test issues by @torben-hansen in #2404 * Remove python CI patch for main by @WillChilds-Klein in #2407 * Remove xmlsec patch by @smittals2 in #2405 * Fix clang tidy ci by @justsmth in #2375 * Mark fallible container operations as `nodiscard` by @justsmth in #2366 * Remove extra va_end in err_add_error_vdata by @justsmth in #2364 * Check for QUIC in SSL_process_quic_post_handshake by @justsmth in #2365 * Add missing symbols for Unbound by @nhatnghiho in #2352 * Update mlkem-native by @hanno-becker in #2406 * CI for iOS by @justsmth in #2389 * Squelch clang-tidy by @justsmth in #2414 * Clang-tidy is still noisy by @justsmth in #2417 * Add back two rules for clang-tidy by @smittals2 in #2418 * Implement BIO_dump by @kingstjo in #2331 * Make ASN1_get_object a direct call by @samuel40791765 in #2332 * Add Python 3.9 CI patch by @WillChilds-Klein in #2415 * Rework memory BIOs and implement BIO_seek by @nhatnghiho in #2380 * ML-DSA: ASN.1 Module - add parsing of BOTH private key format by @jakemas in #2416 * Detection of unused results by @justsmth in #2411 * Fix gtest_util.sh failure detection by @justsmth in #2423 * Remove unused docs/configs by @torben-hansen in #2427 * ML-DSA: Add ML-DSA keyGen to break-kat.go by @jakemas in #2422 * Fix CI for mingw by @justsmth in #2428 * Bump AWSLC_API_VERSION for X509_STORE_CTX_set_verify_crit_oids by @samuel40791765 in #2426 * Revert "Rework memory BIOs and implement BIO_seek (#2380)" by @samuel40791765 in #2432 * Resolve SSL_PRIVATE_METHOD and certificate slots functionality by @skmcgrail in #2429 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This PR re-imports the head of mlkem-native by re-running:
Notable changes:
Licensing of mlkem-native changed from Apache-2.0 to
Apache-2.0 OR ISC OR MIT
. This aligns with the defaultlicensing of AWS-LC under
Apache-2.0 OR ISC
.The LICENSE file is adjusted accordingly.
Each source has a mini-bibliography for the citations
used in the source file. Consistency is ensured through
autogeneration from a main bibliography YML, which however
is not part of the import.
See BIBLIOGRAPHY.yml and BIBLIOGRAPHY.md (autogenerated) in mlkem-native.
Minor extension to mlkem/sys.h to detect PPC64 and RV64
systems.
Renaming of 'level' to 'parameter set' in documentation
and identifier names. For example, the namespacing macro
MLK_ADD_LEVEL is now MLK_ADD_PARAM_SET.
Also, the mlkem-native importer is adjusted to work on MacOS.
Due to a differences in the command line for
sed
, it previouslyonly worked on Linux.