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

Research Library · Idea

Branch number

The branch number of a linear transformation measures its diffusion power. In the Rijndael proposal, Joan Daemen and Vincent Rijmen define it for a map F on byte vectors as the minimum, over nonzero inputs a, of W(a) + W(F(a)), where W counts the nonzero (active) bytes. 1 A high branch number forces any differential or linear trail through the map to activate many S-boxes in the neighbouring rounds, which is how the wide trail strategy bounds such trails. 1

The AES MixColumn step acts on each 4-byte column separately. A single active input byte can produce at most four active output bytes, so its branch number is at most 5, and the coefficients were chosen to reach that bound. A difference in one byte therefore spreads to all four bytes on the other side, a two-byte difference to at least three, and any linear relation between input and output bits involves bits from at least five bytes. 1 This property underlies the proposal's proof that any four-round trail has at least 25 active bytes. 1 For linear maps, such quantities have been studied extensively through the notion of maximum distance separable (MDS) functions. 3

The same measure applies to S-boxes, counted in bits rather than bytes. Anne Canteaut and Shahram Rasoolzadeh define the differential branch number (DBN) of a vectorial Boolean function as the minimum of hw(a) + hw(b) over nonzero mask pairs with a nonzero difference table entry. The linear branch number (LBN) is defined the same way over nonzero linear approximation table entries. 2 They argue that for ciphers with limited diffusion layers, such as bit permutations, DBN and LBN are important criteria alongside differential uniformity and linearity. Their December 2026 preprint shows that the difference and linear table weight distributions are related by a simple formula, determines the maximum DBN and LBN for most input and output sizes up to dimension 16, and shows that all Walsh coefficients of a function are divisible by 2^LBN. 3

They give PRESENT as an example. Its S-box has DBN 3, which guarantees at least four active S-boxes in any three-round differential trail and so bounds such a trail at 2^-8. Its LBN is 2, so 1-bit to 1-bit linear approximations exist, and these have been exploited in linear attacks on reduced-round PRESENT. 2

Source · AES Proposal: Rijndael (Joan Daemen and Vincent Rijmen, document version 2) (opens in a new tab) · NIST

References

  1. 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. ↩ ↩ ↩ ↩
  2. Vectorial Boolean Functions with High Linear and Differential Branch Numbers, full text (Anne Canteaut and Shahram Rasoolzadeh) (opens in a new tab) · IACR Cryptology ePrint Archive (2026/3157) · December 4, 2026 · Section 1 and Definition 3. ↩ ↩
  3. IACR News: Vectorial Boolean Functions with High Linear and Differential Branch Numbers (Anne Canteaut and Shahram Rasoolzadeh) (opens in a new tab) · International Association for Cryptologic Research · December 4, 2026 ↩ ↩

Research articles

See what connects to it on the map of ideas →

See also