Which embedded libraries can run post-quantum algorithms on small devices?

Several embedded libraries and controllers now ship ML-KEM and ML-DSA support, but status varies from production releases to preview and roadmap items. Check version, memory fit and maturity for your platform.

On this page

Which embedded libraries can run post-quantum algorithms today?

An IoT product team shipping a sensor line that must run for ten years needs to know, before choosing a platform, whether its cryptographic library can run ML-KEM or ML-DSA at all. As of the sources listed here, wolfSSL and its wolfBoot secure boot loader support ML-DSA and ML-KEM on constrained parts, and the nRF Connect SDK CRACEN driver and the Microchip MEC175xB embedded controllers have shipped or announced ML-KEM or ML-DSA support on constrained hardware. The Mbed TLS line is further behind: its TF-PSA-Crypto 1.3.0 release exposes only a limited, experimental subset of ML-DSA from the driver dispatch layer, and the Mbed TLS roadmap places ML-KEM under Future with no quarter assigned.

Who is affected first: makers and fleet operators of Class 1 and higher constrained devices with long service lives. The IETF PQUIP draft on constrained devices says it mainly targets Class 1 and higher nodes, and that Class 0 devices generally lack the RAM and storage for these algorithms and would need a dedicated module to offload post-quantum operations. A Class 1 device may still be too small for the library you choose, so check the memory footprint of the exact parameter set and build options you plan to ship rather than relying on a library's general support claim.

For each candidate platform, confirm three things in the vendor documentation for the version you will ship: which algorithms and parameter sets are enabled in the production build, whether the build avoids dynamic allocation (wolfSSL documents no-malloc builds for ML-KEM), and whether the support is final or preview. The nRF Connect SDK CRACEN support appears in a preview changelog, not a final release, and the Mbed TLS roadmap says its quarter assignments are rough estimates that may be delayed or rescoped. Ask the vendor to confirm both the release status and the memory figures in writing before committing a device design.

Where embedded devices use public-key cryptography today

This table maps the main public-key uses on connected devices (onboarding, firmware signing and secure boot, and device-to-cloud key exchange and certificates) to the algorithm families they rely on today. The last column marks where post-quantum work is already touching each use. Read it as an inventory aid: confirm each row against your own device firmware and cloud configuration, because the classical algorithms named here are the baseline the sources on this page describe.

Use on the deviceClassical algorithm familyPost-quantum work touching it
Device onboarding and identityElliptic-curve or RSA device certificatesYes, through ML-DSA signing in some secure elements and roots of trust
Firmware signingRSA or ECDSA signaturesYes, through ML-DSA and LMS/HSS or XMSS verification in secure boot loaders
Secure boot chainRSA or ECDSA signature verificationYes, through ML-DSA-44, ML-DSA-65 and ML-DSA-87 in wolfBoot
Device-to-cloud key exchangeECDH key agreementYes, through ML-KEM key encapsulation in TLS-capable stacks
Device-to-cloud certificatesRSA or ECDSA X.509 certificatesPartly, through ML-DSA certificate work still in development in several stacks
Hash-based firmware signaturesNot classical, already in use in some boot flowsYes, LMS/HSS and XMSS are already supported in some constrained-device libraries
Stateless hash-based signaturesNot classical, standardized as SLH-DSAPartly, SLH-DSA is supported in some libraries but not in wolfBoot

What NIST and the IETF have published for embedded use

For embedded libraries, the starting point is the set of standards NIST has finalized and the guidance that addresses constrained devices specifically. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) are each published as a final standard, all dated 13 August 2024. FIPS 203 defines ML-KEM, a key-encapsulation mechanism for establishing a shared secret over a public channel, with three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024. Those parameter sets differ in key and ciphertext size, which matters on a device with limited RAM and flash, so the reader should choose the set their protocol and security target require and check the resulting sizes against the device's memory budget. The standards define the algorithms, but they do not say how big a particular library's implementation will be on a given microcontroller.

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published as a final report on 27 October 2026. Its page states no deprecation or disallowance dates for RSA, ECDSA or ECDH, so a fleet plan should not assume a fixed retirement date for the classical algorithms still used in device identity and key exchange. Teams should treat the transition timing as their own planning decision, informed by the device's service life and the sensitivity of its data, and confirm the current status on the NIST page before setting a deadline.

