Mbed TLS alternatives for post-quantum work compared

As of 4 December 2026, Mbed TLS 4.3.0 ships no post-quantum key exchange and no ML-DSA available to applications, while OpenSSL 3.5 and wolfSSL offer ML-KEM and ML-DSA today, so teams needing post-quantum now will likely look elsewhere.

On this page

Does Mbed TLS offer a post-quantum path today, or should teams compare alternatives?

If you are choosing a TLS library for post-quantum work, the first fact to settle is that Mbed TLS 4.3.0, released 16 November 2026, exposes no ML-KEM and no ML-DSA to applications. TF-PSA-Crypto 1.3.0, released the same day, adds only an experimental ML-DSA driver subset, limited to pure ML-DSA-87 and documented as subject to change or removal. The sources listed on this page do not give a date for ML-KEM support, and the Mbed TLS roadmap lists it only under Future with no quarter. Engineers picking a library for a post-quantum project and vendor-risk leads recording the choice need this comparison to see what is available now and what would have to be built or waited for.

The comparison in this section covers three things: which algorithms each library offers, what maintenance model sits behind them, and how much adoption effort a team would face. On algorithms, OpenSSL 3.5, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and its default key shares include X25519MLKEM768 with X25519. wolfSSL's manual lists configure options for ML-DSA, ML-KEM, SLH-DSA, LMS and XMSS, along with hybrid key share names such as X25519MLKEM768. On maintenance, OpenSSL publishes a six-monthly release cycle with version 3.5 supported as an LTS until 2030-04-08. Mbed TLS has long-term support branches, with mbedtls-4.1 supported until March 2029 and mbedtls-3.6 until March 2027. On licensing, Mbed TLS is dual-licensed Apache-2.0 or GPL-2.0-or-later, while wolfSSL is GPL v3 with commercial licenses required for proprietary redistribution. Confirm the license terms against your own product plans with each project.

Adoption effort depends on whether your application already calls the library's PSA-based APIs. Since Mbed TLS 4.0, psa_crypto_init() must run before any cryptographic operation, and algorithm selection moved to crypto_config.h in TF-PSA-Crypto. Teams comparing alternatives should inventory their current build options and TLS settings, then ask each vendor for a dated statement on ML-KEM and hybrid key exchange, which the Mbed TLS TLS 1.3 support document does not cover. Mbed TLS remains the right choice where its existing footprint, licensing and constrained-device support fit the product. Where post-quantum key exchange is needed on a near-term date, the comparison above points teams toward libraries that already expose it.

How each library's post-quantum status compares, by version and source date

This table sets Mbed TLS 4.3.0 and TF-PSA-Crypto 1.3.0 against OpenSSL 3.5, 3.6.0 and 4.0.0, and wolfSSL, using the status each source records on the date shown. Read each row as a statement about one version or source, not about the project as a whole. The main takeaway is that Mbed TLS currently exposes no post-quantum algorithms to applications, while the other libraries offer ML-KEM, ML-DSA or SLH-DSA through configuration or default settings.

Library and versionAlgorithms presentHybrid key exchange defaultLicenseSource and date
Mbed TLS 4.3.0None exposed to applications. ML-DSA-87 only at driver level, marked experimental. No ML-KEM listed.Not applicableApache-2.0 or GPL-2.0-or-laterMbed TLS releases page, published 16 November 2026
TF-PSA-Crypto 1.3.0Experimental ML-DSA subset (pure ML-DSA-87) in the driver layer. Not exposed to applications.Not applicableSame dual license as Mbed TLS, with third-party code in the drivers directoryTF-PSA-Crypto 1.3.0 release, 16 November 2026
OpenSSL 3.5ML-KEM, ML-DSA and SLH-DSA addedYesApache-2.0OpenSSL NEWS, released 8 April 2025
OpenSSL 3.6.0Adds LMS signature verification per SP 800-208 in the FIPS and default providersNot applicableApache-2.0OpenSSL NEWS file for 3.6.0
OpenSSL 4.0.0Adds post-quantum group curveSM2MLKEM768 and ML-DSA-MU digest supportNot applicableApache-2.0OpenSSL NEWS file for 4.0.0
wolfSSLConfigure options for ML-DSA, SLH-DSA, LMS, XMSS and ML-KEM; defaults not stated on the manual pageNot applicableGPL-3.0 for free use; commercial license needed to redistribute in proprietary productswolfSSL manual chapter 2 and license page; no date shown on the sources

