Implementing Grover Oracles for Quantum Key Search on AES and LowMC
Samuel Jaques, Michael Naehrig, Martin Roetteler, Fernando Virdia
Abstract
Grover’s search algorithm gives a quantum attack against block ciphers by searching for a key that matches a small number of plaintext-ciphertext pairs. This attack uses minimal amsmath wasysym amsfonts amssymb amsbsy mathrsfs upgreek -69pt documentdocumentO(N) calls to the cipher to search a key space of size N. Previous work in the specific case of AES derived the full gate cost by analyzing quantum circuits for the cipher, but focused on minimizing the number of qubits. In contrast, we study the cost of quantum key search attacks under a depth restriction and introduce techniques that reduce the oracle depth, even if it requires more qubits. As cases in point, we design quantum circuits for the block ciphers AES and LowMC. Our circuits give a lower overall attack cost in both the gate count and depth-times-width cost models. In NIST’s post-quantum cryptography standardization process, security categories are defined based on the concrete cost of quantum key search against AES. We present new, lower cost estimates for each category, so our work has immediate implications for the security assessment of post-quantum cryptography. As part of this work, we release Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce our quantum resource estimates. To the best of our knowledge, these are the first two such full implementations and automatic resource estimations.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 974b2d24-826d-4437-a9d6-afc4128852a4Cited by top-tier papers4
- Shorter Signatures Based on Tailor-Made Minimalist Symmetric-Key CryptoChristoph Dobraunig, Daniel Kales, Christian Rechberger, Markus Schofnegger et al.CCS 2022 · 36 citations
- Simplified MITM Modeling for Permutations: New (Quantum) AttacksAndré Schrottenloher, Marc StevensCRYPTO 2022 · 31 citations
- Evaluating the Security of CRYSTALS-Dilithium in the Quantum Random Oracle ModelKelsey A. Jackson, Carl A. Miller, Daochen WangEUROCRYPT 2024 · 14 citations
- Quantum Lattice Enumeration in Limited DepthNina Bindel, Xavier Bonnetain, Marcel Tiepelt, Fernando VirdiaCRYPTO 2024 · 7 citations
Builds on1
Related papers
- Constructing Quantum Implementations with the Minimal T-depth or Minimal Width and Their ApplicationsZhenyu Huang, Fuxin Zhang, Dongdai LinEUROCRYPT 2025 · 7 citations
- Cryptanalysis of Full LowMC and LowMC-M with Algebraic TechniquesFukang Liu, Takanori Isobe, Willi MeierCRYPTO 2021 · 37 citations
- Beyond Quadratic Speedups in Quantum Attacks on Symmetric SchemesXavier Bonnetain, André Schrottenloher, Ferdinand SibleyrasEUROCRYPT 2022 · 32 citations
- The Cost to Break SIKE: A Comparative Hardware-Based Analysis with AES and SHA-3Patrick Longa, Wen Wang, Jakub SzeferCRYPTO 2021 · 13 citations
- Finding Hash Collisions with Quantum Computers by Using Differential Trails with Smaller Probability than Birthday BoundAkinori Hosoyamada, Yu SasakiEUROCRYPT 2020 · 78 citations