On the IETF side, the PQUIP draft draft-ietf-pquip-pqc-hsm-constrained addresses integrating post-quantum cryptography into resource-constrained devices. It is an Informational Internet-Draft, and its datatracker page shows revision -12 dated 15 November 2026 in the RFC Editor queue, so it is not yet a published RFC. The draft notes that some post-quantum public keys, ciphertexts and signatures are one to two orders of magnitude larger than elliptic-curve equivalents, and it mainly targets Class 1 and higher nodes, with Class 0 devices needing offload to a dedicated module. RFC 9958, Post-Quantum Cryptography for Engineers, is also Informational and dated June 2026. It warns that larger messages raise handshake latency and energy use and require fragmentation logic on constrained devices. Teams should read both documents against their device class before committing to an approach.

Which embedded libraries and controllers have shipped support

Software libraries are the most common route to post-quantum algorithms on constrained devices, because they can be compiled into existing firmware. wolfSSL has shipped the broadest set, while Mbed TLS and TF-PSA-Crypto are at an earlier stage for the same algorithms. The version you choose determines which algorithms exist at all.

  • wolfSSL 5.7.2: added ML-DSA-44, ML-DSA-65 and ML-DSA-87, previously referred to as Dilithium.
  • wolfSSL 5.7.4: added Kyber assembly optimizations for ARMv7E-M and ARMv7-M and replaced pqm4 with wolfSSL's own implementations.
  • wolfSSL 5.8.0 and 5.9.0: renamed the Kyber APIs to ML-KEM, listed small memory use and no-malloc builds for ML-KEM, and added SLH-DSA (FIPS 205) in 5.9.0 dated 18 March 2026.
  • wolfSSL 5.9.1 (8 April 2026): enabled ML-KEM (FIPS 203) by default.
  • TF-PSA-Crypto 1.3.0: exposes only a limited subset of ML-DSA, only pure ML-DSA-87, through the driver dispatch layer, and the interface is experimental. ML-DSA is not yet exposed to applications, and no ML-KEM entry appears in any release.

The sources do not give RAM or flash figures for these libraries on specific cores. Ask each vendor for measurements on your target hardware and compiler settings before relying on them.

What changes on a microcontroller when you add post-quantum algorithms

Post-quantum algorithms bring larger keys, ciphertexts and signatures, which change how a constrained device communicates, computes and stores data. The cards below link each effect to a decision your device team has to make when you check whether a library fits your platform.

Larger keys force fragmentation

Some post-quantum public keys, ciphertexts and signatures are one to two orders of magnitude larger than elliptic-curve equivalents. On small-frame links such as IEEE 802.15.4, a single message can no longer fit in one frame, so your stack needs fragmentation and reassembly logic. Check whether your radio stack and gateway handle fragmented handshake messages, and measure the largest message your protocol must send.

PQUIP draft

Latency and energy costs rise

RFC 9958 notes that larger messages can increase handshake latency and raise energy consumption on constrained devices. For battery-powered nodes, every extra frame sent during onboarding or session setup adds radio time. Ask your library vendor for handshake timing and energy figures on your specific microcontroller, and compare them against your wake budget before you commit to a design.

RFC 9958

Loss exposure grows with fragments

The PQUIP draft says that fragmentation on small-frame links brings more loss exposure. A handshake split across many frames fails if any single frame is lost, so the device may need to retry the whole exchange. On lossy radio links, test handshake completion rates under realistic packet loss rather than assuming a clean link.

Class 0 devices need offload

The PQUIP draft mainly targets Class 1 and higher constrained nodes. Class 0 devices generally lack the RAM and storage these algorithms need, so they must offload post-quantum operations to a dedicated module. For a Class 0 product, your design should include a secure element or companion module, and you should confirm with your hardware vendor which operations that module can run.

PQUIP draft

Library memory needs must be verified

Library support for post-quantum algorithms differs by product and version, and memory footprint is a deciding factor on a microcontroller. The sources in this topic do not publish memory figures for every library, so request measured RAM and flash numbers for each algorithm and parameter set you plan to use. Confirm them on your own target before you size the part.

How to check your device platform for post-quantum support

