Choosing a post-quantum library is rarely a choice. Most of the time the algorithms arrive with something you already depend on, and the real question is which layer of your stack decides what gets offered. This page separates the layers, gives the current map, and ends with commands that tell you what your own build is doing rather than what a table says it should be doing.

For the algorithms themselves see 3.1 ML-KEM and 3.3 ML-DSA. For configuring them at the server level see 3.8 Hybrid TLS per stack.

Three layers, and which one answers your question

Layer 1 — the primitive
A library that implements ML-KEM.KeyGen, Encaps and Decaps as functions. mlkem-native, mldsa-native, the RustCrypto crates, libcrux, libjade and the original pq-crystals reference code sit here. Using one directly means you are building a protocol, and the correctness and side-channel burden is entirely yours.
Layer 2 — the TLS or protocol library
A library that turns primitives into a handshake: OpenSSL, BoringSSL, AWS-LC, rustls, s2n-tls, wolfSSL, GnuTLS, Botan, NSS, Go's crypto/tls. This is where named groups such as X25519MLKEM768 are defined and offered, and it is the layer that answers “will my server negotiate a hybrid key exchange?”
Layer 3 — the application, which delegates
curl, requests, urllib3, reqwest, Quinn, HTTPX, aiohttp, gRPC bindings, pyOpenSSL, the Python ssl module. These contain no post-quantum code at all and cannot acquire it by being upgraded. They inherit whatever layer 2 they were linked against, which is why the most common finding in a PQC inventory is a fully modern application on an old TLS library.
Components that inherit support rather than providing it
ComponentWhere its post-quantum support actually comes from
curl / libcurlWhatever TLS library it was built against — OpenSSL 3.5+ for the hybrid groups
Python ssl, requests, urllib3, aiohttp, HTTPXOpenSSL through CPython
reqwest, Quinnrustls or native-tls
gRPC (Python)The bundled BoringSSL or the system OpenSSL
pyOpenSSLOpenSSL through cryptography

The map

Status and the first version that added each algorithm, as recorded by pqcdeps.com in December 2026. “Supported” means the tracker does not record a specific introduction version; “Unknown” means unverified rather than absent. Treat the versions as a starting point and confirm against your own build.

General-purpose C libraries (most other software delegates to these)

If you run nginx, Apache, curl or Python, one of these is doing the work.

LibraryStatusML-KEMML-DSASLH-DSA
OpenSSLReady3.5.03.5.03.5.0
BoringSSLReadySupportedSupportedSupported
AWS-LCReadySupportedSupportedUnknown
BotanReady3.6.03.6.03.6.0
oqs-providerAvailableSupported0.8.00.12.0
liboqsPartial0.11.0 (experimental)0.12.0 (experimental)0.15.0 (experimental)
s2n-tlsAvailable1.6.11.5.19Not applicable
wolfSSLAvailable5.9.15.7.25.9.0
NSSAvailable3.1053.116Unknown
GnuTLSPartial3.8.8 (experimental)3.8.9 (experimental)Unknown
LibgcryptAvailable1.12.01.12.0Unknown
LibreSSLAvailable4.2.0Partial (experimental)Unknown
libsodiumPartial1.0.22UnknownUnknown
Mbed TLSPartialUnknownPartial (experimental)Unknown
SymCryptAvailable103.5.0103.7.0Unknown

Protocol implementations

These decide what your server or client offers on the wire.

LibraryStatusML-KEMML-DSASLH-DSA
OpenSSHReadySupportedSupportedUnknown
libsshReady0.12.0Not applicableNot applicable
libssh2PlannedUnknownNot applicableNot applicable

Standalone primitives and verified implementations

No TLS, no protocol — the algorithm itself, for building on.

LibraryStatusML-KEMML-DSASLH-DSA
mlkem-native (PQ Code Package)Available1.0.0Not applicableNot applicable
mldsa-native (PQ Code Package)AvailableNot applicable2.0.0Not applicable

Rust

Note that `ring` has no post-quantum plan, which matters because a lot of the ecosystem still depends on it.

LibraryStatusML-KEMML-DSASLH-DSA
rustlsReadySupported0.23.44Not applicable
aws-lc-rsAvailable1.12.01.18.0Unknown
boringAvailable5.0.0SupportedNot applicable
libcruxAvailableSupportedSupportedNot applicable
RustCrypto ml-kemAvailableSupportedNot applicableNot applicable
RustCrypto ml-dsaAvailableNot applicableSupportedNot applicable
RustCrypto slh-dsaAvailableNot applicableNot applicableSupported
liboqs-rust (oqs)Available0.10.00.10.0Partial (experimental)
rust-opensslAvailable0.10.790.10.79Unknown
Sequoia PGPAvailable2.4.02.4.02.4.0
ringNo planUnknownUnknownUnknown

Go, Node.js and Python

Language runtimes with the algorithms built in, plus the bindings most projects actually use.

LibraryStatusML-KEMML-DSASLH-DSA
Go standard library cryptoReadySupportedSupportedUnknown
Node.js crypto / tlsAvailable24.7.024.6.024.8.0
cryptography (pyca)Available48.0.048.0.0Unknown
liboqs-pythonAvailableSupportedSupportedUnknown
PyCryptodomeAvailable4.2.04.1.04.6.0
AsyncSSHAvailable2.18.0Not applicableNot applicable
ParamikoAvailableSupportedUnknownUnknown

OpenSSL 3.5 changed what oqs-provider is for

