[BBD+23] Fixing and Mechanizing the Security Proof of Fiat-Shamir with Aborts and Dilithium

Authors: Manuel Barbosa, Gilles Barthe, Christian Doczkal, Jelle Don, Serge Fehr, Benjamin Grégoire, Yu-Hsuan Huang, Andreas Hülsing, Yi Lee, Xiaodi Wu | Venue: CRYPTO 2023 | Source

Abstract

We extend and consolidate the security justification for the Dilithium signature scheme. In particular, we identify a subtle but crucial gap that appears in several ROM and QROM security proofs for signature schemes that are based on the Fiat-Shamir with aborts paradigm, including Dilithium. The gap lies in the CMA-to-NMA reduction and was uncovered when trying to formalize a variant of the QROM security proof by Kiltz, Lyubashevsky, and Schaffner (Eurocrypt 2018). The gap was confirmed by the authors, and there seems to be no simple patch for it. We provide new, fixed proofs for the affected CMA-to-NMA reduction, both for the ROM and the QROM, and we perform a concrete security analysis for the case of Dilithium to show that the claimed security level is still valid after addressing the gap. Furthermore, we offer a fully mechanized ROM proof for the CMA-security of Dilithium in the EasyCrypt proof assistant. Our formalization includes several new tools and techniques of independent interest for future formal verification results.

BibTeX

@Inproceedings{C:BBDDFG23,
  author = {Manuel Barbosa and Gilles Barthe and Christian Doczkal and Jelle Don and Serge Fehr and Benjamin Gr{\'e}goire and Yu-Hsuan Huang and Andreas H{\"u}lsing and Yi Lee and Xiaodi Wu},
  title = {Fixing and Mechanizing the Security Proof of {Fiat}-{Shamir} with Aborts and {Dilithium}},
  pages = {358--389},
  editor = {Helena Handschuh and Anna Lysyanskaya},
  booktitle = {Advances in Cryptology -- {CRYPTO}~2023, Part~V},
  volume = {14085},
  series = {Lecture Notes in Computer Science},
  address = {Santa Barbara, CA, USA},
  month = {aug~20--24},
  publisher = {Springer, Cham, Switzerland},
  year = {2023},
  doi = {10.1007/978-3-031-38554-4_12},
}