This sequence establishes whether each device platform in your fleet can run ML-KEM and ML-DSA within its memory and power limits. It ends with a recorded decision for each device class, including which devices need an offload module instead of an in-device library.

  1. Inventory the cryptographic library and accelerator

    For each device platform, record the cryptographic library in the firmware build, its exact version, and any hardware accelerator or secure element that handles public-key operations. Include the boot loader and any firmware TPM, since these often use a separate library. Confirm the inventory against the build manifest rather than memory, because the library version in a shipped image can differ from the one in the design documents. The step is done when every platform has a row listing library, version, and accelerator, with a source noted for each entry.

  2. Classify each device against the PQUIP guidance

    Place each device class in the constrained-device classes used by the IETF PQUIP draft on integrating post-quantum cryptography into resource-constrained devices. The draft mainly targets Class 1 and higher nodes, and states that Class 0 devices generally lack the RAM and storage for these algorithms and would need to offload post-quantum operations to a dedicated module. Record the RAM and flash budget for each class from the hardware datasheet, and mark any device that falls in Class 0 as offload-only. The step is done when every device has a class, a RAM budget, and a flagged offload status.

  3. Test a candidate library in a memory-constrained build

    Build a candidate library version into a representative firmware image for the target part, using the no-malloc or minimal-memory configuration if the library offers one. Measure the static and stack memory of the ML-KEM and ML-DSA operations you plan to use, and compare the results against the RAM budget from the previous step. Run a key generation, sign and verify, and encapsulate and decapsulate cycle on the target hardware, not a desktop emulator. The step is done when you have measured figures for each operation on the target, recorded alongside the library version and build flags.

  4. Check which algorithms the library version supports

    For each candidate library, confirm which parameter sets it implements, since support for ML-KEM and ML-DSA varies by release and some releases expose only part of the family. Check whether the algorithm is enabled by default or must be selected at build time, and whether the API is stable or marked experimental. Record the release status exactly as the vendor documentation or release notes state it, including any preview or early-adopter label. The step is done when each candidate has a written list of supported parameter sets and maturity status, with the source for each claim.

  5. Ask the vendor for release and maturity status

    Send each vendor a written question asking for the exact release in which ML-KEM and ML-DSA are supported on your target part, the maturity status of that release, and whether the implementation is validated or experimental. Ask whether the support covers the hardware accelerator you use, and which parameter sets are included. Request the timeline for any feature still listed as future work, and note that roadmap quarters are estimates that may change. The step is done when each vendor has answered in writing, or you have recorded that no answer has been published.

  6. Decide per device class and route offload where required

    Using the measurements, the PQUIP classification, and the vendor answers, decide for each device class whether the in-device library can run the algorithms within its budget. Mark a device for offload if its class cannot hold the operations, or if the library lacks the needed parameter sets on that part. For offload candidates, identify the dedicated module or secure element, confirm it exposes the algorithms, and note its interface. The step is done when every device class has a decision of in-device or offload, with the reason written beside it.

  7. Record the decision and its evidence

    Write a decision record for each device platform that lists the library and version, the target hardware, the measured memory figures, the vendor answers, the PQUIP class, and the final in-device or offload decision. Note the date of each check, since release status and roadmaps change, and set a review point to recheck when a new library release arrives. Store the record alongside the firmware build documentation so that reviewers can trace each decision to its evidence. The step is done when every device platform has a dated record that a reviewer could follow without asking the engineering team.

Risks in choosing an embedded post-quantum library

Several of the libraries named on this page are still previews, experimental interfaces or roadmap entries rather than settled releases. The cards below cover the specific gaps in the sources and how a team can spot each one in its own build before committing a device platform.

Preview and experimental interfaces

The nRF Connect SDK v3.5.0-preview4 changelog lists CRACEN driver support for ML-DSA and ML-KEM, but it is a preview release, not a final one. The TF-PSA-Crypto 1.3.0 release notes say only a limited subset of ML-DSA is reachable, only pure ML-DSA-87 is supported, the interface is experimental, and ML-DSA is not yet exposed to applications. To notice this in your own build, check whether the post-quantum calls you need are in the stable API or only in driver or preview code paths, and pin the SDK version you tested.

nRF Connect SDK notes

Roadmap dates may slip

The Mbed TLS roadmap places initial ML-DSA support in 2026 CQ2 and lists ML-KEM under Future with no quarter. The roadmap itself says its quarter assignments are rough estimates that may change, be delayed or be rescoped. Do not plan a device certification or hardware order around a roadmap quarter. Instead, ask the vendor for the release that contains the feature and confirm it against the release notes before relying on it.

Mbed TLS roadmap

No ML-KEM in TF-PSA-Crypto releases

