SIDH on ARM: Faster Modular Multiplications for Faster Post-Quantum Supersingular Isogeny Key Exchange
Optimized SIDH/SIKE supersingular isogeny key exchange implementations for 32-bit ARMv7-A NEON and 64-bit ARMv8-A, using faster Montgomery multiplication.
Schemes: SIDH, SIKE, SIDHp503
Findings (quotes checked against the source text)
-
A full SIDHp503 key exchange runs in about 176 million cycles on ARM Cortex-A15 (about 88 ms at 2.0 GHz).
For example, a full key-exchange execution of SIDHp503 is performed in about 176 million cycles on an ARM Cortex-A15 from the ARMv7-A family (i.e., 88 milliseconds @2.0GHz).
-
On ARM Cortex-A72 (ARMv8-A), the same SIDHp503 key exchange takes about 90 million cycles (about 45 ms at 1.992 GHz).
On an ARM Cortex-A72 from the ARMv8-A family, the same operation can be carried out in about 90 million cycles (i.e., 45 milliseconds @1.992GHz).
-
The implementations are protected against timing and cache attacks.
All our software is protected against timing and cache attacks.
-
A new Montgomery reduction combining the UMAAL instruction with a hybrid-scanning variant is the main source of the speedup on ARMv7-A.
a new Montgomery reduction technique that combines the use of the UMAAL instruction with a variant of the hybrid-scanning approach.
Numbers (as extracted, not quote-checked)
- SIDHp503 full key exchange on Cortex-A15 (ARMv7-A, 2.0 GHz): about 176 million cycles, 88 ms
- SIDHp503 full key exchange on Cortex-A72 (ARMv8-A, 1.992 GHz): about 90 million cycles, 45 ms
For builders
SIDH/SIKE is a KEM building block with fast ARM implementations, but it is a non-lattice, non-hash option whose performance figures are for ARM only and should be checked against current SIKE status.
Limits
Based on the ePrint abstract only (full text not read); benchmarks are ARM-specific; SIDH/SIKE has since been broken by a 2022 key-recovery attack, which this 2018 paper does not cover.
Topics: kem implementation-sidechannel benchmarks