International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Propagation of Subspaces in Primitives with Monomial Sboxes: Applications to Rescue and Variants of the AES

Authors:
Aurélien Boeuf , Inria, Paris, France
Anne Canteaut , Inria, Paris, France
Léo Perrin , Inria, Paris, France
Download:
DOI: 10.46586/tosc.v2023.i4.270-298
URL: https://tosc.iacr.org/index.php/ToSC/article/view/11288
Search ePrint
Search Google
Award: FSE 2024 best paper award
Abstract: Motivated by progress in the field of zero-knowledge proofs, so-called Arithmetization-Oriented (AO) symmetric primitives have started to appear in the literature, such as MiMC, Poseidon or Rescue. Due to the design constraints implied by this setting, these algorithms are defined using simple operations over large (possibly prime) fields. In particular, many rely on simple low-degree monomials for their non-linear layers, essentially using x ↦ x3 as an S-box.In this paper, we show that the structure of the material injected in each round (be it subkeys in a block cipher or round constants in a public permutation) could allow a specific pattern, whereby a well-defined affine space is mapped to another by the round function, and then to another, etc. Such chains of one-dimensional subspaces always exist over 2 rounds, and they can be extended to an arbitrary number of rounds, for any linear layer, provided that the round-constants are well chosen.As a consequence, for several ciphers like Rescue, or a variant of AES with a monomial Sbox, there exist some round-key sequences for which the cipher has an abnormally high differential uniformity, exceeding the size of the Sbox alphabet.Well-known security arguments, in particular based on the wide-trail strategy, have been reused in the AO setting by many designers. Unfortunately, our results show that such a traditional study may not be sufficient to guarantee security. To illustrate this, we present two new primitives (the tweakable block cipher Snare and the permutation-based hash function Stir) that are built using state-of-the-art security arguments, but which are actually deeply flawed. Indeed, the key schedule of Snare ensures the presence of a subspace chain that significantly simplifies an algebraic attack against it, and the round constants of Stir force the presence of a subspace chain aligned with the rate and capacity of the permutation. This in turns implies the existence of many easy-to-find solutions to the so-called CICO problem.
BibTeX
@article{tosc-2023-33690,
  title={Propagation of Subspaces in Primitives with Monomial Sboxes: Applications to Rescue and Variants of the AES},
  journal={IACR Transactions on Symmetric Cryptology},
  publisher={Ruhr-Universität Bochum},
  volume={023 No. 4},
  pages={270-298},
  url={https://tosc.iacr.org/index.php/ToSC/article/view/11288},
  doi={10.46586/tosc.v2023.i4.270-298},
  author={Aurélien Boeuf and Anne Canteaut and Léo Perrin},
  year=2023
}