Introduction
The advent of large-scale quantum computers poses a significant threat to current cryptographic standards like RSA and Elliptic Curve Cryptography (ECC). In response, the National Institute of Standards and Technology (NIST) has initiated the standardization of Post-Quantum Cryptography (PQC) algorithms, with Lattice-Based Cryptography (LBC) emerging as a primary candidate. However, LBC algorithms such as CRYSTALS-Kyber and CRYSTALS-Dilithium are computationally intensive, presenting a substantial challenge for resource-constrained Internet-of-Things (IoT) devices. This paper presents a specialized RISC-V processor designed to bridge the gap between flexible general-purpose cores and rigid hardware accelerators.
Architectural Innovations
The proposed design extends the open-source CV32E40P 32-bit RISC-V core with several domain-specific enhancements. The architecture integrates a custom execution unit and a dual-issue memory path to optimize the throughput of cryptographic primitives.
Dual-Mode SIMD and Resource-Reusable PALU
A central innovation is the Parallel ALU (PALU), which supports a dual-mode Single-Instruction Multiple-Data (SIMD) architecture. The processor can dynamically switch between a 256-bit mode for polynomial arithmetic (essential for LBC) and a 320-bit mode optimized for the Keccak (SHA-3) hashing algorithm.
The PALU consists of 10 processing cores designed for maximum resource reuse. By sharing multipliers and adders between modular arithmetic and hashing functions, the design significantly reduces the silicon area compared to separate dedicated units. In 320-bit mode, the processor can handle a full row of the Keccak state matrix in a single cycle, dramatically accelerating hashing operations.
Memory and Data Path Optimization
To address the memory bottleneck common in SIMD architectures, the processor features a dual-issue memory path. This allows the core to overlap "load/store" operations with "compute" instructions, effectively hiding memory latency. Furthermore, dedicated Data Shuffling Units are implemented to handle the complex data dependencies inherent in the Number Theoretic Transform (NTT), a core component of lattice-based math.
Performance Evaluation
The processor was evaluated using NIST-standardized algorithms and synthesized on a 28nm CMOS process.
- Efficiency: The design achieves a 10x speedup over the baseline RISC-V core and a 5x speedup over the ARM Cortex-M4.
- Power Consumption: Operating at 200 MHz, the processor consumes only 2.01 mW for Kyber and 2.13 mW for Dilithium, making it ideal for battery-powered IoT applications.
- Keccak Acceleration: Custom instructions enable Keccak hashing to run approximately 32x faster than standard software implementations.
Conclusion
By combining a flexible RISC-V foundation with a highly optimized, resource-reusable SIMD datapath, this work provides a scalable solution for securing the IoT ecosystem against future quantum threats. Future research will focus on enhancing side-channel resistance and developing automated compiler support to improve the usability of the custom instruction set.
Summary updated