Skip to main content
QUICK REVIEW

[Paper Review] Stronger and Faster Side-Channel Protections for CSIDH

Daniel Cervantes-Vázquez, Mathilde Chenu|arXiv (Cornell University)|Jul 19, 2019
Cryptography and Residue ArithmeticComputer Science30 references48 citations
TL;DR

This paper proposes a faster and more secure constant-time implementation of CSIDH by fixing timing side-channel vulnerabilities in prior algorithms and introducing optimizations using Edwards arithmetic and optimal addition chains. It achieves a 39% performance improvement over prior work and introduces a dummy-free variant resistant to fault-injection attacks with only a twofold performance penalty.

ABSTRACT

CSIDH is a recent quantum-resistant primitive based on the difficulty of finding isogeny paths between supersingular curves. Recently, two constant-time versions of CSIDH have been proposed: first by Meyer, Campos and Reith, and then by Onuki, Aikawa, Yamazaki and Takagi. While both offer protection against timing attacks and simple power consumption analysis, they are vulnerable to more powerful attacks such as fault injections. In this work, we identify and repair two oversights in these algorithms that compromised their constant-time character. By exploiting Edwards arithmetic and optimal addition chains, we produce the fastest constant-time version of CSIDH to date. We then consider the stronger attack scenario of fault injection, which is relevant for the security of CSIDH static keys in embedded hardware. We propose and evaluate a dummy-free CSIDH algorithm. While these CSIDH variants are slower, their performance is still within a small constant factor of less-protected variants. Finally, we discuss derandomized CSIDH algorithms.

Motivation & Objective

  • Address timing and side-channel vulnerabilities in prior constant-time CSIDH implementations that were compromised by subtle flaws.
  • Improve the efficiency of constant-time CSIDH by optimizing isogeny formulas and using optimal addition chains for scalar multiplication.
  • Develop a dummy-free constant-time CSIDH variant resistant to fault-injection attacks, relevant for embedded hardware with static keys.
  • Explore derandomized CSIDH variants with stronger security guarantees, albeit at higher computational cost.
  • Provide a publicly available, optimized C implementation with performance measurements on standard hardware.

Proposed method

  • Identify and correct a flaw in the constant-time guarantees of Meyer–Campos–Reith and Onuki et al. by ensuring conditional operations do not leak through timing or power traces.
  • Apply projective Elligator and twisted Edwards arithmetic to accelerate isogeny computations and improve constant-time performance.
  • Implement optimal addition chains for scalar multiplication to reduce the number of field operations in isogeny evaluations.
  • Design a new constant-time CSIDH algorithm without dummy operations, relying on balanced computation paths to resist timing and simple power analysis.
  • Introduce a derandomized variant of CSIDH by eliminating dependence on PRNG seeds, enhancing resilience against PRNG compromise.
  • Evaluate all variants using field operation counts and cycle counts on an Intel i7-6700K CPU, comparing against [6], [21], and [26].

Experimental results

Research questions

  • RQ1What subtle flaws in prior constant-time CSIDH implementations undermine their timing side-channel resistance?
  • RQ2How can isogeny computation in CSIDH be optimized for constant-time performance using Edwards curve arithmetic and optimal addition chains?
  • RQ3Can a constant-time CSIDH variant be designed without dummy operations while maintaining resistance to timing and simple power analysis?
  • RQ4What is the performance overhead of a dummy-free CSIDH variant in the context of fault-injection attacks?
  • RQ5To what extent can derandomized CSIDH variants improve long-term security at the cost of increased computational overhead?

Key findings

  • The paper identifies and fixes a flaw in the constant-time claims of both Meyer–Campos–Reith and Onuki et al. implementations, which were vulnerable to timing side-channel leakage.
  • The optimized MCR-style implementation achieves a 39% performance improvement over the original Meyer–Campos–Reith implementation, reducing cycle count from 395 to 337 million cycles.
  • The OAYT-style implementation, based on Onuki et al., achieves a 59% reduction in field operation cost (ratio 0.59) compared to the baseline, with a 61% cycle count reduction.
  • The proposed dummy-free CSIDH variant is only 22% slower than the original Meyer–Campos–Reith implementation and less than twice as slow as the fastest optimized version.
  • The derandomized CSIDH variant increases quantum security by more than doubling the base field size, though it incurs a significant performance penalty and is incompatible with the original CSIDH.
  • All implementations, including the optimized and dummy-free variants, are publicly available at https://github.com/JJChiDguez/csidh, enabling reproducibility and further benchmarking.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.