Implementing Grover Oracles for Quantum Key Search on AES and LowMC
- 1 May 2020
- book chapter
- Published by Springer Nature
- Vol. 12106, 280-310
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 \(O(\sqrt{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.
Keywords
All Related Versions
This publication has 34 references indexed in Scilit:
- Efficient distributed quantum computingProceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 2013
- Quantum circuits of-depth onePhysical Review A, 2013
- Surface codes: Towards practical large-scale quantum computationPhysical Review A, 2012
- A Small Depth-16 Circuit for the AES S-Box2012
- Mixed Bases for Efficient Inversion in ${{\mathbb F}{((2^2)^2)}{2}}$ and Conversion Matrices of SubBytes of AES2010
- A Compact Rijndael Hardware Architecture with S-Box Optimization2001
- Grover’s quantum searching algorithm is optimalPhysical Review A, 1999
- Tight Bounds on Quantum SearchingFortschritte der Physik, 1998
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum ComputerSIAM Journal on Computing, 1997
- A fast algorithm for computing multiplicative inverses in GF(2m) using normal basesInformation and Computation, 1988