XMSS and Embedded Systems - XMSS Hardware Accelerators for RISC-V
Software-hardware co-design of XMSS (hash-based PQ signatures) on a RISC-V processor with hardware accelerators, measured on an Intel Cyclone V FPGA.
Schemes: XMSS, SHA-256, RISC-V
Findings (quotes checked against the source text)
-
Hardware accelerators on RISC-V cut XMSS key-pair generation to 3.44 s for 2^10 signatures, a claimed 54x wall-clock speedup over pure software.
By integrating our hardware accelerators into the RISC-V processor, the version with the best time-area product generates a key pair (that can be used to generate 2^10 signatures) in 3.44s achieving an over 54x speedup in wall-clock time compared to the pure software version.
-
With the best accelerated version, XMSS signing is under 10 ms and verification under 6 ms, with claimed speedups of 42x and 17x.
For such a key pair, signature generation takes less than 10 ms and verification takes less than 6 ms, bringing speedups of over 42x and 17x respectively.
-
The authors conclude that embedded systems with scheme-specific accelerators can practically use XMSS.
This shows that embedded systems equipped with scheme-specific hardware accelerators are able to practically use XMSS.
-
Results come from an FPGA prototype: cycle counts were measured on an Intel Cyclone V SoC FPGA.
We tested and measured the cycle count of our implementation on an Intel Cyclone V SoC FPGA.
Numbers (as extracted, not quote-checked)
- XMSS key-pair generation time (accelerated, 2^10 signatures): 3.44 s
- Key-pair generation speedup vs pure software (wall-clock): over 54x
- XMSS signature generation time (accelerated): less than 10 ms
- XMSS verification time (accelerated): less than 6 ms
- Signature generation speedup: over 42x
- Verification speedup: over 17x
For builders
If a PQ chain needs hash-based signatures on constrained hardware, this shows XMSS signing and verification can be made fast with scheme-specific accelerators, but the state management is still the operator's problem.
Limits
Stateful scheme, SHA-256 parameter sets only, FPGA prototype rather than ASIC; based on the ePrint abstract only, full text not reviewed.
Topics: sig-hash-based sig-stateful hash-functions benchmarks implementation-sidechannel