A Non-Invasive Cloud-Based Migration Strategy for Post-Quantum Cybersecurity in Smart HVAC Systems: Architecture, Implementation, and Empirical Evaluation
Adds a non-invasive gateway proxy that gives smart HVAC traffic ML-KEM-768 and ML-DSA-65 session setup, with Raspberry Pi 4B benchmarks and an ESP32-S3 infeasibility check.
Schemes: ML-KEM-768, ML-DSA-65, ML-KEM-512, ML-DSA-44, ML-KEM-1024, ML-DSA-87, X25519, Ed25519, HKDF, AES-256-GCM, liboqs, SLH-DSA (FIPS 205, mentioned only)
Findings (quotes checked against the source text)
-
On a Raspberry Pi 4B gateway, the ML-KEM-768 plus ML-DSA-65 handshake averaged 2.48 ms, about 0.38 ms slower than an X25519/Ed25519 baseline.
The ML-KEM-768 handshake completes in 2.48 ms on average, 0.38 ms slower than
-
ML-DSA signing is the most expensive operation in every ML-DSA configuration, about twice the cost of the KEM operations, and dominates handshake time.
Signing is the single most expensive operation in every ML-DSA
-
Shared secret is derived by both parties and never transmitted, so only the public key, ciphertext, and signature cross the link.
Neither party has transmitted the shared secret itself at any point.
-
Network RTT dominates total handshake time under realistic conditions, so PQC computation is a small share of latency.
realistic RTT, network latency dominates total handshake time.
-
Concurrency test reported 100% session success at every thread count from 1 to 32 on the Pi 4B.
Every thread count achieves 100% session success
Numbers (as extracted, not quote-checked)
- ML-KEM-768 handshake mean latency (Steps 1-6, Pi 4B): 2.48 ms
- Classical ECDH baseline handshake mean latency: 2.10 ms
- ML-KEM-768 public key / ciphertext / shared secret sizes: 1184 B / 1088 B / 32 B
- ML-DSA-65 signature size: 3309 bytes
- ML-DSA-65 sign mean latency (Pi 4B): 1.2209 ms
- ML-DSA-65 verify mean latency (Pi 4B): 0.7575 ms
- Sequential sessions per second, Pi 4B: 443.3
- ESP32-S3 free heap vs ML-KEM-768 keygen requirement: 339 KB free vs 900 KB needed
For builders
If a PQ chain uses ML-DSA-65, budget about 3.3 KB per signature and under 1 ms verify on ARM-class hardware, and move key exchange off constrained devices.
Limits
Gateway-only benchmarks on one Pi 4B; 32-core figure is linear extrapolation; energy is a constant-power estimate; no on-chain or blockchain context; the proxy is a single point of failure.
Topics: kem sig-lattice benchmarks implementation-sidechannel standards-policy threat-model