CAMPA: A Cross-Algorithm Multithreaded PQC Accelerator with Dynamic Scheduling
Zhengpeng Zhao, Wenbo Xu, Jiayi Li, Dongsheng Liu, Jiahao Lu, Ang Hu, Huanyu Wang
原文摘要
Multi-scheme post-quantum cryptography (PQC) accelerators share operators to reduce hardware cost, but data dependencies and changing resource demands within each task leave shared hardware idle. We present \campa, a \riscv PQC coprocessor supporting \mlkem, \mldsa, and \slhdsa-SHAKE. To the best of our knowledge, \campa is the first PQC coprocessor for \riscv CPUs to support hardware dynamic scheduling across independent cryptographic requests. The hardware scheduler pools ready operations across independent tasks according to runtime data and resource availability, filling idle execution windows. Coordinated RAM version management and context retention protect data and state during this interleaving, enabling computation and data movement to overlap across tasks on shared datapaths and storage. Architectural simulation of 128-request batches across 18 \mlkem/\mldsa workloads shows that the Main and Performance configurations achieve geometric-mean throughput ratios of $1.21\times$ and $1.59\times$, respectively, relative to serial execution of the same task sets. In Main, mean polynomial-unit execution activity is 77.5\% for single requests and 93.3\% for these batches. Synthesized in SMIC 28~nm under an 800~MHz clock constraint, the Main configuration occupies 0.390~mm$^2$, including on-chip memory.
cs.AR