|Fixing and Mechanizing the Security Proof of Fiat-Shamir with Aborts and Dilithium
|Year of Publication
|Barbosa, M, Barthe, G, Doczkal, C, Don, J, Fehr, S, Grégoire, B, Huang, Y-H, Hülsing, A, Lee, Y, Wu, X
|Handschuh, H, Lysyanskaya, A
|Advances in Cryptology – CRYPTO 2023
|Springer Nature Switzerland
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.