Full-PQC TLS 1.3 handshakes run faster and use less energy than classical on constrained devices
ML-KEM-512 + ML-DSA-44 completes TLS 1.3 handshakes up to 41% faster and up to 2.12× more energy-efficient than X25519 + RSA-PSS on Pico W, and 8.9× faster on ESP32
Security & privacy arXiv 20 Oct 2026 Measurement Prototype evidence
Published as “Testing TLS 1.3 PQC on constrained devices and microcontrollers”
Why it matters
Implementers can adopt ML-KEM-512 for full PQC TLS on constrained microcontrollers to achieve lower latency and comparable or better energy use than traditional X25519, provided they use wolfSSL or similarly optimized libraries.
Summary
ML-KEM-512 full-PQC TLS 1.3 handshakes are faster than the currently deployed X25519-based exchanges on all four microcontrollers tested, delivering 41 % lower latency on the Pico W and up to 8.9× lower latency on the ESP32 while matching or beating them in energy efficiency. The authors benchmarked 36 TLS 1.3 algorithm combinations (ML-KEM-512/768/1024 with various authenticators) on a Raspberry Pi Zero, Pico W, Pico 2 W and ESP32, running 1,000 handshakes per combo using wolfSSL. Results show that performance is highly implementation- and architecture-dependent; the lack of Curve25519 assembly on Xtensa makes X25519 much slower, whereas ML-KEM’s lattice arithmetic needs no ISA-specific code. However, larger ML-KEM parameter sets can be slower than X25519 on the Pico 2 W and memory limits cause out-of-memory failures on the Pico W. The evidence is based on real-world hardware measurements with clear quantitative latency and energy figures.
What they found 4
- ML-KEM-512 is faster than both ECDHE and X25519 for TLS on every microcontroller tested
“The headline finding is that ML-KEM-512 is faster than both ECDHE and X25519 for TLS on every microcontroller tested, across every paired authentication algorithm (Figure 1).”
- Best full-PQC combo (ML-KEM-512 + ML-DSA-44) is 41% faster than X25519 + RSA-PSS on Pico W
“The best full-PQC combination (ML-KEM-512 + ML-DSA-44 at 197.44 ms) is 41% faster than the equivalent classical-modern pairing (X25519 + RSA-PSS at 333.69 ms)”
- X25519 performance collapses on ESP32 due to missing assembly, achieving only 20.7 iterations/joule
“In the TLS matrix, combinations using neither X25519 nor Ed25519 (excluding the X25519 and Hybrid key-exchange rows, and the Ed25519 authentication column) achieve between 39.4 and 72.7 iterations per joule, while X25519-based combinations, pure or hybrid, cap at 20.7 iterations per joule (Hybrid/RSA)”
- Hybrid X25519+ML-KEM-768 adds latency, 2.4-2.6x worse than pure ML-KEM-512 on Pico W
“the hybrid ranges from 473 ms (+ RSA-PSS) to 499 ms (+ ECC P-256), 2.4-2.6x worse than pure ML-KEM-512 for the same authentication step.”
Caveats 5
- On the Pico 2 W, X25519 + RSA-PSS (64.5 ms) outperforms ML-KEM-768 + RSA-PSS (69.2 ms) and ML-KEM-1024 + RSA-PSS (82.9 ms), showing larger ML-KEM parameters are slower than classical key exchange.
- Memory exhaustion occurs on the Pico W for larger key exchange/authentication combos, limiting applicability of some PQC parameters.
- The Pico W is the only device in this study to run out of memory on any combination in the matrix; the Pico 2 W, ESP32, and Pi Zero each complete every TLS combination tested, including those requiring ML-DSA-87 signing.
- wolfSSL’s Curve25519 optimisations target ARM Cortex-M assembly; on the Xtensa LX6, no equivalent path exists and the implementation falls through to a generic C fallback regardless of clock speed.
- The second limitation is one of scope rather than cost: the hybrid construction protects only the key exchange, not the authentication step.
What’s new here 4
- First measurement of full PQC TLS 1.3 handshakes on microcontrollers using wolfSSL.
- Demonstrates ML-KEM-512 handshakes are faster and more energy-efficient than X25519 on constrained devices.
- Shows hybrid X25519+ML-KEM-768 incurs additive latency rather than a performance compromise.
- Identifies memory and ISA-specific implementation gaps as key factors affecting PQC performance.