Skip to content

feat: P-384, ML-DSA and general PQ ciphersuite support for RustCrypto provider - #2046

Merged
kkohbrok merged 9 commits into
openmls:mainfrom
boxdot:dima/post-quantum-support-2
Jun 11, 2026
Merged

kkohbrok merged 9 commits into
openmls:mainfrom
boxdot:dima/post-quantum-support-2

Conversation

@boxdot

@boxdot boxdot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Add post-quantum and P-384 ciphersuite support to the RustCrypto
provider, hidden behind the draft-ietf-mls-pq-ciphersuites feature
flag:

  • MLS_192_MLKEM1024_AES256GCM_SHA384_P384 (ML-KEM1024 + ECDSA P-384)
  • MLS_256_MLKEM1024_AES256GCM_SHA512_MLDSA87 (ML-KEM1024 + ML-DSA87)
  • the remaining PQ ciphersuites supported by RustCrypto, plus the custom
    AIR_128_MLKEM768_AES256GCM_SHA384_Ed25519 ciphersuite

Wire ML-DSA 0.1 signing into basic_credential, propagate the feature
flag across crates, and adjust KAT/storage tests for the new
ciphersuites and ciphersuite-dependent hash lengths.

Co-authored-by: Konrad Kohbrok [email protected]

… provider

Add post-quantum and P-384 ciphersuite support to the RustCrypto
provider, hidden behind the `draft-ietf-mls-pq-ciphersuites` feature
flag:

- `MLS_192_MLKEM1024_AES256GCM_SHA384_P384` (ML-KEM1024 + ECDSA P-384)
- `MLS_256_MLKEM1024_AES256GCM_SHA512_MLDSA87` (ML-KEM1024 + ML-DSA87)
- the remaining PQ ciphersuites supported by RustCrypto, plus the custom
  AIR_128_MLKEM768_AES256GCM_SHA384_Ed25519 ciphersuite

Wire ML-DSA 0.1 signing into basic_credential, propagate the feature
flag across crates, and adjust KAT/storage tests for the new
ciphersuites and ciphersuite-dependent hash lengths.

@kkohbrok kkohbrok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks generally good, but some test coverage would be nice.

Comment thread traits/src/types.rs Resolved
@boxdot

boxdot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Looks generally good, but some test coverage would be nice.

PQ ciphersuites are now tested when the feature all-ciphersuites is enabled. The test runs on nightly. Additionally, we build now with this experimental flag on each PR.

@boxdot
boxdot requested a review from kkohbrok June 10, 2026 09:31
kkohbrok
kkohbrok previously approved these changes Jun 10, 2026

@kkohbrok kkohbrok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

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.

2 participants