Which parts of each library decide the comparison

Mbed TLS alternatives differ on five components that a team should compare side by side. Each card names one component, the current state in Mbed TLS and what to check in the alternatives.

Key exchange defaults and hybrid groups

OpenSSL 3.5 sets X25519MLKEM768 and X25519 as default keyshares and prefers hybrid PQC KEM groups. wolfSSL lists hybrid share names such as SecP256r1MLKEM768 and X25519MLKEM768 in its help text. Mbed TLS 4.3.0 lists ECDHE groups in its TLS 1.3 support document (secp256r1, x25519, secp384r1, x448, secp521r1) and its TLS 1.3 support document does not mention post-quantum or hybrid key exchange. Check whether each library offers a hybrid group by default or only when a build option is set.

OpenSSL NEWS

Signature algorithm coverage

In Mbed TLS, TF-PSA-Crypto 1.3.0 adds an experimental ML-DSA subset at driver level, supporting only pure ML-DSA-87, and the release notes say it is not yet exposed to applications. OpenSSL and wolfSSL expose ML-DSA and SLH-DSA through their own APIs, and wolfSSL also lists LMS and XMSS options. Confirm whether a signature algorithm can be called from application code and used in TLS or X.509 certificates, not only inside the library's internal drivers.

TF-PSA-Crypto 1.3.0 release

Build and configuration model

Mbed TLS 4.0 moved algorithm selection into TF-PSA-Crypto's crypto_config.h, where PSA_WANT_ALG_ECDH, PSA_WANT_ALG_ECDSA and similar macros enable each algorithm, while mbedtls_config.h keeps TLS and X.509 options. wolfSSL instead uses configure flags such as --enable-mldsa, --disable-mlkem and --enable-extra-pqc-hybrids. Mbed TLS 4.0 also requires psa_crypto_init() before any cryptographic operation. Ask each vendor where the switch for a post-quantum algorithm lives, and whether its default is on or off.

Mbed TLS 4.0 migration guide

Licensing terms

Mbed TLS is dual-licensed under Apache-2.0 or GPL-2.0-or-later, and TF-PSA-Crypto carries the same dual license except for third-party code in its drivers directory. wolfSSL is offered under GPLv3, and businesses that redistribute it in proprietary products must license a commercial version. The licence choice decides whether a product can ship a library without releasing its own source code. Have legal review the license of each library and of any third-party driver code included in the build.

wolfSSL license

Certification status

The Mbed TLS FIPS FAQ says the library is not FIPS certified and refers to FIPS PUB 140-2 test vectors, and the page shows no date. The Mbed TLS roadmap and repository pages do not mention FIPS or CNSA 2.0. Certification is a separate question from algorithm support, so a library can offer ML-KEM and still lack a validated module. Ask each vendor for the certificate number, the module version it covers and the date of the certificate, if a validated module is required.

Mbed TLS FIPS FAQ

Which alternative fits each team's situation

A team that must ship ML-KEM hybrid TLS in its next release needs a library where that key exchange is available now. The sources checked show that OpenSSL 3.5, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA, and that its default key shares include X25519MLKEM768 alongside X25519. The sources checked show that wolfSSL's manual lists hybrid key share names including SecP256r1MLKEM768 and X25519MLKEM768. For Mbed TLS, the sources checked show no ML-KEM support: the roadmap lists ML-KEM only under Future with no quarter, and TF-PSA-Crypto 1.3.0 exposes only an experimental ML-DSA subset to drivers.

  • OpenSSL 3.5 defaults: the 3.5 default keyshares offer X25519MLKEM768 and X25519, per the OpenSSL NEWS file.
  • OpenSSL support window: version 3.5 is listed as an LTS release supported until 2030-04-08.
  • wolfSSL build options: check --disable-mlkem and --disable-pqc-hybrids in the wolfSSL manual, because the page does not state their defaults.
  • Mbed TLS status: the sources checked show no ML-KEM support in Mbed TLS or TF-PSA-Crypto, so it cannot meet a hybrid TLS date on current sources.
  • Illustrative check: confirm that your TLS peers negotiate the hybrid group in a test handshake before the release freeze.

Confirm the chosen library's hybrid group support against its own release notes and your peers' support, since the sources do not cover interoperability.

How to compare libraries for post-quantum work, in order

