Optimized Implementations of Keccak, Kyber, and Dilithium on the MSP430 Microcontroller
Optimizes CRYSTALS-Kyber and Dilithium plus Keccak on the 16-bit MSP430 microcontroller via redesigned NTT, layer merging, and memory-access techniques, reporting speedups over C references.
Schemes: CRYSTALS-Kyber, CRYSTALS-Dilithium, Keccak, NTT
Findings (quotes checked against the source text)
-
Optimized 16-bit NTT on MSP430 improves NTT, inverse NTT, and pointwise multiplication by 134%, 249%, and 210% over C reference implementations.
the optimized 16-bit NTT achieves performance improvements of 134%, 249%, and 210% for NTT, inverse NTT, and point-wise multiplication, respectively
-
Optimized 32-bit NTT on MSP430 improves NTT, inverse NTT, and pointwise multiplication by 91%, 96%, and 56% over C reference implementations.
while the optimized 32-bit NTT achieves performance improvements of 91%, 96%, and 56% for NTT, inverse NTT, and point-wise multiplication, respectively
-
Optimized Keccak with twisting and zig-zag memory-access techniques improves performance by 57% over the C reference on MSP430.
the optimized Keccak achieves a performance improvement of 57%
-
Kyber and Dilithium implementations on MSP430 gain 46.1%-62.3% in KeyGen, Encaps, Decaps and 44.5%-65.0% in KeyGen, Sign, Verify relative to C references.
our Kyber and Dilithium implementations achieve performance improvements of 46.1%–51.3%, 45.6%–60.0%, and 46.2%–62.3% for key generation (KeyGen), encapsulation (Encaps), and decapsulation (Decaps), respectively
Numbers (as extracted, not quote-checked)
- Optimized 16-bit NTT speedup vs C reference (NTT / inverse NTT / pointwise mult): 134% / 249% / 210%
- Optimized 32-bit NTT speedup vs C reference (NTT / inverse NTT / pointwise mult): 91% / 96% / 56%
- Optimized Keccak speedup vs C reference: 57%
- Kyber KeyGen / Encaps / Decaps speedup vs C reference: 46.1%–51.3% / 45.6%–60.0% / 46.2%–62.3%
- Dilithium KeyGen / Sign / Verify speedup vs C reference: 44.5%–48.3% / 57.5%–65.0% / 46.1%–50.0%
For builders
For constrained 16-bit MCUs in an IoT or embedded PQ chain client, the NTT layer-merging and Keccak memory-access techniques are reusable optimization patterns.
Limits
Abstract-only record (full text not read); results are speedups over C reference, not absolute cycle counts or memory footprints; MSP430 is a niche target and no side-channel evaluation is mentioned.
Topics: kem sig-lattice hash-functions implementation-sidechannel benchmarks