Before OpenSSL 3.5, getting ML-KEM into an OpenSSL-based stack meant building oqs-provider against liboqs and registering it with openssl.cnf. That still works, and it is still the route to algorithms OpenSSL does not carry — oqs-provider tracks liboqs, whose own status the tracker lists as partial, with ML-KEM from 0.11.0, ML-DSA from 0.12.0 and SLH-DSA from 0.15.0, all marked experimental.

Since 3.5.0 OpenSSL implements ML-KEM, ML-DSA and SLH-DSA natively, so the provider is no longer needed for the FIPS algorithms. Prefer the native path: fewer moving parts, no experimental flag, and the group list behaves as documented in 3.8.

One liboqs detail worth knowing if you do use it. Release 0.14.0 switched the default ML-KEM implementation to PQ Code Package's mlkem-native v1.0.0, and the same release disabled compiler optimisations around HQC to remove secret-dependent branching, with HQC left disabled by default. A library turning a feature off for side-channel reasons is exactly the kind of event that should appear in a dependency review, and exactly the kind that does not.

# Which OpenSSL, and does it have the algorithms natively?
openssl version
openssl list -kem-algorithms | grep -i 'ML-KEM\|HQC'
openssl list -signature-algorithms | grep -i 'ML-DSA\|SLH-DSA'
openssl list -tls1_3 -tls-groups | grep -i mlkem

# Is a provider registered, and which one?
openssl list -providers
grep -rn "providers\|oqs" /etc/ssl/openssl.cnf /etc/pki/tls/openssl.cnf 2>/dev/null

Reference, reviewed and verified implementations

“Implements ML-KEM” is not one property. There are at least four different claims a library can be making, and they have different evidence behind them.

Reference implementations (pq-crystals)
The submission code for Kyber and Dilithium. Written for clarity and to match FIPS 203 and FIPS 204 exactly. Useful as the thing other implementations are tested against, not as the thing you deploy into a hostile environment.
PQ Code Package: mlkem-native and mldsa-native
A collaboration to produce hardened C implementations with explicit constant-time arguments and testable interfaces. mlkem-native reached 1.0.0 and is now what liboqs uses by default, which is the clearest available signal about its intended role. mldsa-native is at 2.0.0.
Formally verified: libjade and libcrux
libjade (Formosa Crypto / PQ Code Package) produces ML-KEM and ML-DSA implementations with machine-checked guarantees, and libcrux is written in a Rust style intended to be extractable to verified code. Verification removes whole classes of memory-safety and functional bug; it does not by itself prove the absence of every side channel, so read what the artifact actually claims.
Distribution and convenience builds
PQClean historically provided cleaned-up portable implementations for many schemes. Anything in this category optimises for building easily everywhere, which is a different goal from being the safest implementation of one algorithm.

The practical rule: use whatever your TLS library links, and only reach for a standalone primitive library when you are implementing a protocol. If you do, prefer one with a published constant-time argument, and then confirm the link — KyberSlash and the ML-DSA fault results are what happens when that step is skipped.

What a FIPS 140-3 certificate actually covers

Validation is per module build and per algorithm list, not per library and not per algorithm family. AWS-LC is a clean example: its AWS-LC 3 Cryptographic Module (static build) received FIPS 140-3 certificate #5314 in June 2026, and the approved algorithm list includes ML-KEM key generation and encapsulation/decapsulation. It does not list ML-DSA. The same library can therefore be validated for one FIPS post-quantum algorithm and not the other, and a different build of the same library can sit outside the certificate entirely.

Three consequences for a migration plan. Ask for the certificate number and check the algorithm list on the CMVP site rather than accepting “FIPS validated”. Check that the build you ship is the build that was validated — static versus dynamic, and version. And remember that hybrid groups have their own FIPS constraint: a validated module needs the first component of the hybrid to be validated, which is why SecP256r1MLKEM768 exists alongside X25519MLKEM768.

Verify your own stack

Run these on the machine that ships, not on a laptop. Every line reports what a build is linked against, which is the only thing that matters.

# --- Layer 2: what the TLS library offers -------------------------------
openssl version && openssl list -tls1_3 -tls-groups | grep -i mlkem
nginx -V 2>&1 | grep -i openssl          # nginx uses its OpenSSL, not the host's
haproxy -vv | grep -i -E 'openssl|aws-lc'
envoy --version                          # BoringSSL-FIPS or OpenSSL
caddy build-info | grep -i go
go version

# --- Layer 3: what the application is linked against --------------------
python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"
node -e "console.log(process.versions)"
curl --version
ldd $(command -v curl) | grep -i -E 'ssl|crypto'

# --- Rust: which provider is rustls actually using? ---------------------
cargo tree -i rustls 2>/dev/null | head -20
cargo tree | grep -E 'aws-lc-rs|ring|ml-kem|ml-dsa|libcrux'
# ring has no post-quantum plan. If it is your only crypto provider, you
# have no ML-KEM regardless of what your TLS layer claims.

# --- Prove it end to end ------------------------------------------------
openssl s_client -connect localhost:443 -tls1_3 -groups X25519MLKEM768 </dev/null 2>/dev/null \
  | grep -E 'Negotiated TLS1.3 group|Peer Temp Key'

Gotchas that survive a version upgrade

Check Your Understanding

  1. Q1. Your Python service uses `requests` to call an internal API over TLS. Where does post-quantum support come from?

  2. Q2. A vendor states that their product is "FIPS 140-3 validated for post-quantum cryptography". What is the most useful follow-up question?

  3. Q3. You are choosing an ML-KEM implementation for a device where a timing side channel would be fatal. Which consideration matters most?

Sources