Paper 2026/550

Solving the Linear Code Equivalence Problem from Single Codeword Matching

Magali Bardet, LITIS - University of Rouen
Charles Brion, LITIS - University of Rouen
Ayoub Otmani, LITIS - University of Rouen
Mohamed Saeed, LITIS - University of Rouen
Nicolas Sendrier, Inria
Abstract

In the Linear Code Equivalence (LCE) problem, one seeks the isometry of the Hamming space $\mathbb{F}_q^n$ relating two given linear codes. This problem is considered computationally hard for any alphabet size $q \ge 5$. The matching codewords framework currently serves as the benchmark for evaluating the security of cryptographic schemes whose security relies on the hardness of LCE, such as the LESS signature scheme. The framework operates by sampling multiple low-weight codewords in both target codes until matching codewords are discovered, thereby revealing the underlying isometry. Recent advancements improved this framework by introducing a new matching algorithm to decide whether two pairs of codewords match. While this technique offers better scalability than previous approaches and has led to enhanced attacks on LESS, it remains computationally intensive for certain parameter ranges. In this work, we propose a novel method to determine if a single pair of codewords matches. Our approach is based on the Schur product by an inverse vector, $\mathbf{v}^{-1} \star \mathcal{C}$, defined component-wisely. We demonstrate that if the codes $\mathcal{C}_1$ and $\mathcal{C}_2$ are linearly equivalent and the codewords $\mathbf{v}_1$ and $\mathbf{v}_2$ match, then the resulting products $\mathbf{v}_1^{-1} \star \mathcal{C}_1$ and $\mathbf{v}_2^{-1} \star \mathcal{C}_2$ are permutation equivalent. Since the permutation equivalence problem is efficiently solvable, this provides a highly effective match-testing algorithm. By leveraging this idea, we propose several algorithms that improve the asymptotic exponent of LCE solvers for all parameters. Notably, our method reaches the optimal asymptotic exponent of the framework for a wide range of parameters. When applied to LESS, our technique substantially reduces the best-known bit complexity; for instance, reducing the security of LESS-1 from 127 to 120 bits.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
A major revision of an IACR publication in CRYPTO 2026
Keywords
Linear Code Equivalencecode-based cryptographyLESS
Contact author(s)
magali bardet @ univ-rouen fr
charles brion @ univ-rouen fr
ayoub otmani @ univ-rouen fr
saeedoon1 @ gmail com
nicolas sendrier @ inria fr
History
2026-06-17: revised
2026-03-19: received
See all versions
Short URL
https://ia.cr/2026/550
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/550,
      author = {Magali Bardet and Charles Brion and Ayoub Otmani and Mohamed Saeed and Nicolas Sendrier},
      title = {Solving the Linear Code Equivalence Problem from Single Codeword Matching},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/550},
      year = {2026},
      url = {https://eprint.iacr.org/2026/550}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.