Paper 2026/1767

Linear Cryptanalysis with Bibrace Characters: Weak-Key Distinguishers for CRAFT

Roberto Civino, University of L'Aquila
Abstract

Linear cryptanalysis measures the correlation of a cipher with the characters of the group used to define differences. If that group is replaced by a second elementary abelian group structure on the same set, here the one coming from a binary bibrace, then the admissible masks are no longer the ordinary scalar products: exactly half of them survive, and the other half are forced to be quadratic. Beyne's geometric approach develops linear cryptanalysis over an arbitrary finite abelian group, providing a natural framework for this setting. We instantiate it on the group of a particular bibrace and apply it to CRAFT. Over this group the MIDORI/CRAFT S-box has four probability-one relations, forming a small subgroup of the dual which the S-box preserves in both directions. A trail that stays inside that subgroup is determined by its first mask and propagates linearly, so the search for the best such trail is a minimum weight codeword problem, which we solve exactly by complete enumeration. A trail costs correlation, and it restricts the key to a weak-key class. We show that the exact reading, obtained by analysing the diffusion layer and the key addition together rather than separately, gives a class several bits larger than the one obtained cell by cell. One concrete consequence is that CRAFT's round constants, whatever their values, impose no restriction at all. On CRAFT we obtain weak-key distinguishers up to eighteen rounds. At fourteen rounds a single trail has squared correlation $2^{-44}$ over a class of $2^{108}$ keys, against $2^{-62.12}$ for the designers' linear hull, which is the best known linear result on the cipher and holds for all keys. On that class the trail alone therefore exceeds the best linear correlation by eighteen bits at equal round count. Half of the optimal trails begin and end with ordinary linear masks, so these are linear approximations of CRAFT in the usual sense. A contrasting analysis of MIDORI64, which shares the S-box, traces its protection to the round constants and describes two known invariants of that cipher through other bibraces.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
Preprint.
Keywords
linear cryptanalysisCRAFTbibracealternative operationsnonlinear invariantsweak keys
Contact author(s)
math @ robertocivino it
History
2026-11-07: last of 3 revisions
2026-08-21: received
See all versions
Short URL
https://ia.cr/2026/1767
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/1767,
      author = {Roberto Civino},
      title = {Linear Cryptanalysis with Bibrace Characters: Weak-Key Distinguishers for {CRAFT}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1767},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1767}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.