On Linear Hulls and Trails

Tomer Ashur, Vincent Rijmen

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

5 Citations (Scopus)
9 Downloads (Pure)


This paper improves the understanding of linear cryptanalysis by highlighting some previously overlooked aspects. It shows that linear hulls are sometimes formed already in a single round, and that overlooking such hulls may lead to a wrong estimation of the linear correlation, and thus of the data complexity. It shows how correlation matrices can be used to avoid this, and provides a tutorial on how to use them properly. By separating the input and output masks from the key mask it refines the formulas for computing the expected correlation and the expected linear potential. Finally, it shows that when the correlation of a hull is not properly estimated (e.g., by using the correlation of a single trail as the correlation of the hull), the success probability of Matsui’s Algorithm 1 drops, sometimes drastically. It also shows that when the trails composing the hull are properly accounted for, more than a single key bit can be recovered using Algorithm 1. All the ideas presented in this paper are followed by examples comparing previous methods to the corrected ones, and verified experimentally with reduced-round versions of Simon32/64.
Original languageEnglish
Title of host publicationInternational Conference on Cryptology in India
EditorsOrr Dunkelman, Somitra Kumar Sanadhya
Place of PublicationCham
Number of pages18
ISBN (Electronic)978-3-319-49890-4
ISBN (Print)978-3-319-49889-8
Publication statusPublished - 2016
Externally publishedYes
Event17th International Conference on Cryptology - Kolkata, India
Duration: 11 Dec 201614 Dec 2016

Publication series

NameLecture Notes in Computer Science


Conference17th International Conference on Cryptology


  • Linear cryptanalysis
  • Linear hulls
  • Simon


Dive into the research topics of 'On Linear Hulls and Trails'. Together they form a unique fingerprint.

Cite this