Post Quantum Crypto
As the world is using public-key schemes like RSA and ECC, these can be broken using Shor's algorithm on Quantum Computers.
Quantum Computers are still not here, but for data that has to stay safe for decades,
Large-scale quantum computers are expected to weaken widely used public-key schemes such as RSA and ECC. Even before practical quantum attacks are available, there is a "harvest now, decrypt later" risk for data that must remain confidential for many years.
For this reason, modern TLS and PKI deployments are starting staged migration to PQC-capable algorithms.
Current noxtls PQC scope
noxtls currently includes:
- ML-KEM (FIPS 203) for key encapsulation
- ML-DSA (FIPS 204) for signatures
- SLH-DSA (FIPS 205) for stateless hash-based signatures
- TLS 1.3 integration for:
- pure ML-KEM keyshare groups
- hybrid X25519 + ML-KEM groups
- ML-DSA and RSA-ML-DSA signature scheme paths
- X.509 integration for ML-DSA signature verification paths
SLH-DSA is exposed as a disabled-by-default FIPS 205 feature. SHA2-family and SHAKE-family core keygen/sign/verify paths are implemented, and TLS/X.509 dispatch is wired behind the feature gate. Official vector validation and interoperability coverage remain in progress.
See API references:
Migration approach
Recommended adoption model:
- Start with hybrid TLS key exchange where compatibility is required.
- Enable PQC in controlled environments and validate interop and performance.
- Keep cryptographic agility in configuration and certificate pipelines.
- Track standards evolution and be ready to update private-use IDs/profiles as final assignments and ecosystem support mature.
Build and feature gates
Enable PQC features with:
cmake -S . -B build \
-DNOXTLS_CFG_FEATURE_ML_KEM=ON \
-DNOXTLS_CFG_FEATURE_ML_DSA=ON \
-DNOXTLS_CFG_FEATURE_SLH_DSA=ON
Related docs:
Security notes
- Treat PQC deployment as an evolving interoperability program, not a one-time switch.
- Use strict testing/conformance profiles in CI for PQ-enabled builds.
- Continue applying classical TLS and PKI best practices (certificate validation, key protection, secure defaults) while rolling out PQC.