Quantum evaluating isogenies in CSIDH

[This post is based on a talk by Daniel Bernstein at the SIAM Conference on Applied Algebraic Geometry at 10/7/2019] 

Roughly seven years after the discovery of the isogeny-based key exchange protocol SIDH, a new primitive based on isogenies was discussed in a paper by Castryck, Lange, Martindale, Panny, and Renes [1]. The primitive is called CSIDH, where the C stands for commutative, and it can be executed in time only slightly slower than SIDH. In essence, CSIDH works with the supersingular elliptic curves defined over \( \mathbb{F}_p \) instead of those defined over \( \mathbb{F}_{p^2}\). One of the advantages of CSIDH is that it allows for non-interactive key exchange, and also gives rise to the possibility of efficient isogeny-based signatures [2].

The SIDH protocol relies on exchanging more information than in a typical Diffie-Hellman key exchange, which may make some people worry that it is somewhat less secure than alternative options. CSIDH doesn’t need this extra information, but on the flip side, Kuperberg/Regev’s hidden-shift algorithm can be applied to it. This algorithm provides an attack with \( \exp((\log N)^{1/2 + o(1)}) \) queries, and \( \exp((\log N)^{1/2 + o(1)}) \) operations on \( \exp((\log N)^{1/2 + o(1)}) \) qubits. Note that even though this is ‘only’ a subexponential attack, we still need to take it into account to set parameters for the security of CSIDH in a post-quantum world.

In the original CSIDH paper, the basic security level was called CSIDH-512, using a roughly 512 bit prime \(p.\) Bonnetain and Schrottenloher [3] did an early attempt at estimating the security level of these parameters, claiming they needed \(2^{71}\) quantum gates to break CSIDH-512, where each query uses \(2^{37}\) quantum gates.

In a recent 56-page long paper by Bernstein, Lange, Martindale and Panny [4], they remark how this estimate is very negative from a security point of view, and is overlooking a decent amount of costly computations, such as having to evaluate isogenies in superposition. They provide an in-depth look at the fine details, and explain how one can compute CSIDH-512 with roughly \(0.7\cdot 2^{40}\) nonlinear bit operations, with a failure probability of less than \(2^{-32}.\) With their newly found cost of each query, they estimate that an attack would require a total cost of at least \(2^{80}.\)

Note that the paper focuses on optimizing the number of bit operations, whereas typically the literature focuses on the amount of qubits needed. As per usual, trade-offs can be made between computing power and memory. Additionally, practical considerations for large-scale quantum computers make it such that the actual cost of queries will most likely be considerably larger than they estimate, making CSIDH a lot more secure than previously thought.

References:[1] Wouter Castryck, Tanja Lange, Chloe Martindale, Lorenz Panny, and Joost Renes. CSIDH: An efficient post-quantum commutative group action. https://eprint.iacr.org/2018/383.pdf

[1] Wouter Castryck, Tanja Lange, Chloe Martindale, Lorenz Panny, and Joost Renes. CSIDH: An efficient post-quantum commutative group action. https://eprint.iacr.org/2018/383.pdf

[2] Ward Beullens, Thorsten Kleinjung, and Frederik Vercauteren. CSI-FiSh: Efficient Isogeny based Signatures through Class Group Computations. https://eprint.iacr.org/2019/498.pdf

[3] Xavier Bonnetain and André Schrottenloher. Submerging CSIDH. https://eprint.iacr.org/2018/537.pdf

[4] Daniel Bernstein, Tanja Lange, Chloe Martindale and Lorenz Panny. Quantum circuits for the CSIDH: optimizing quantum evaluations of isogenies. https://quantum.isogenies.org/qisog-20190305.pdf