PQ.V.ALU.E: Post-Quantum RISC-V Custom ALU Extensions on Dilithium and Kyber
Adds a custom RISC-V ALU with ten new instructions to speed NTT polynomial arithmetic for Dilithium and Kyber on constrained 32-bit cores.
Schemes: ML-DSA, CRYSTALS-Dilithium, ML-KEM, CRYSTALS-Kyber
Findings (quotes checked against the source text)
-
A custom ALU with ten new RISC-V instructions reduces the cycle count of Kyber and Dilithium NTTs by more than 80% compared to optimized assembly.
The new instructions reduce the cycle count of the Kyber and Dilithium NTTs by more than 80% compared to optimized assembly, while being more lightweight than other works that exist in the literature.
-
The ALU is integrated into a 4-stage pipeline 32-bit RISC-V processor and supports modular arithmetic and NTT butterfly operations.
The primary contributions include a lightweight custom arithmetic logic unit (ALU), integrated into a 4-stage pipeline 32-bit RISC-V processor.
-
NTT polynomial operations are identified as the main computational bottleneck for lattice-based Dilithium and Kyber on resource-constrained devices.
The high computational cost of polynomial operations, fundamental to cryptography based on ideal lattices, presents significant challenges in an efficient implementation.
Numbers (as extracted, not quote-checked)
- Reduction in NTT cycle count vs optimized assembly: more than 80%
- Custom RISC-V instructions added: 10
- Processor pipeline: 4-stage, 32-bit
For builders
Hardware NTT acceleration is a route for running Dilithium or Kyber on constrained validators or wallet hardware, though it is not a chain-design contribution.
Limits
Abstract-only summary; no full-text details. Targets embedded RISC-V cores rather than blockchain nodes; the 80% figure is relative to optimized assembly only.
Topics: implementation-sidechannel benchmarks sig-lattice kem