Abstract
As quantum computing advances, traditional cryptographic standards like RSA and ECC face obsolescence. The National Institute of Standards and Technology (NIST) is currently standardizing Post-Quantum Cryptography (PQC) to secure digital infrastructure. Among the leading candidates are NTRU-based schemes such as Falcon and Hawk, which are favored for their compact signature sizes but hampered by high computational demands. This paper introduces PQNTRU, a customized RISC-V processor designed to accelerate these schemes. By integrating a specialized SIMD architecture and a novel "layer merging" technique for mathematical transforms, PQNTRU achieves a performance boost of over 7× for digital signature operations, making robust PQC viable for resource-constrained IoT environments.
Introduction
The transition to post-quantum security is particularly challenging for the Internet of Things (IoT). Devices in this category often operate on strict power budgets and limited memory, yet they must now handle the heavy mathematical overhead of PQC. NTRU-based schemes like Falcon (a NIST finalist) and Hawk rely heavily on the Number Theoretic Transform (NTT) and Fast Fourier Transform (FFT). These operations involve massive data shuffling and frequent memory access, creating a significant bottleneck on standard low-power processors. PQNTRU addresses these challenges through a hardware/software co-design that optimizes both the raw compute power and the data movement efficiency of the processor.
Processor Architecture and Co-Design
The PQNTRU architecture is built upon an extended 32-bit RISC-V core (CV32E40P). The primary enhancement is the integration of a custom Single-Instruction-Multiple-Data (SIMD) unit, which enables the processor to operate on eight 32-bit values simultaneously. This parallelization is critical for the vector-heavy math found in polynomial multiplication and transforms.
To maximize the utility of the hardware, the team developed a dual-issue parser. This software tool automatically rearranges assembly code to allow the processor to execute memory load/store operations and mathematical calculations in the same clock cycle. Furthermore, the SIMD unit includes specialized shuffling hardware, allowing the processor to rearrange data patterns required for NTT/FFT in a single cycle—a task that typically requires dozens of instructions on a standard CPU.
Mathematical Optimizations: Layer Merging
The "secret sauce" of the PQNTRU's efficiency is the implementation of a Layer Merging technique for NTT and FFT acceleration. In standard implementations, these transforms process data through multiple distinct layers, necessitating constant data movement between memory and registers.
By restructuring how the processor traverses these mathematical trees, the researchers merged three layers into a single block of work. This optimization reduces memory accesses by approximately 70%. This approach highlights a key insight: in PQC, the primary bottleneck is often data dependency and movement rather than raw arithmetic. Additionally, the processor supports both 32-bit and 64-bit fixed-point FFTs, specifically accommodating Hawk’s unique design which avoids floating-point math entirely.
Experimental Results
The PQNTRU processor was evaluated using standard reference implementations of Falcon-512/1024 and Hawk-512/1024 on both FPGA and 28nm ASIC simulations. The results demonstrate significant improvements over general-purpose architectures:
- Performance Gain: Hawk signature generation and verification saw a >7× performance increase compared to the baseline RISC-V implementation. Specifically, Hawk-512 verification dropped from 2.5 million cycles to just 311,522 cycles.
- Comparative Efficiency: For Falcon-512 verification, PQNTRU outperformed the ARM Cortex-M4 by 4.5× and the Cortex-M7 by 5× in terms of clock cycles.
- Physical Footprint: The design is highly efficient for embedded use, occupying only 0.102 mm² on a 28nm chip and consuming approximately 3 mW of power at 200 MHz.
Conclusion and Future Work
PQNTRU demonstrates that hardware/software co-design can effectively bridge the performance gap for NTRU-based PQC schemes on IoT devices. While the architecture significantly accelerates signature operations, certain non-parallelizable tasks, such as the Binary GCD algorithm used in Hawk’s key generation, remain a bottleneck. Future research will focus on developing specialized hardware units to tackle these remaining serial tasks and further optimizing the architecture for very small polynomial lengths where SIMD gains are currently less pronounced.
Summary updated