CAMPA: A Cross-Algorithm Multithreaded PQC Accelerator with Dynamic Scheduling

By Zhengpeng Zhao, Wenbo Xu, Jiayi Li, Dongsheng Liu, Jiahao Lu, Ang Hu, Huanyu Wang
Huazhong University of Science and Technology, Wuhan, China

Abstract

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 RISC-V PQC coprocessor supporting ML-KEM, ML-DSA, and SLH-DSA-SHAKE. To the best of our knowledge, CAMPA is the first PQC coprocessor for RISC-V CPUs to support hardware dynamic scheduling across independent cryptographic requests. The hard ware 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 ML-KEM/ML-DSA workloads shows that the Main and Performance configurations achieve geometric mean throughput ratios of 1.21× and 1.59×, 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², including on-chip memory.

Index Terms—post-quantum cryptography, RISC-V, cryptographic accelerator, multithreading, dynamic scheduling

To read the full article, click here

×
Semiconductor IP