TY - JOUR AU - Grassi, Lorenzo AU - Rechberger, Christian AU - Schofnegger, Markus PY - 2021/06/11 Y2 - 2024/03/28 TI - Proving Resistance Against Infinitely Long Subspace Trails: How to Choose the Linear Layer JF - IACR Transactions on Symmetric Cryptology JA - ToSC VL - 2021 IS - 2 SE - Articles DO - 10.46586/tosc.v2021.i2.314-352 UR - https://tosc.iacr.org/index.php/ToSC/article/view/8913 SP - 314-352 AB - <p>Designing cryptographic permutations and block ciphers using a substitutionpermutation network (SPN) approach where the nonlinear part does not cover the entire state has recently gained attention due to favorable implementation characteristics in various scenarios.<br>For word-oriented partial SPN (P-SPN) schemes with a fixed linear layer, our goal is to better understand how the details of the linear layer affect the security of the construction. In this paper, we derive conditions that allow us to either set up or prevent attacks based on infinitely long truncated differentials with probability 1. Our analysis is rather broad compared to earlier independent work on this problem since we consider (<em>1</em>) both invariant and non-invariant/iterative trails, and (<em>2</em>) trails with and without active S-boxes.<br>For these cases, we provide rigorous sufficient and necessary conditions for the matrix that defines the linear layer to prevent the analyzed attacks. On the practical side, we present a tool that can determine whether a given linear layer is vulnerable based on these results. Furthermore, we propose a sufficient condition for the linear layer that, if satisfied, ensures that no infinitely long truncated differential exists. This condition is related to the degree and the irreducibility of the minimal polynomial of the matrix that defines the linear layer. Besides P-SPN schemes, our observations may also have a crucial impact on the Hades design strategy, which mixes rounds with full S-box layers and rounds with partial S-box layers.</p> ER -