# Testing TLS 1.3 PQC on constrained devices and microcontrollers

DevFeed: [Testing TLS 1.3 PQC on constrained devices and microcontrollers](<https://devfeed.tech/articles/testing-tls-1-3-pqc-on-constrained-devices-and-microcontrollers-93826.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.27766>)

Author: Olivier Gillot, William J. Buchanan, Callum Turino

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [TLS handshake](<https://devfeed.tech/topics/tls-handshake.md>), [Sustainable Computing](<https://devfeed.tech/topics/sustainable-computing.md>), [Embedded Software Dev](<https://devfeed.tech/topics/embedded-software-dev.md>), [MicroPython](<https://devfeed.tech/topics/micropython.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [energy](<https://devfeed.tech/tags/energy.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [iot](<https://devfeed.tech/tags/iot.md>), [latency](<https://devfeed.tech/tags/latency.md>), [microcontrollers](<https://devfeed.tech/tags/microcontrollers.md>), [ml-dsa](<https://devfeed.tech/tags/ml-dsa.md>), [ml-kem](<https://devfeed.tech/tags/ml-kem.md>), [pi](<https://devfeed.tech/tags/pi.md>), [pico-2](<https://devfeed.tech/tags/pico-2.md>), [post-quantum-cryptography](<https://devfeed.tech/tags/post-quantum-cryptography.md>), [pqc](<https://devfeed.tech/tags/pqc.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tls](<https://devfeed.tech/tags/tls.md>), [tls-1-3](<https://devfeed.tech/tags/tls-1-3.md>)

## AI overview

In wolfSSL TLS 1.3 benchmarks across four devices, post-quantum performance depended strongly on hardware and implementation. On the Pico W, full-PQC ML-KEM-512 plus ML-DSA-44 completed handshakes 41% faster than X25519 plus RSA-PSS and was up to 2.12 times as energy-efficient, depending on the authentication algorithm; on the ESP32, it was 8.9 times faster. Results across algorithm choices were similar on more capable devices. The tested X25519+ML-KEM-768 hybrid cost approximately as much as its two components combined, while pure ML-KEM may be more practical on hardware without Curve25519 assembly support. ML-DSA signing time varied, a limitation for applications requiring predictable latency. These findings reflect the tested implementation and devices.

## Source excerpt

arXiv:2610.27766v1 Announce Type: new Abstract: The UK, EU and US governments have set timelines for post-quantum cryptography migration of critical systems, with deadlines ranging from 2028 to 2035. This paper focuses on IoT-class devices and microcontrollers and the viability of using PQC to connect these devices in secure TLS 1.3 connections. Using wolfSSL, we benchmark a 36-combination TLS 1.3 algorithm matrix, pairing ML-KEM-512/768/1024 and X25519/ECC P-256 key exchange with ML-DSA-44/65/87, Ed25519, ECDSA, and RSA-PSS authentication, across four devices (Raspberry Pi Pico W & Pico 2 W, ESP32, and a Raspberry Pi Zero), measuring both handshake latency and energy consumption. We found that in capable devices, all choices in the TLS matrix gave similar results, but that in IoT-class devices, PQC performance is highly implementation- and architecture-dependent: the common assumption that elliptic-curve key exchange must be cheaper than post-quantum lattice-based key exchange does not hold in this wolfSSL-based implementation, where the best full-PQC combination (ML-KEM-512 + ML-DSA-44) completes TLS handshakes 41% faster than the equivalent classical-modern pairing (X25519 + RSA-PSS) on the Pico W (up to 2.12x as energy-efficient, depending on the paired authentication algorithm), and 8.9x faster on the ESP32. Full-PQC, ML-KEM-512/ML-DSA-44, is not only possible but energy-competitive with or superior to Hybrid or Elliptic Curve alternatives on the most constrained devices, though ML-DSA's variable signing time means applications with strict latency-predictability budgets must accept this variance as the cost of full quantum-safe authentication. We further show that the IETF's draft-specified X25519+ML-KEM-768 hybrid incurs approximately the combined cost of its two components, rather than offering a performance compromise, making pure ML-KEM the more practical choice on hardware lacking Curve25519 assembly support.