AutoDiVer: Automatically Verifying Differential Characteristics and Learning Key Conditions

Marcel Nageler, Shibam Ghosh, Marlene Jüttler, Maria Eichlseder

Research output: Contribution to journalArticlepeer-review

Abstract

Differential cryptanalysis is one of the main methods of cryptanalysis and has been applied to a wide range of ciphers. While it is very successful, it also relies on certain assumptions that do not necessarily hold in practice. One of these is the hypothesis of stochastic equivalence, which states that the probability of a differential characteristic behaves similarly for all keys. Several works have demonstrated examples where this hypothesis is violated, impacting the attack complexity and sometimes even invalidating the investigated prior attacks. Nevertheless, the hypothesis is still typically taken for granted. In this work, we propose AutoDiVer, an automatic tool that allows to thoroughly verify differential characteristics. First, the tool supports calculating the expected probability of differential characteristics while considering the key schedule of the cipher. Second, the tool supports estimating the size of the space of keys for which the characteristic permits valid pairs, and deducing conditions for these keys. AutoDiVer implements a custom SAT modeling approach and takes advantage of a combination of features of advanced SAT solvers, including approximate model counting and clause learning. To show applicability to many different kinds of block ciphers like strongly aligned, weakly aligned, and ARX ciphers, we apply AutoDiVer to GIFT, PRESENT, RECTANGLE, SKINNY, Midori, WARP, SPECK, and SPEEDY.

Original languageEnglish
Pages (from-to)471-514
Number of pages44
JournalIACR Transactions on Symmetric Cryptology
Volume2025
Issue number1
DOIs
StatePublished - 7 Mar 2025

Bibliographical note

Publisher Copyright:
© 2025, Ruhr-University of Bochum. All rights reserved.

Keywords

  • Differential cryptanalysis
  • GIFT
  • Hypothesis of stochastic equivalence
  • Midori
  • SAT solver
  • SKINNY
  • SPECK
  • SPEEDY
  • Tool
  • WARP

ASJC Scopus subject areas

  • Software
  • Computer Science Applications
  • Computational Mathematics
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'AutoDiVer: Automatically Verifying Differential Characteristics and Learning Key Conditions'. Together they form a unique fingerprint.

Cite this