Paper 2025/073

Conditional Constant Function Problem and Its Quantum Solutions: Attacking Feistel Ciphers

Zhenqiang Li, State Key Laboratory of Cryptology, Beijing 100878, China
Shuqin Fan, State Key Laboratory of Cryptology, Beijing 100878, China
Fei Gao, State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications, Beijing 100876, China
Yonglin Hao, State Key Laboratory of Cryptology, Beijing 100878, China
Xichao Hu, State Key Laboratory of Cryptology, Beijing 100878, China
Linchun Wan, School of Computer and Information Science, Southwest University, Chongqing 400715, China
Hongwei Sun, School of Computer and Big Data, Heilongjiang University (School of Cybersecurity), Harbin 150080, China
Qi Su, State Key Laboratory of Cryptology, Beijing 100878, China
Abstract

In this paper, we define the conditional constant function problem (CCFP) and, for a special case of CCFP, we propose a quantum algorithm for solving it efficiently. Such an algorithm enables us to make new evaluations to the quantum security of Feistel block cipher in the case where a quantum adversary only has the ability to make online queries in a classical manner, which is relatively realistic. Specifically, we significantly improved the chosen-plaintext key recovery attacks on two Feistel block cipher variants known as Feistel-KF and Feistel-FK. For Feistel-KF, we construct a 3-round distinguisher based on the special case of CCFP and propose key recovery attacks mounting to $r>3$ rounds. For Feistel-FK, our CCFP based distinguisher covers 4 rounds and the key recovery attacks are applicable for $r>4$ rounds. Utilizing our CCFP solving algorithm, we are able to reduce the classical memory complexity of our key recovery attacks from the previous exponential $O(2^{cn})$ to $O(1)$. The query complexity of our key recovery attacks on Feistel-KF is also significantly reduced from $O(2^{cn})$ to $O(1)$ where $c$'s are constants. Our key recovery results enjoy the current optimal complexities. They also indicate that quantum algorithms solving CCFP could be more promising than those solving the period finding problem.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Feistelchosen-plaintextclassical queriesGrover's algorithmconstant function
Contact author(s)
lizhenqiang92 @ 163 com
fansq @ sklc org
History
2025-01-17: approved
2025-01-17: received
See all versions
Short URL
https://ia.cr/2025/073
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/073,
      author = {Zhenqiang Li and Shuqin Fan and Fei Gao and Yonglin Hao and Xichao Hu and Linchun Wan and Hongwei Sun and Qi Su},
      title = {Conditional Constant Function Problem and Its  Quantum Solutions: Attacking Feistel Ciphers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/073},
      year = {2025},
      url = {https://eprint.iacr.org/2025/073}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.