Cryptology ePrint Archive: Report 2016/088

On Linear Hulls and Trails

Tomer Ashur and Vincent Rijmen

Abstract: 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.

Category / Keywords: secret-key cryptography / Linear cryptanalysis, linear hulls, Simon

Original Publication (with minor differences): Indocrypt 2016

Date: received 1 Feb 2016, last revised 8 Dec 2016

Contact author: vincent rijmen at esat kuleuven be

Available format(s): PDF | BibTeX Citation

Version: 20161208:145352 (All versions of this report)

Short URL: ia.cr/2016/088

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]