Evaluating Post-Quantum Cryptographic Algorithms on Resource-Constrained Devices

Mohammad Saidur Rahman, Jesus Lopez, Viviana Cadena, Mohammad Saidur Rahman 0003arXiv 2025 · DOI

Abstract

As quantum computing advances, classical public-key encryption standards like RSA and ECC face obsolescence due to Shor’s algorithm. This paper evaluates the performance of three leading Post-Quantum Cryptography (PQC) candidates—CRYSTALS-Kyber, BIKE, and HQC—on Raspberry Pi hardware. By measuring execution time, power consumption, memory usage, and thermal impact, we assess the viability of these algorithms for resource-constrained Internet of Things (IoT) environments. Our findings identify CRYSTALS-Kyber as the most efficient candidate for edge deployment, while highlighting significant trade-offs in latency and power for code-based alternatives.

Introduction

The security of the Internet of Things (IoT) relies heavily on public-key cryptography. However, the emergence of large-scale quantum computers threatens these foundations. For low-power devices such as smart home sensors and industrial controllers, transitioning to PQC is challenging due to limited processing power, memory, and battery life. While NIST has standardized several PQC algorithms, benchmarks typically focus on high-end server performance. This study addresses the gap by evaluating PQC performance in resource-constrained environments typical of real-world IoT deployments.

Methodology

The experimental setup utilized a Raspberry Pi 3 Model B+ as the client and a Raspberry Pi 5 as the server to simulate a TLS-inspired communication environment. Three Key Encapsulation Mechanisms (KEMs) were implemented using the liboqs (Open Quantum Safe) and mbedTLS libraries:

  • CRYSTALS-Kyber: A lattice-based scheme (the current NIST favorite).
  • BIKE (Bit Flipping Key Encapsulation): A code-based scheme.
  • HQC (Hamming Quasi-Cyclic): Another code-based scheme.

Performance was evaluated across four dimensions: execution time (handshake duration), power consumption (Watts), memory usage (KB), and thermal impact (Celsius). Network simulations used payloads ranging from 208 to 2,328 bytes to observe system stability under varying communication loads.

Results and Discussion

Execution Time and Stability

CRYSTALS-Kyber demonstrated superior performance and stability. Its execution time remained remarkably consistent at approximately 0.04 seconds across all security levels. In contrast, code-based schemes like BIKE showed significant latency increases at higher security levels. For instance, BIKE-L5 required 0.302 seconds, making Kyber roughly 7.5 times faster.

Table 1: Execution time (mean ± standard deviation) for evaluated PQC algorithms.

Power Consumption and Thermal Impact

Power efficiency is critical for battery-operated IoT devices. Under high-load conditions, BIKE-L5 consumed the most power, reaching 5.2W on the server. Kyber maintained a more efficient profile at 3.9W. Furthermore, the intensive computations required by BIKE-L5 pushed device temperatures above 52°C, posing a risk of thermal throttling or hardware failure in uncooled enclosures.

Table 2: Power consumption in Watts for client and server devices under low and high load.

Memory Footprint

While Kyber led in speed, BIKE proved to be a "memory miser" at lower security levels. BIKE-L1 and L3 maintained the smallest memory footprints (~5,630 KB), which may be advantageous for devices with extremely limited RAM. HQC-192 exhibited the highest and most variable memory demands (~6,000 KB).

Conclusion

CRYSTALS-Kyber emerges as the clear winner for general IoT applications due to its high speed, low power consumption, and predictable performance. While code-based schemes like BIKE offer memory advantages, their high CPU and power demands limit their utility in the most constrained environments. Future research should expand this evaluation to include digital signatures and even more resource-limited hardware, such as ARM Cortex-M microcontrollers.

Summary updated

BibTeX
@misc{rahman2025evaluating,
  author = {Mohammad Saidur Rahman and Jesus Lopez and Viviana Cadena and Mohammad Saidur Rahman},
  title = {{Evaluating Post-Quantum Cryptographic Algorithms on Resource-Constrained Devices}},
  year = {2025},
  eprint = {2507.08312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.08312},
}
Figure