A Faster Constant-time Algorithm of CSIDH keeping Two Points
Proposes a faster constant-time CSIDH key-exchange algorithm using symmetric secret-exponent intervals and two torsion points, cutting cost ~28% versus Meyer et al.
Schemes: CSIDH
Findings (quotes checked against the source text)
-
Constant-time CSIDH via dummy isogenies with non-negative exponent intervals costs about twice the worst case of the variable-time implementation.
Their non-negative intervals make the calculation cost of their implementation of CSIDH twice that of the worst case of the standard (variable-time) implementation of CSIDH.
-
Symmetric exponent intervals with two kept torsion points reduce operation cost by 28.23% versus Meyer et al.'s constant-time CSIDH.
Our evaluation shows that our constant-time implementation of CSIDH reduces the calculation cost by 28.23% compared with the implementation by Mayer et al.
-
The algorithm was implemented in C by extending Meyer et al.'s code and runs about 29% faster in clock cycles.
Then our implementation achieved 152.8 million clock cycles, which is about 29.03% faster than that of Meyer et al. and confirms the above reduction ratio in our cost evaluation.
-
The original CSIDH implementation by Castryck et al. was not constant-time, leaking part of the secret key to side-channel attacks.
However, the implementation by Castryck et al. is not constant-time.
Numbers (as extracted, not quote-checked)
- Calculation cost reduction vs Meyer et al. (field operations): 28.23%
- Clock cycles for the new constant-time CSIDH implementation: 152.8 million
- Speedup in clock cycles vs Meyer et al.: 29.03%
For builders
If using CSIDH for a PQ key exchange, prefer symmetric-interval constant-time exponent sampling over Meyer et al.'s non-negative intervals to cut side-channel-safe cost.
Limits
Based on the ePrint abstract only (full text not read); CSIDH is an isogeny KEM, not a signature, and the gains are cost ratios for one implementation.
Topics: kem implementation-sidechannel benchmarks other-chain-migration