Standard Lattice-Based Key Encapsulation on Embedded Devices
Implements FrodoKEM, a standard-lattice LWE key encapsulation scheme, on a low-cost FPGA and microcontroller to show it is practical on constrained devices.
Schemes: FrodoKEM, FrodoCCS
Findings (quotes checked against the source text)
-
FrodoKEM's parameters make standard-lattice key encapsulation feasible on constrained devices, previously considered impractical.
The FrodoKEM proposal actually comes with parameters that bring standard lattice-based cryptography within reach of being feasible on constrained devices.
-
FPGA decapsulation, the most expensive operation, runs at 162 MHz max clock in 20.7 ms using 7,220 LUTs and 16 block RAMs.
Our FPGA implementation of the decapsulation (the computationally most expensive operation) needs 7,220 look-up tables (LUTs), 3,549 flip-flops (FFs), a single DSP, and only 16 block RAM modules.
-
Microcontroller implementation reduces peak stack usage by 66% relative to the reference implementation.
Our microcontroller implementation has a 66% reduced peak stack usage in comparison to the reference implementation
Numbers (as extracted, not quote-checked)
- FPGA maximum clock frequency: 162 MHz
- FPGA decapsulation time: 20.7 ms
- FPGA LUTs / FFs / block RAMs / DSPs: 7,220 LUTs, 3,549 FFs, 16 BRAM modules, 1 DSP
- Microcontroller peak stack reduction vs reference: 66%
- Microcontroller key pair generation time: 266 ms
For builders
Standard-lattice KEMs like FrodoKEM are viable on small hardware, so a PQ chain's key exchange layer need not assume large-hardware budgets.
Limits
Based on the ePrint abstract only; full text not read. Abstract reports encapsulation time as 284 ms and 286 ms, which appears to be a typo for decapsulation or duplication.
Topics: kem sig-lattice implementation-sidechannel benchmarks