This sequence lets an engineer or vendor-risk reviewer test whether Mbed TLS or an alternative library can meet a post-quantum requirement, using the algorithms named in the requirement and the versions and support windows the sources list. Each step ends with a check that either confirms the candidate for the next step or rules it out.

  1. Confirm the required algorithms and modes

    Start by writing down which algorithms the work needs: ML-KEM for key establishment, ML-DSA for signatures, and whether a hybrid key exchange such as X25519MLKEM768 is required alongside classical groups. The person who owns the requirement, usually the security lead or the architect, records the list. The step is done when every candidate can be checked against the same list. Any requirement that names a federal contract or a national security system should also be recorded, but the reader should confirm with the customer how that requirement applies to them.

  2. Check each candidate's version and edition

    For each candidate library, record the exact version and edition you would deploy, and check its post-quantum support against the sources listed for that version. For Mbed TLS, the sources checked show ML-DSA only at driver level in TF-PSA-Crypto 1.3.0, not exposed to applications, and no ML-KEM support. For OpenSSL, the NEWS file records ML-KEM, ML-DSA and SLH-DSA support from version 3.5. The step is done when each candidate has a version and a written note of which algorithms that version exposes to applications.

  3. Build a test with the candidate's options

    Build each candidate with the configure or CMake options its documentation names for the algorithms you need, then run a TLS handshake in a test environment and confirm which group or algorithm is negotiated. For wolfSSL, the manual lists options such as --enable-mldsa and --disable-mlkem. For Mbed TLS, option names live in crypto_config.h and the sources checked do not show an ML-KEM group to negotiate. The step closes when the negotiated group or the absence of one is recorded from the test output, with the build flags kept alongside it.

  4. Check the licence against the distribution model

    Read each candidate's licence and compare it with how your product is distributed. Mbed TLS is dual-licensed Apache-2.0 or GPL-2.0-or-later, and TF-PSA-Crypto carries the same dual license apart from third-party code in its drivers directory. The wolfSSL license page offers GPL version three and says businesses redistributing it in proprietary products must license commercial versions. The step closes with a written note per candidate saying whether your distribution model fits the licence. Legal review is the right owner for any unclear case; the reader should confirm with counsel.

  5. Check each vendor's support window

    Record how long each candidate version is supported, using the vendor's published schedule. OpenSSL states that version 3.5 is supported as an LTS release until 2030-04-08, with LTS releases every two years. The Mbed TLS BRANCHES file lists mbedtls-4.1 as an LTS branch with support ending March 2029, and mbedtls-3.6 ending March 2027. The step closes when each candidate has an end-of-support date next to the planned deployment period, so that a gap can be seen before the product is built. Ask each vendor in writing whether any date may change.

Which Mbed TLS path fits a post-quantum requirement today?

The diagram starts with one question: does your product need ML-KEM or ML-DSA now? If yes, check whether the candidate library exposes them to applications, since Mbed TLS's ML-DSA work is experimental and not yet available to applications in TF-PSA-Crypto 1.3.0. If the answer is no, the path asks you to request a date from the Mbed TLS project, whose roadmap lists ML-KEM only under Future with no quarter, and to consider an alternative. Either way, the last step is to check the license terms and the support window before you commit.

Decision path from the post-quantum requirement to licensing and support checks.

What the Mbed TLS project has not published, and what to ask it

The project's public material leaves several post-quantum questions open, and some of its statements do not agree with each other. Each card names one gap and the question to put to the Mbed TLS project before relying on it for a migration plan.

ML-KEM timing is unscheduled

The roadmap lists ML-KEM support under Future with no quarter, and it says quarters are very rough estimates. A key encapsulation mechanism is what a TLS-level post-quantum key exchange would need, so this is the gap that most affects a key exchange plan. Ask the project whether ML-KEM is in active development, which release it is targeted for, and whether any date will be committed to the roadmap.

Mbed TLS roadmap

No TLS-level hybrid key exchange statement

The TLS 1.3 support document lists ECDHE and finite-field DHE groups and three key exchange modes, but it does not mention post-quantum or hybrid key exchange. Customers cannot tell from it whether a hybrid group such as X25519 combined with ML-KEM is planned or excluded. Ask the project for its position on TLS 1.3 hybrid key exchange and on the group identifiers it would use.

TLS 1.3 support document

No CNSA 2.0 position published

