Accelerating SLH-DSA by Two Orders of Magnitude with a Single Hash Unit
Hardware accelerator SLotH for FIPS 205 SLH-DSA using a single hash unit with padding and iterated-hash optimizations, plus side-channel analysis of CPU hashing leakage.
Schemes: SLH-DSA, SLotH, SPHINCS+, ECDSA, Dilithium, Keccak/SHAKE, SHA2-256, SHA2-512
Findings (quotes checked against the source text)
-
SLotH makes SLH-DSA many times faster than similarly-sized general-purpose hash accelerators by optimizing padding formats and iterative hashing specific to SLH-DSA.
We demonstrate that very significant overall performance gains can be obtained from hardware that optimizes the padding formats and iterative hashing processes specific to SLH-DSA.
-
SLotH's SHAKE variants are up to 300 times faster than unaccelerated microcontroller implementations.
Compared to unaccelerated microcontroller implementations, the performance of SLotH's SHAKE variants is up to $300\times$ faster;
-
SLH-DSA 's' parameter-set verification on SLotH is generally faster than accelerated ECDSA or Dilithium on similarly-sized root-of-trust targets.
We observe that the signature verification performance of SLH-DSA's ``s'' parameter sets is generally better than that of accelerated ECDSA or Dilithium on similarly-sized RoT targets.
-
An SLH-DSA implementation using CPU hashing rapidly leaks the SK.seed master key under side-channel analysis.
We show experimentally that an SLH-DSA implementation with CPU hashing will rapidly leak the SK.seed master key.
-
SHA2 parameter sets run at roughly half the speed of SHAKE parameter sets on SLotH.
The SHA2 parameter sets have approximately half of the speed of SHAKE parameter sets.
Numbers (as extracted, not quote-checked)
- SLotH 128f signature generation cycles: 4,903,978 cycles
- SLotH 128s signature verification cycles: 179,603 cycles
- SLotH area, SHA2 Cat 1 only: 63 kGE
- SLotH area, all parameter sets: 155 kGE
- Keccak Threshold Implementation added area: 130 kGE
- TVLA leakage assessment trace count: 100,000 traces
For builders
For on-chain or node signing with SLH-DSA, prefer hardware hash acceleration with side-channel protection over CPU hashing, since CPU hashing leaks SK.seed.
Limits
Targets RoT-class hardware (RISC-V control core, small area), not blockchain nodes; cycle counts are for its specific prototype; abstract-only reading, full text not reviewed.
Topics: sig-hash-based implementation-sidechannel benchmarks hash-functions standards-policy