Paper 2026/2384 Original: eprint.iacr.org/2026/2384 ↗

A Security-Aware PQC Benchmarking Framework on Dual-Core Xtensa Silicon

Gertrude Nabasirye
Hristina Mihajloska Trpcheska
E. Fatih Yetkin
Abstract

Deploying memory-heavy post-quantum cryptography (PQC) at the smart grid edge threatens real-time substation determinism, directly conflicting with the strict $\le 3 ms$ GOOSE tripping window of the IEC 61850 standard. To resolve this architectural tension, we propose a security-aware, hardware-in-the-loop benchmarking framework on the dual-core Xtensa LX7 (ESP32-S3) SoC running FreeRTOS. To prevent inter-core resource contention, the framework employs an asymmetric task-isolation design, pinning cryptographic operations to Core 1 while leaving Core 0 responsive to line-rate grid interrupts. Additionally, we define a programmatic heap-auditing methodology to model how heap_4.c maps key-state allocations across physical DRAM fragments while preserving the primary 128 KB contiguous system heap. Finally, we formulate an analytical latency model of the external Octal-SPI PSRAM interface, mathematically characterizing the CPU stall overhead ($C_{\text{stall}}$) induced when side-channel masking forces secret polynomial shares to spill over the external bus during non-sequential Cooley-Tukey NTT strides. This framework provides a rigorous methodology to characterize micro-architectural trade-offs, enabling utility engineers to plan post-quantum migration pathways without violating real-time grid constraints.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2026-10-06: last updated
2026-10-06: published
Short URL
https://ia.cr/2026/2384
License
https://creativecommons.org/licenses/by-nc-nd/4.0/

BibTeX

@misc{cryptoeprint:2026/2384,
      author = {Gertrude Nabasirye and Hristina Mihajloska Trpcheska and E. Fatih Yetkin},
      title = {A Security-Aware PQC Benchmarking Framework on Dual-Core Xtensa Silicon},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2384},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2384}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.