Repository navigation
Add TLS 1.3 test using only ML-KEM and ML-DSA - #12396
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The test guard omits WOLFSSL_MLDSA_NO_MAKE_KEY, causing supported builds without key generation to fail loading seed-based private keys before exercising TLS.
1 open issue
What changed in this PR
Adds TLS 1.3 coverage using only post-quantum public-key algorithms to wolfSSL’s cipher-suite tests.
Changes:
- Pairs standalone ML-KEM-512/768/1024 with ML-DSA-44/65/87 certificates for mutual authentication.
- Registers the configuration under feature guards and includes it in source distributions.
| File | Description |
|---|---|
| tests/test-tls13-pq-mlkem-mldsa.conf | Defines three post-quantum client/server test pairs. |
| tests/suites.c | Registers the configuration with the test harness. |
| tests/include.am | Adds the configuration to distribution inputs. |
Review effort: Balanced
|
Add a cipher suite test configuration that uses standalone ML-KEM key exchange and ML-DSA certificates with mutual authentication, so that no classical public key algorithm is used. The existing standalone ML-KEM tests use the build's default certificates, which are normally RSA. Pairs ML-KEM-512/768/1024 with ML-DSA-44/65/87.
SparkiDev
force-pushed
the
mlkem_mldsa_suite_test
branch
from
December 4, 2026 01:57
a3fb112 to
43ec829
Compare
philljj
approved these changes
Dec 4, 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.

Description
Add a cipher suite test configuration that uses standalone ML-KEM key exchange and ML-DSA certificates with mutual authentication, so that no classical public key algorithm is used. The existing standalone ML-KEM tests use the build's default certificates, which are normally RSA.
Pairs ML-KEM-512/768/1024 with ML-DSA-44/65/87.
Testing
./configure --enable-mldsa --enable-tls-mlkem-standalone
make
./tests/unit.test