Repository navigation
fix: cleanup after ciphersuite related changes - #2152
Merged
Merged
Conversation
The libcrux crypto provider's supports() method checked the AEAD, signature, hash, and HPKE AEAD algorithms but not the KEM. It returned Ok for MLS_128_MLKEM768_AES256GCM_SHA384_Ed25519 even though the hpke-rs libcrux backend cannot derive ML-KEM key pairs, so HPKE key generation failed at runtime with CryptoLibraryError. Check the KEM against the algorithms the backend implements.
PR #2118 added MLS_128_MLKEM768X25519_CHACHA20POLY1305_SHA384_MLDSA44 and MLS_128_MLKEM768_AES256GCM_SHA384_Ed25519 to the RustCrypto provider without regenerating the storage stability test vectors, so the nightly full-matrix run failed on the unwrap of the missing entries. Add the two generated entries and keep the existing ones unchanged, since the test exists to prove that storage written by older code still loads.
kkohbrok
marked this pull request as ready for review
August 4, 2026 09:39
franziskuskiefer
approved these changes
Aug 5, 2026
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
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.
This PR adds a KEM specific check for the
supportsfunction of the libcrux provider.It also adds two missing entries to the storage stability test vector.