Implementing CRYSTALS-Dilithium Signature Scheme on FPGAs
First VHDL hardware implementation of CRYSTALS-Dilithium on FPGAs, reporting signing and verification throughput and LUT/FF usage on Virtex 7 UltraScale+.
Schemes: CRYSTALS-Dilithium
Findings (quotes checked against the source text)
-
The first VHDL implementation of Dilithium on FPGAs signs 15832 messages per second and verifies 10524 signatures per second.
our implementation is able to sign 15832 messages per second and verify 10524 signatures per second.
-
Signing uses 68461 LUTs and 86295 FFs, while verification uses 61738 LUTs and 34963 FFs on Virtex 7 UltraScale+ FPGAs.
In particular, the signing algorithm requires 68461 Look-Up Tables (LUTs), 86295 Flip-Flops (FFs), and the verification algorithm takes 61738 LUTs and 34963 FFs on Virtex 7 UltraScale+ FPGAs.
-
The VHDL design is reported to be about 114 times faster in signing than related HLS-based implementations while using fewer hardware resources.
Our solution is ca 114 times faster (in the signing algorithm) and requires less hardware resources.
Numbers (as extracted, not quote-checked)
- Dilithium signing throughput on FPGA: 15832 messages per second
- Dilithium verification throughput on FPGA: 10524 signatures per second
- Signing LUTs on Virtex 7 UltraScale+: 68461 LUTs
- Signing FFs on Virtex 7 UltraScale+: 86295 FFs
- Verification LUTs on Virtex 7 UltraScale+: 61738 LUTs
- Verification FFs on Virtex 7 UltraScale+: 34963 FFs
- Signing speedup vs related HLS implementations: ca 114 times
For builders
Dilithium is hardware-feasible on FPGAs at high throughput, so hardware wallets or validators could offload signing and verification if needed.
Limits
Based on the ePrint abstract only; the full text was not reviewed. Results are FPGA-specific (Virtex 7 UltraScale+) and do not transfer directly to ASICs or CPUs.