Paper 2026/2999

Evaluating CNF/SMT Encodings for SAT-Based Differential Cryptanalysis of Lightweight Block Ciphers

Marzieh Vahid Dastjerdi, Department of Mathematics, Institute for Advanced Studies in Basic Sciences (IASBS), Zanjan, Iran, Computer Science Group, Research Center for Development of Advanced Technologies, Tehran, Iran
Majid Rahimi, Computer Science Group, Research Center for Development of Advanced Technologies, Tehran, Iran
Iman Mirzaali Mazandarani, Computer Science Group, Research Center for Development of Advanced Technologies, Tehran, Iran, CPS2 Lab, Department of Communication, Faculty of Electrical Engineering, Shahid Rajaee Teacher Training University, Tehran, Iran
Sadegh Sadeghi, Department of Mathematics, Institute for Advanced Studies in Basic Sciences (IASBS), Zanjan, Iran
Abstract

This study evaluates three encoding methods for automated differential cryptanalysis: (1) SMT formulations (using CVC), (2) standard CNF, and (3) size-optimized CNF (via Logic Friday). We assess these using four SAT/SMT solver types: single-core (CryptoMiniSat-v5, CaDiCaL), multi-core (Treengeling), and massively parallel Mallob—novel to cryptanalysis. Encoding-solver combinations are tested on seven lightweight block ciphers representing distinct design philosophies: SPECK-32 and CHAM-64 (ARX structure), SIMON-32 (AND-RX structure), PRESENT, GIFT-128, and MIDORI-64 (4-bit S-box in SPN structure), and LBLOCK (Feistel structure). For each cipher, SAT/SMT instances targeting specific rounds/differential weights were generated, with wall-clock solving time, parallel efficiency, and modeling effort measured. Our results establish criteria for optimal encoding-solver pairings that strike a balance between modeling simplicity and computational performance. Crucially, Mallob emerges as the state-of-the-art framework for large-scale automated differential cryptanalysis.

Note: Presented at the ISCISC’2025. https://doi.org/10.22042/isecure.2026.242936

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published elsewhere. Isecure Journal
DOI
10.22042/isecure.2026.242936
Keywords
Automated CryptanalysisCNFSMTCVCDifferential CryptanalysisLightweight Block Cipher
Contact author(s)
dastjerdi @ rcdat ac ir
rahimi @ rcdat ac ir
iman mirzaali @ sru ac ir
s sadeghi @ iasbs ac ir
History
2026-11-23: approved
2026-11-23: received
See all versions
Short URL
https://ia.cr/2026/2999
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2999,
      author = {Marzieh Vahid Dastjerdi and Majid Rahimi and Iman Mirzaali Mazandarani and Sadegh Sadeghi},
      title = {Evaluating {CNF}/{SMT} Encodings for {SAT}-Based Differential Cryptanalysis of Lightweight Block Ciphers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2999},
      year = {2026},
      doi = {10.22042/isecure.2026.242936},
      url = {https://eprint.iacr.org/2026/2999}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.