[Paper Review] Quantum impossible differential and truncated differential cryptanalysis
This paper proposes two quantum algorithms based on the Bernstein-Vazirani algorithm to find high-probability truncated differentials and impossible differentials in block ciphers. By treating multiple rounds as a single black-box function and leveraging quantum amplitude amplification, the algorithms achieve quadratic speedup over classical methods, enabling the discovery of more general impossible differentials without requiring probability-1 differential characteristics, thus improving post-quantum cryptanalysis of symmetric ciphers.
Traditional cryptography is suffering a huge threat from the development of quantum computing. While many currently used public-key cryptosystems would be broken by Shor's algorithm, the effect of quantum computing on symmetric ones is still unclear. The security of symmetric ciphers relies heavily on the development of cryptanalytic tools. Thus, in order to accurately evaluate the security of symmetric primitives in the post-quantum world, it is significant to improve classical cryptanalytic methods using quantum algorithms. In this paper, we focus on two variants of differential cryptanalysis: truncated differential cryptanalysis and impossible differential cryptanalysis. Based on the fact that Bernstein-Vazirani algorithm can be used to find the linear structures of Boolean functions, we propose two quantum algorithms that can be used to find high-probability truncated differentials and impossible differentials of block ciphers, respectively. We rigorously prove the validity of the algorithms and analyze their complexity. Our algorithms treat all rounds of the reduced cipher as a whole and only concerns the input and output differences at its both ends, instead of specific differential characteristics. Therefore, to a certain extent, they alleviate the weakness of conventional differential cryptanalysis, namely the difficulties in finding differential characteristics as the number of rounds increases.
Motivation & Objective
- To address the growing threat of quantum computing to symmetric cryptography by enhancing classical cryptanalytic techniques using quantum algorithms.
- To overcome the limitations of classical differential cryptanalysis, particularly the exponential difficulty in finding differential characteristics as the number of rounds increases.
- To develop quantum algorithms that can efficiently identify high-probability truncated differentials and impossible differentials in block ciphers without relying on probability-1 differential characteristics.
- To reduce the quantum attacker's requirements by avoiding the need for quantum oracle queries, enhancing practicality.
- To provide a foundation for designing quantum-secure symmetric primitives by improving the understanding of quantum cryptanalytic capabilities.
Proposed method
- The proposed method uses the Bernstein-Vazirani (BV) algorithm to identify linear structures in Boolean functions representing the input-output difference mappings of block ciphers.
- For truncated differential cryptanalysis, the algorithm treats the cipher's round function as a black-box function and applies BV to detect high-probability input-output difference pairs.
- For impossible differential cryptanalysis, the method constructs two functions representing forward and backward propagation of differences and uses BV to detect input-output pairs that cannot occur with probability 1.
- The approach avoids tracking individual differential characteristics across rounds by focusing only on end-to-end input and output differences, reducing complexity.
- The time complexity is reduced to O((r−2)(2n⁴ + nα log α)) for classical computation, with quantum speedup via amplitude amplification.
- The algorithms require only n + m + 1 qubits, reusing qubits across function evaluations, and do not require quantum oracle access, making them more practical.
Experimental results
Research questions
- RQ1Can quantum algorithms be used to find high-probability truncated differentials in block ciphers more efficiently than classical methods?
- RQ2Can the Bernstein-Vazirani algorithm detect impossible differentials without requiring the existence of probability-1 differential characteristics?
- RQ3How does the proposed quantum approach compare in efficiency and generality to classical miss-in-the-middle techniques for impossible differential cryptanalysis?
- RQ4Can the quantum algorithm discover key-independent differentials, improving the scope of cryptanalytic applicability?
- RQ5What is the resource cost (qubits, time, data) of applying quantum algorithms to symmetric cryptanalysis in the post-quantum setting?
Key findings
- The proposed quantum algorithm for truncated differential cryptanalysis can identify high-probability input-output difference pairs with a time complexity of O((r−2)(2n⁴ + nα log α)) for classical computation, achieving a quadratic speedup via amplitude amplification.
- The algorithm for impossible differential cryptanalysis detects general impossible differentials by analyzing end-to-end difference propagation without requiring intermediate probability-1 differential characteristics, thus finding more general cases than classical methods.
- The method requires only n + m + 1 qubits, as qubits are reused across evaluations, reducing physical resource demands.
- The algorithms do not require quantum oracle access, making them more practical than previous quantum attacks that rely on Q2-type queries.
- For any block cipher satisfying δ′_E^(r−1) ≤ p₀ < 1, if the classical miss-in-the-middle technique can find an impossible differential, the proposed algorithm can also find one, demonstrating broader applicability.
- The key-independent nature of the impossible differentials found by the algorithm enhances its utility compared to classical methods, which often depend on key-specific characteristics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.