Testing TLS 1.3 PQC on constrained devices and microcontrollers
Benchmarks 36 TLS 1.3 key-exchange and auth combinations (ML-KEM, ML-DSA, X25519, ECDHE, hybrid) on Pico W, Pico 2 W, ESP32 and Pi Zero for handshake latency and energy.
Schemes: ML-KEM-512, ML-KEM-768, ML-KEM-1024, ML-DSA-44, ML-DSA-65, ML-DSA-87, X25519, Ed25519, ECDSA P-256, RSA-PSS 2048, SLH-DSA, X25519+ML-KEM-768 hybrid, TLS 1.3
Numbers (as extracted, not quote-checked)
- ML-KEM-512 + ML-DSA-44 median handshake on Pico W: 197.44 ms
- X25519 + RSA-PSS median handshake on Pico W: 333.69 ms
- ML-KEM-512 vs X25519 speedup on ESP32 (claimed in conclusion): 8.9x lower latency
- Hybrid X25519+ML-KEM-768 + RSA-PSS median on Pico W: 473.1 ms
- Number of TLS combinations benchmarked: 36
- Iterations per combination: 1000
For builders
On microcontrollers without Curve25519 assembly, prefer pure ML-KEM-512 over X25519 or the hybrid, and pair it with ML-DSA-44 rather than assuming hybrid auth.
Limits
Single wolfSSL implementation on home WiFi; energy via a consumer USB meter; certificate chain verification disabled; no interoperability, side-channel, or secure-boot testing; no Falcon, HQC, or FrodoKEM tested.
Topics: kem sig-lattice hybrid-schemes benchmarks implementation-sidechannel threat-model