Paper 2023/542 Original: eprint.iacr.org/2023/542 ↗

A multistep strategy for polynomial system solving over finite fields and a new algebraic attack on the stream cipher Trivium

Roberto La Scala
Federico Pintore
Sharwan K. Tiwari
Andrea Visconti
Abstract

In this paper we introduce a multistep generalization of the guess-and-determine or hybrid strategy for solving a system of multivariate polynomial equations over a finite field. In particular, we propose performing the exhaustive evaluation of a subset of variables stepwise, that is, by incrementing the size of such subset each time that an evaluation leads to a polynomial system which is possibly unfeasible to solve. The decision about which evaluation to extend is based on a preprocessing consisting in computing an incomplete Grobner basis after the current evaluation, which possibly generates linear polynomials that are used to eliminate further variables. If the number of remaining variables in the system is deemed still too high, the evaluation is extended and the preprocessing is iterated. Otherwise, we solve the system by a complete Grobner basis computation. Having in mind cryptanalytic applications, we present an implementation of this strategy in an algorithm called MultiSolve which is designed for polynomial systems having at most one solution. We prove explicit formulas for its complexity which are based on probability distributions that can be easily estimated by performing the proposed preprocessing on a testset of evaluations for different subsets of variables. We prove that an optimal complexity of MultiSolve is achieved by using a full multistep strategy with a maximum number of steps and in turn the standard guess-and-determine strategy, which essentially is a strategy consisting of a single step, is the worst choice. Finally, we extensively study the behaviour of MultiSolve when performing an algebraic attack on the well-known stream cipher Trivium.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
History
2024-06-05: last updated
2023-04-16: published
Short URL
https://ia.cr/2023/542
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2023/542,
      author = {Roberto La Scala and Federico Pintore and Sharwan K. Tiwari and Andrea Visconti},
      title = {A multistep strategy for polynomial system solving over finite fields and a new algebraic attack on the stream cipher Trivium},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/542},
      year = {2023},
      url = {https://eprint.iacr.org/2023/542}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.