The roadmap, repository pages and release notes checked say nothing about CNSA 2.0, so the project has published no statement on whether its algorithm set would meet it. Buyers with national security system or federal contract obligations need this answer in writing. Ask the project whether it plans to support the CNSA 2.0 algorithm suite and, if so, which components and dates it would cover.

Mbed TLS roadmap

FIPS status rests on an undated page

The knowledge-base page states that Mbed TLS is not FIPS certified and refers to FIPS PUB 140-2, but it shows no date, and the roadmap does not mention FIPS. The page cannot show whether the reference is current. Ask the project for its current FIPS 140-3 status, any validation it is pursuing, and the date the knowledge-base answer was last reviewed.

Mbed TLS FIPS FAQ

Conflicting LTS and fork statements

The TSC minutes of 19 February 2026 describe the post-quantum route as an integrated fork of mldsa-native feeding ML-DSA-87 through PSA drivers. The BRANCHES file instead describes an 18-month LTS cycle with three-year support. The two documents do not say how a fork would be maintained alongside the LTS branches. Ask the project which of these will govern the ML-DSA code, and which branch will carry it.

Mbed TLS BRANCHES

What goes wrong when choosing an alternative late

Leaving Mbed TLS is a migration in its own right, not a dependency swap. Mbed TLS 4.0 changed its API in ways that break existing code: psa_crypto_init() must now be called before any cryptographic operation, including parsing a key or certificate or starting a TLS handshake, and mbedtls_ssl_conf_rng() was removed, so the library uses the PSA random generator instead. Build options also moved out of mbedtls_config.h into TF-PSA-Crypto's crypto_config.h for algorithm selection. Teams that plan to move to another library should expect to rewrite initialization, random number handling and configuration, and to retest every connection path, not just recompile.

Mbed TLS 4.0 also removed cipher suites that a late switch may have assumed would still be available. The TLS 1.2 and DTLS 1.2 key exchanges RSA, RSA-PSK, DHE-PSK, DHE-RSA and static ECDH are gone, about 150 cipher suites were removed, and the curves secp192r1, secp192k1, secp224r1 and secp224k1 were dropped from certificates and TLS. Ephemeral ECDH and RSA signature suites remain. Any peer that still negotiates the removed suites or curves will fail after the change, so confirm the peer list before deciding that a library swap is the only fix. On the other side, the alternative library may apply its own defaults, which can silently narrow or widen what is offered.

The more dangerous failure is a setting that appears to enable a post-quantum or hybrid group but in fact keeps a classical one. In Mbed TLS, mbedtls_ssl_conf_groups() defaults to all supported curves at 255 bits and above plus finite-field groups at 2048 bits and above, and the TLS 1.3 support document lists only classical ECDHE and DHE groups. Similarly, OpenSSL 3.5, released 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA and changed its default key shares to X25519MLKEM768 and X25519, which means a client or server built on OpenSSL 3.5 or later may now prefer a hybrid group where it previously used a classical one. Existing clients and servers can see handshake and certificate behaviour change after an upgrade with no configuration edit. Before any change, record the negotiated group for each peer and confirm it with a test handshake, since the sources checked do not show what each deployed peer actually negotiates.

Questions teams ask when comparing Mbed TLS with other libraries

Is Mbed TLS quantum safe?

The sources listed on this page do not support calling Mbed TLS quantum safe. As of the 4.3.0 release, Mbed TLS does not expose any post-quantum algorithm to applications. The TF-PSA-Crypto 1.3.0 release, published 16 November 2026, adds an experimental ML-DSA subset at driver level only, limited to ML-DSA-87, and states that it is not yet exposed to applications. The sources checked show no ML-KEM support in Mbed TLS or TF-PSA-Crypto, and the TLS 1.3 support document does not mention post-quantum or hybrid key exchange. Mbed TLS 4.3.0 is still built on the same public-key algorithms (ECDH, finite-field DH, ECDSA, RSA) for key exchange and authentication. Confirm the current status with the Mbed TLS project before relying on it for any post-quantum requirement.

Which version of OpenSSL first offers ML-KEM?

OpenSSL 3.5, released 8 April 2025, is the first version the OpenSSL NEWS file records as adding support for the post-quantum algorithms ML-KEM, ML-DSA and SLH-DSA. Its default key shares offer X25519MLKEM768 alongside X25519, and the default group list was changed to include and prefer hybrid post-quantum KEM groups. OpenSSL 3.5 is designated a long-term support release, supported until 2030-04-08 according to the OpenSSL release strategy page. Teams comparing it with Mbed TLS should note that this is an application-facing capability, which the sources checked do not show for Mbed TLS. Confirm the exact provider and build configuration in your own environment, since defaults can differ between distribution packages.