The TF-PSA-Crypto release pages list no ML-KEM entry in any release published so far. A team whose device needs key establishment for TLS or a device-to-cloud channel cannot take that capability from TF-PSA-Crypto alone and will need another library or a hardware accelerator. To check this, search the release notes of the exact version you plan to ship for ML-KEM, and test the key exchange path on target hardware rather than assuming the algorithm is present.

TF-PSA-Crypto releases

Harvest now, decrypt later exposure

RFC 9958 describes harvest now, decrypt later as an attacker storing encrypted data today and decrypting it once a cryptographically relevant quantum computer exists. For a device with a long service life, recorded traffic such as telemetry, configuration or session data may stay sensitive long after it was sent. RFC 9958 recommends hybrid key exchange against this risk. To notice the exposure, list which device traffic would still matter in ten or more years and check whether the key exchange for that traffic can be upgraded in the field.

RFC 9958

What the standards and libraries have not settled yet

The sources leave several points open, and a device team should plan around them rather than assume them settled. The IETF guidance on integrating post-quantum cryptography into resource-constrained devices, draft-ietf-pquip-pqc-hsm-constrained, is still an Informational Internet-Draft. Its datatracker page shows revision -12 dated 15 November 2026 in the RFC Editor queue, so the text may still change before publication. The draft also says it mainly targets Class 1 and higher constrained nodes, and that Class 0 devices generally lack the RAM and storage for these algorithms and would need a dedicated module to offload post-quantum operations. The IETF draft is the place to check the current revision and status before you rely on its wording.

RFC 9958 states that IETF work on constrained environments is ongoing, so no settled profile for small devices exists yet in that document. On the library side, the Mbed TLS roadmap lists ML-DSA initial support for 2026 CQ2 and places ML-KEM under Future with no quarter, and it states that its quarter assignments are rough estimates that may change, be delayed or be rescoped. The PSA Certified Crypto API PQC Extension, which covers ML-KEM, ML-DSA, SLH-DSA, LMS/HSS and XMSS, was at Beta status in its September 2025 issue. The sources do not give memory figures for wolfSSL's firmware TPM, so measure RAM and flash on your own target before you commit to a design.

Library versions also differ in what they support, and compatibility between them must be confirmed for the exact versions a team runs. The wolfSSL release history shows changes such as the rename of its Kyber APIs to ML-KEM APIs in 5.8.0 and the enabling of ML-KEM by default in 5.9.1, so code written against one release may not build or behave the same on another. Check each version's release notes and test the specific combination of library, algorithm parameter set and target hardware in your build before you treat it as supported.

Common questions about post-quantum embedded libraries

What are ML-KEM and ML-DSA used for on a device?

ML-KEM is a key-encapsulation mechanism, used to establish a shared secret key over a public channel, such as when a device sets up an encrypted session. ML-DSA is a digital signature algorithm, used to sign and verify data such as firmware images, commands and certificates. Both are defined in NIST final standards, FIPS 203 for ML-KEM and FIPS 204 for ML-DSA, published on 13 August 2024. FIPS 203 defines three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024. In a device, the key exchange and the signature are separate functions, so check which of them your library and hardware actually support. Confirm the parameter set you need against the standard itself.

Is wolfSSL the only library that runs post-quantum algorithms on small devices?

No. wolfSSL has the most detailed public record in the sources for this page, but it is not the only option. Its changelog covers ML-DSA support from 5.7.2, ML-KEM with no-malloc builds from 5.8.0 and an SLH-DSA implementation in 5.9.0 of 18 March 2026. Other platforms are at different stages. The TF-PSA-Crypto release pages list no ML-KEM entry, and the Mbed TLS roadmap places ML-DSA initial support in 2026 CQ2 with ML-KEM under Future. The nRF Connect SDK v3.5.0-preview4 lists CRACEN support for both families, in a preview release. Microchip's MEC175xB controllers include ML-DSA and ML-KEM in hardware, available through an early adopter program. Compare the library and version you run against your device's memory and support needs.

Can a Class 0 constrained device run post-quantum algorithms?

Generally, no. The IETF PQUIP draft on constrained devices states that it mainly targets Class 1 and higher nodes, and that Class 0 devices generally lack the RAM and storage for these algorithms. Such devices would need to offload post-quantum operations to a dedicated module. Larger keys, ciphertexts and signatures also matter on small-frame links such as IEEE 802.15.4, where the PQUIP draft says they mean fragmentation with more latency, energy use and loss exposure. RFC 9958 makes the same point about handshake latency and energy. Check your device's RAM, flash and link frame size against the sizes in the standards before you commit to a design.

