Saber on ESP32
Implements Saber KEM on ESP32 microcontroller, using its big-integer coprocessor for polynomial multiplication and dual cores for parallel execution.
Schemes: Saber, Kyber
Findings (quotes checked against the source text)
-
Using the big integer coprocessor for polynomial multiplication speeds up Saber on ESP32 with lower software overhead.
We propose an improved implementation utilizing the big integer coprocessor for the polynomial multiplications in Saber, which contains significant lower software overhead and takes a better advantage of the big integer coprocessor on ESP32.
-
Single-core Saber on ESP32 takes about 1639K, 2123K, 2193K cycles for keygen, encapsulation, decapsulation.
our single-core version implementation of Saber takes 1639K, 2123K, 2193K clock cycles on ESP32 for key generation, encapsulation and decapsulation respectively.
-
Dual-core Saber on ESP32 reduces cycle counts by rearranging steps and running tasks in parallel on both cores.
we speed up the implementation of Saber by rearranging the computing steps and assigning proper tasks to two cores executing in parallel.
-
Dual-core version takes about 1176K, 1625K, 1514K cycles for keygen, encapsulation, decapsulation.
Our dual-core version implementation takes 1176K, 1625K, 1514K clock cycles for key generation, encapsulation and decapsulation respectively.
Numbers (as extracted, not quote-checked)
- Saber single-core keygen cycles on ESP32: 1639K clock cycles
- Saber single-core encapsulation cycles on ESP32: 2123K clock cycles
- Saber single-core decapsulation cycles on ESP32: 2193K clock cycles
- Saber dual-core keygen cycles on ESP32: 1176K clock cycles
- Saber dual-core encapsulation cycles on ESP32: 1625K clock cycles
- Saber dual-core decapsulation cycles on ESP32: 1514K clock cycles
For builders
Embedded IoT nodes can run Saber KEM at practical speed on ESP32 by offloading polynomial multiplication to the big-integer coprocessor, useful only if the chain targets constrained devices.
Limits
Based on the abstract only; full text not read. Results are ESP32-specific cycle counts, with no side-channel or security-level analysis stated in the abstract.
Topics: kem implementation-sidechannel benchmarks