Precomputation Methods for Faster and Greener Post-Quantum Cryptography on Emerging Embedded Platforms

Aydin Aysu, Patrick Schaumont

Introduction: The Quantum Threat to IoT Security

As we approach the quantum era, the security of our digital infrastructure faces a significant challenge. Current cryptographic standards like RSA and Elliptic Curve Cryptography (ECC) are vulnerable to Shor's algorithm on sufficiently powerful quantum computers. This vulnerability is particularly concerning for the Internet of Things (IoT), where billions of low-power devices rely on these standards for secure communication.

Security levels of standard cryptographic primitives against pre-quantum and post-quantum attacks.

Post-Quantum Cryptography (PQC) offers a solution, but these new algorithms are often too computationally intensive for resource-constrained embedded devices. This paper explores how to bridge this gap by optimizing PQC for the "edge of the cloud"—microcontrollers and sensors that often operate on harvested energy.

Methodology: Partitioning for Efficiency

The core innovation presented is the partitioning of cryptographic operations into offline precomputation and online execution phases. In a traditional "monolithic" approach, the entire signature generation happens upon request, leading to high latency and unpredictable energy demands.

Comparison between (a) monolithic execution and (b) partitioned execution with precomputation.

By shifting heavy computations to an offline phase—performed when the device has excess harvested energy—the online phase (triggered by a message request) becomes significantly faster and more energy-efficient.

Implementation Strategies

The researchers applied this partitioning to two leading PQC candidates:

  1. Hash-based Signatures (Winternitz W-OTS): By precomputing and storing intermediate nodes in hash chains, the device only needs to compute a few remaining hashes during the online phase.
  2. Lattice-based Signatures (GLP Scheme): This scheme uses "coupons"—precomputed valid masking polynomials and nonces. When a signature is needed, the device simply retrieves a coupon, avoiding the high latency of rejection sampling during the critical path.

Experimental Setup and Results

The methods were validated on an MSP430 microcontroller powered by a solar energy harvesting system. The results demonstrate a paradigm shift in embedded security:

  • Latency Reduction: Online execution latency improved by up to 82.7×.
  • Energy Efficiency: Energy consumption during the online phase dropped by up to 11.8×.
  • Increased Yield: In simulated solar cycles, the precomputation strategy allowed the device to generate three times as many signatures compared to monolithic execution.

Interestingly, these optimized PQC signatures were found to be competitive with traditional ECDSA signatures on the same low-power hardware, proving that quantum-resistant security is feasible even for the smallest devices.

Conclusion and Future Outlook

While memory constraints (specifically SRAM) remain a bottleneck for storing precomputed data, the rapid decrease in storage costs makes this trade-off increasingly viable. Future work will look into extending these techniques to other PQC primitives like Key Encapsulation Mechanisms (KEMs) and adapting to evolving NIST standards. By "banking" energy in the form of precomputed values, we can ensure the IoT remains secure in a post-quantum world without sacrificing performance or battery life.

Summary updated

BibTeX
@article{aysu2015precomputation,
  author = {Aydin Aysu and Patrick Schaumont},
  title = {{Precomputation Methods for Faster and Greener Post-Quantum Cryptography on Emerging Embedded Platforms}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2015},
  url = {https://openreview.net/forum?id=qJn4IVroav},
}
Figure