Does switching libraries cost extra?

Switching libraries usually adds cost in four places: engineering time to port code and rebuild the TLS and certificate paths, testing across the affected devices or servers, recertification or validation effort where the product relies on an existing certified module, and licensing changes. The Mbed TLS repository is dual-licensed Apache-2.0 or GPL-2.0-or-later, and wolfSSL is offered under GPLv3 with commercial licenses required for proprietary redistribution, so licensing terms can drive the decision on their own. One-time costs include the port and validation; recurring costs include updates and maintenance under whichever support model the chosen library offers. Ask each vendor for a written statement of its license terms, support window and maintenance model, and ask your integrator for a quote built from a defined scope. This page does not provide figures.

What breaks when moving from Mbed TLS to another library?

The main breakage comes from API and configuration differences, not from the protocols themselves. Mbed TLS 4.0 requires psa_crypto_init() before any cryptographic operation, removed mbedtls_ssl_conf_rng(), and moved algorithm and platform options into TF-PSA-Crypto's crypto_config.h. TLS version, group and signature algorithm selection use mbedtls_ssl_conf_min_tls_version(), mbedtls_ssl_conf_groups() and mbedtls_ssl_conf_sig_algs(), which will not map one-to-one onto another library's configuration. Mbed TLS 4.0 also removed several TLS 1.2 key exchanges and about 150 cipher suites, and removed the curves secp192r1, secp192k1, secp224r1 and secp224k1. Each target library has its own equivalents, so plan a compatibility review of your build, certificate profile and cipher and curve settings, and test every peer you talk to.

What should I ask the Mbed TLS project and an alternative vendor?

Ask for statements, in writing and with dates, on the points the sources checked leave open. For Mbed TLS, ask whether ML-KEM support is planned and in which release, since the roadmap lists it under Future with no quarter and describes quarters as rough estimates. Ask whether ML-DSA will be exposed to applications, and whether it will reach TLS and X.509. Ask what the project's FIPS status is, since the FAQ says Mbed TLS is not FIPS certified and refers to FIPS PUB 140-2 without a date. For any alternative, ask which post-quantum algorithms are enabled by default, which version and edition each applies to, the support window for the branch you would use, and the license terms for your use. Ask for each answer in a form your compliance team can record.

Can our team do this migration ourselves or do we need outside help?

Whether your team can do it alone depends on how many products link the library, how much of the TLS and certificate code is custom, and whether you have people who already know the target library's API. A team that owns a single product with standard TLS usage can often handle the port with the library documentation and a test plan. A broader estate usually needs an inventory, a compatibility review and a test environment before any code changes. DeployOpen plans, implements, integrates, hardens, tests and documents self-hosted open-source platforms in the client's own infrastructure, and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts, and a quote follows from that written scope.

How DeployOpen works on this

DeployOpen helps teams compare Mbed TLS with other libraries for post-quantum work on algorithm coverage, maintenance model and adoption effort, then plans and carries out the move inside the client's own infrastructure. The comparison is written down, dated and checked against each library's published sources before any change is made.

How we scope

  • We confirm which products, devices and build targets currently use Mbed TLS and which TLS versions they negotiate.
  • We record the exact Mbed TLS edition and TF-PSA-Crypto version in use, since post-quantum support differs between them.
  • We agree the comparison criteria and the decision owner in a written fixed scope before any engineering work starts.

How we build

  • We compare candidate libraries on algorithm status, licensing, LTS policy and build effort, citing each vendor's own documentation.
  • We prototype the chosen path in a test build, starting with the PSA Crypto configuration in crypto_config.h where Mbed TLS is kept.
  • We test handshakes, certificate chains and interoperability against the peers the client actually connects to.

How we hand over

  • We deliver a dated comparison report that states what each library supports today and what remains roadmap only.
  • We document the build options, dependencies and configuration changes so the client's own engineers can repeat them.
  • We leave a retest plan and a list of vendor statements to recheck, since roadmap quarters are estimates and may change.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the handover.
  • A retainer can cover tracking new Mbed TLS and TF-PSA-Crypto releases and reassessing the comparison when vendor status changes.
  • Pricing is set by a quote built from the written scope, and DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.