SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Wide trail strategy

The wide trail strategy is a method for designing the round function of an iterated block cipher so that it resists differential and linear cryptanalysis. Joan Daemen set it out in his 1995 doctoral dissertation at K.U. Leuven. He observed that the weight of a differential or linear trail is the sum of the weights of the S-boxes it activates. That leaves two ways to eliminate low-weight trails: choose S-boxes whose difference propagations and correlations are individually weak, or design the round so that only trails through many S-boxes can occur. The strategy emphasises the second. A step with few active S-boxes must be followed by a step with many, which Daemen linked to Shannon's idea of diffusion, and the S-boxes need only meet a minimum standard. 1

Daemen contrasted this with the approach shaped by DES, which concentrated on the S-boxes. He noted that the most effective differential trail in DES contains only 3 S-boxes per 2 rounds, and its most effective linear trail only 3 S-boxes per 4 rounds. 1

Rijndael, which became AES, was designed with the strategy. Its proposal gives each layer a job: a linear mixing layer for high diffusion over several rounds, a nonlinear layer of parallel S-boxes with optimal worst-case nonlinearity, and a key addition. The Rijndael S-box has maximum difference propagation probability 2^-6 and maximum input-output correlation 2^-3. Because MixColumn has branch number 5, the designers prove that any 4-round differential or linear trail has at least 25 active S-boxes. No 4-round differential trail therefore has predicted probability above 2^-150, and no 4-round linear trail has correlation above 2^-75, whatever the round keys. 2 Daemen and Rijmen later published the theoretical background, with bounds on resistance, as a separate paper in 2001. 3

These are bounds on single trails. The same proposal notes that the probability of a difference propagation is the sum over all trails with the given input and output differences, and that a correlation is a sum over linear trails whose signs depend on the round keys. 2 Bounding the full quantities averaged over keys is a separate line of work. Keliher and Sui computed the exact two-round maximum expected differential and linear probabilities of AES and derived upper bounds for four or more rounds of about 1.881 x 2^-114 and 1.802 x 2^-110. 4

Source · Cipher and Hash Function Design Strategies based on linear and differential cryptanalysis (doctoral dissertation, Joan Daemen) (opens in a new tab) · K.U. Leuven

References

  1. Cipher and Hash Function Design Strategies based on linear and differential cryptanalysis (doctoral dissertation, Joan Daemen) (opens in a new tab) · K.U. Leuven · March 1995; section 5.6 describes the wide trail strategy. ↩ ↩
  2. AES Proposal: Rijndael (Joan Daemen and Vincent Rijmen, document version 2) (opens in a new tab) · NIST · Sections 4.2, 7.2, 7.3.1, 7.6 and 8.2. ↩ ↩
  3. The Wide Trail Design Strategy (Joan Daemen and Vincent Rijmen) (opens in a new tab) · Springer · Cryptography and Coding 2001, LNCS 2260; abstract. ↩
  4. Exact Maximum Expected Differential and Linear Probability for 2-Round Advanced Encryption Standard (AES) (Liam Keliher and Jiayuan Sui) (opens in a new tab) · IACR Cryptology ePrint Archive (2005/321) ↩

Research articles

See what connects to it on the map of ideas →

See also