Time-memory Trade-offs for Saber+ on Memory-constrained RISC-V
Implements a tweaked Saber KEM ('Saber+') on a 16KB RISC-V microcontroller using NTT merging and on-the-fly matrix generation to cut memory and cycles.
Schemes: Saber, Saber+, NTT, incomplete-NTT
Findings (quotes checked against the source text)
-
Saber+ uses different generation methods for public matrix A and secret vector s, giving lower memory use and better speed than original Saber.
we use different generation methods of public matrix (\boldsymbol{A}) and secret vector (\boldsymbol{s}) for memory optimization.
-
Saber+ on a 16KB RISC-V microcontroller achieves 48% performance improvement over the best memory-optimized original Saber implementation.
achieves 48\% performance improvement compared with the best state-of-the-art memory-optimized implementation of original Saber.
-
On-the-fly generation of A and s yields a low memory footprint, and combining optimizations explores time-memory trade-offs.
An improved on-the-fly generation strategy of the public matrix and secret vector in Saber+ results in low memory footprint.
Numbers (as extracted, not quote-checked)
- Key generation cycle count on selected RISC-V core: 3,809K clock cycles
- Encapsulation cycle count on selected RISC-V core: 3,594K clock cycles
- Decapsulation cycle count on selected RISC-V core: 3,193K clock cycles
- Peak stack usage: 4.8KB
- Memory available on target RISC-V microcontroller: 16KB
For builders
Lattice KEM implementations for constrained nodes can trade memory for cycles via on-the-fly matrix generation, but this is an IoT KEM result, not a chain design.
Limits
Only the ePrint abstract was provided; relevance is limited to KEM implementation on constrained hardware, not blockchain signatures or migration.
Topics: kem implementation-sidechannel benchmarks