Pq mls ciphersuites#110
Draft
emil-wire wants to merge 7 commits into
Draft
Conversation
…Q KEMs, SHAKE256 KDF, and ML-DSA
Follow-up fixes after opening the PR: - openmls_traits builds standalone again: keep the ML-DSA seed in a Zeroizing byte array and hand from_seed a short-lived B32, since B32 is not Zeroize in the traits crate's own feature set. - depend on hpke 0.14.0 from crates.io instead of the emil-wire fork now that the PQ KEMs are upstream; features collapse to nistp and mlkem. - build ml-dsa with default-features = false to drop the getrandom 0.3 pull that broke the wasm32 build. - cargo fmt.
emil-wire
force-pushed
the
pq-mls-ciphersuites
branch
from
July 15, 2026 21:47
9969d22 to
82c21de
Compare
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.
Adds the nine post-quantum ciphersuites from draft-ietf-mls-pq-ciphersuites-04 (placeholder codepoints 0xF001-0xF009, IANA TBD).
What's here
ML-KEM-768/1024 and the MLKEM768-X25519 / MLKEM768-P256 / MLKEM1024-P384 hybrids, plus SHAKE256 HPKE
ML-DSA-65/87 signature credentials (raw FIPS-204, empty context).
Key schedule over the SHAKE256 one-shot KDF, sized at KDF.Nh = 64.
The MLS key schedule needs Extract/Expand, but SHAKE256 is single-stage Derive only. We follow the unmerged one-shot construction from mls-pq-ciphersuites#21:
Draft while the KDF construction and codepoints settle.