Can FrodoKEM Run in a Millisecond? FPGA Says Yes!
FPGA design parallelizing FrodoKEM-640 matrix multiplication while keeping SHAKE as PRNG per spec, reaching about 1 ms latency on Artix-7.
Schemes: FrodoKEM, FrodoKEM-640, SHAKE, Trivium
Findings (quotes checked against the source text)
-
Specification-compliant FrodoKEM-640 FPGA design achieves 976-1077 operations per second, i.e. 0.93-1.02 ms latency on Artix-7.
achieving 976-1077 operations per second, i.e., latencies of 0.93-1.02 ms.
-
Design uses 24 parallel multipliers for key generation and 32 for encapsulation and decapsulation.
with 24 parallel multipliers for key generation and 32 for encapsulation and decapsulation
-
SHAKE as the PRNG is not a barrier to parallel matrix multiplication, contrary to prior work that swapped SHAKE for Trivium.
The design shows that SHAKE is not a barrier to parallel matrix multiplication
-
Prior high-throughput work replaced SHAKE with Trivium, making it incompatible with the FrodoKEM specification.
replaced it with the Trivium stream cipher, which renders the implementation incompatible with the FrodoKEM specification.
Numbers (as extracted, not quote-checked)
- FrodoKEM-640 key generation / encaps / decaps latency: 0.93-1.02 ms
- FrodoKEM-640 throughput: 976-1077 operations per second
- Parallel multipliers, key generation: 24
- Parallel multipliers, encapsulation and decapsulation: 32
For builders
FrodoKEM is a conservative unstructured-LWE KEM option for a PQ chain's key exchange, and this shows spec-compliant SHAKE-based hardware is fast enough.
Limits
FPGA latency on Artix-7 only for FrodoKEM-640; not a blockchain system, no signatures, and the paper is abstract-only here so full details are unverified.
Topics: kem implementation-sidechannel benchmarks