Haraka v2 - Efficient Short-Input Hashing for Post-Quantum Applications
Proposes Haraka v2, two AES-instruction-based short-input compression functions for fast hashing in hash-based signatures like SPHINCS and XMSS.
Schemes: Haraka v2, SPHINCS, XMSS
Findings (quotes checked against the source text)
-
Haraka v2 targets short fixed-length inputs, which are the bottleneck in hash-based signature schemes like SPHINCS or XMSS.
Such hash functions are the bottleneck in hash-based signature schemes like SPHINCS or XMSS, which is currently under standardization.
-
Using AES instructions on modern CPUs, the proposals are claimed to be the fastest on such platforms for short inputs.
By utilizing AES instructions on modern CPUs, our proposals are the fastest on such platforms, reaching throughputs below one cycle per hashed byte even for short inputs, while still having a very low latency of less than 60 cycles.
-
The number of rounds can be reduced only a little when only second-preimage resistance, not collision resistance, is required.
First, we study whether the number of rounds for our hash functions can be reduced, if only second-preimage resistance (and not collision resistance) is required.
-
The authors develop a tool-based method to argue against truncated-differential attacks, including rebound attacks, beyond S-box counting.
We develop a general tool-based method to include arguments against attack vectors using truncated differentials.
Numbers (as extracted, not quote-checked)
- Throughput for short inputs: below one cycle per hashed byte
- Latency: less than 60 cycles
For builders
Haraka-style AES-based short-input hashing is a candidate fast primitive for hash-based signature tree hashing, but its security margin should be checked against the paper's cryptanalysis before use.
Limits
Abstract-only summary; full text not read. Speed claims are for AES-NI platforms; the paper's security arguments and round-reduction conclusions are not verified here.
Topics: hash-functions sig-hash-based implementation-sidechannel benchmarks