What should I ask a library or hardware vendor before choosing?

Ask which parameter sets they support, such as ML-KEM-512, 768 or 1024 and ML-DSA-44, 65 or 87, and whether each is in a final release or a preview. Ask which operations are implemented: key encapsulation, signing, verification, or all of them. Ask for the exact version number, the memory footprint on your target architecture, and whether a no-malloc build is available. Ask whether the implementation is exposed to applications or only to internal driver layers, since the TF-PSA-Crypto release notes say ML-DSA is not yet exposed to applications. Ask whether any certification or validation covers the exact module and version you will ship, and get the answer in writing. Do not accept a general statement of support in place of these answers.

How long does it take to add post-quantum support to device firmware?

The sources listed on this page do not give a duration for this work, so do not plan from an estimate found elsewhere. Timing depends on your platform's library version, whether the algorithms you need are in a final release or only in preview, and how much the device memory and link frame size constrain the design. Your schedule also depends on whether the hardware offloads these operations and whether a firmware update path exists for the fielded devices. Ask your vendor for a written timeline tied to the exact library version and target hardware, and check it against your device release plan.

Should my team test post-quantum libraries in-house or get outside help?

Either can work, and the choice depends on your team's experience with constrained cryptography and how many device platforms you support. An in-house team can test the library you already use against your memory budget, link frame size and update process. Outside help is useful when you need a fixed-scope review of the implementation, a security assessment of the integrated firmware, or a plan for devices that cannot be updated. DeployOpen works on fixed-scope, written engagements, covering security testing and the implementation of open-source platforms in client environments. A quote follows from a written scope, and DeployOpen does not publish a price list.

Which parts of a device's cost change when adopting post-quantum libraries?

The main cost components are engineering time to integrate and test the library, any hardware change such as a secure element or controller with built-in support, and the cost of updating fielded devices. Some costs are one-time, such as integration and validation. Others recur, such as maintenance across library releases and re-testing when versions change. The sources listed on this page do not give figures for these costs, so ask your vendor and your engineering team to estimate each component separately. Costs rise most with devices that lack memory headroom, that cannot be updated and that need a hardware change.

Where post-quantum algorithms sit in a device's onboarding and update flow

The flow starts at the constrained device, which sends its traffic through a gateway or fragmentation layer because PQ public keys, ciphertexts and signatures are much larger than elliptic-curve equivalents on small-frame links such as IEEE 802.15.4. Class 0 devices, which the IETF draft says generally lack the RAM and storage for these algorithms, hand their post-quantum operations to a dedicated offload module. ML-KEM covers the key exchange with the cloud service, and ML-DSA verifies signatures at boot and during updates. Check each hand-off for the libraries and parameter sets your platform actually supports, and for which device class it applies to.

Post-quantum operations along the onboarding and update path of a constrained device.

How DeployOpen helps with embedded post-quantum planning

DeployOpen helps device teams work out which cryptographic libraries and hardware accelerators in their platforms can run post-quantum algorithms within their memory, power and certification limits. The work starts from the libraries you already ship, checks them against the standards and release notes listed on this page, and ends with a documented result your engineers can act on.

How we scope

  • We inventory the crypto libraries, SDKs and hardware accelerators in your device platforms, including versions and build configurations.
  • We record which device classes, RAM and flash budgets and update paths the written scope covers, so the findings match your hardware.
  • We agree the scope in writing before work starts, and engagements are fixed-scope with ongoing support available as a retainer.

How we build

  • We test candidate ML-KEM and ML-DSA builds on your target boards, measuring memory use, key and signature sizes and handshake behavior.
  • We check each library's support status against its release notes, noting where a feature is experimental, preview or not yet exposed to applications.
  • We integrate and configure the chosen library in a test build, flagging where fragmentation or larger messages affect your links.

How we hand over

  • We deliver a written findings report that maps each library version to the algorithms it supports and the limits we measured.
  • We document build flags, configuration settings and known gaps so your firmware and security teams can reproduce the results.
  • We list the items to confirm with each vendor before production use, such as certification status and roadmap dates.

How we support

  • We can retest findings when a library publishes a new release, since support changes quickly across the versions listed here.
  • We can help track vendor roadmaps, where quarter assignments are estimates that may change or slip, and update the findings.
  • We can keep the test setup and documentation current under a retainer for teams with long device service lives.

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.