On Lions and Elligators: An efficient constant-time implementation of CSIDH
Gives a constant-time, side-channel-resistant implementation of CSIDH, a small-key post-quantum isogeny key exchange, using dummy isogenies and Elligator optimizations.
Schemes: CSIDH, Elligator, SIMBA
Findings (quotes checked against the source text)
-
Prior CSIDH implementations were variable-time and can leak information about the private key, so a constant-time version is needed.
However, until now there is only a variable-time proof-of-concept implementation by Castryck, Lange, Martindale, Panny, and Renes, recently optimized by Meyer and Reith, which can leak various information about the private key.
-
Constant-time CSIDH samples key elements only from nonnegative intervals and uses dummy isogenies to block certain side-channel attacks.
Therefore, we present an efficient constant-time implementation that samples key elements only from intervals of nonnegative numbers and uses dummy isogenies, which prevents certain kinds of side-channel attacks.
-
Elligator and the newly introduced SIMBA are used to make the constant-time CSIDH implementation more efficient.
We apply several optimizations, e.g. Elligator and the newly introduced SIMBA, in order to get a more efficient implementation.
For builders
If CSIDH is used for key exchange in a chain, use a constant-time implementation with dummy isogenies rather than the original variable-time proof-of-concept code.
Limits
Based on the ePrint abstract only; full text not read, so no performance numbers or security analysis are included. Relevant to key exchange, not signatures.
Topics: kem implementation-sidechannel benchmarks