Balanced Boolean Function on 13-variables having Nonlinearity strictly greater than the Bent Concatenation Bound

Subhamoy MaitraIACR ePrint 2007

Abstract

In the design of symmetric-key cryptographic primitives, Boolean functions must satisfy two conflicting properties: high nonlinearity to resist linear cryptanalysis and perfect balance to prevent statistical bias. For an odd number of variables $n$, the "bent concatenation bound" of $2^{n-1} - 2^{\frac{n-1}{2}}$ has long served as a theoretical benchmark for balanced functions. While it was known that this bound could be exceeded for $n \ge 15$, the cases for $n=9, 11, \text{ and } 13$ remained open. This paper presents the construction of a balanced 13-variable Boolean function with a nonlinearity of 4034, strictly exceeding the bound of 4032. The construction utilizes a highly nonlinear 9-variable unbalanced seed, a specific concatenation sequence, and a heuristic toggling technique to achieve balance.

Introduction

Boolean functions are fundamental components in the architecture of stream ciphers and block ciphers, where they provide the necessary "confusion" to thwart cryptanalytic attacks. Two primary criteria define the cryptographic strength of these functions: nonlinearity and balancedness. Nonlinearity measures the distance between a Boolean function and the set of all affine functions; higher nonlinearity provides better resistance against linear cryptanalysis. Balancedness ensures that the function's output is distributed equally between 0 and 1, preventing simple statistical correlations that an attacker could exploit.

For an odd number of variables $n$, the maximum nonlinearity for a balanced function was traditionally thought to be constrained by the bent concatenation bound, defined as $2^{n-1} - 2^{\frac{n-1}{2}}$. For $n=13$, this bound is $2^{12} - 2^6 = 4096 - 64 = 4032$. While constructions exceeding this bound have existed for $n \ge 15$ since the 1980s, finding such functions for smaller $n$ has proven computationally and theoretically difficult. This work by Subhamoy Maitra bridges this gap for the $n=13$ case.

Methodology

The construction of the record-breaking 13-variable function follows a four-stage process involving both algebraic structure and heuristic optimization.

1. Seed Selection

The process begins with a 9-variable unbalanced Boolean function discovered by Kavut and Yucel. This seed function possesses a nonlinearity of 242, which already exceeds the 9-variable bent concatenation bound of 240. However, because this function is not balanced, it cannot be used directly in many cryptographic applications.

2. Linear Transformation and Derivation

From the initial Kavut-Yucel function, two distinct 9-variable functions, $f_1$ and $f_2$, are derived. These are created by XORing the seed function with specific linear functions. These derived functions maintain the high nonlinearity of the seed while providing the necessary variety for the subsequent concatenation step.

3. Concatenation Sequence

A 13-variable function $F$ is constructed by concatenating 16 truth tables of the 9-variable functions ($f_1, f_2$) and their complements ($\bar{f}_1, \bar{f}_2$). The author identifies a specific sequence to maximize the resulting nonlinearity: $$F = (f_2, f_1, f_1, \bar{f}_2, f_2, f_1, f_1, \bar{f}_2, f_2, f_1, f_1, \bar{f}_2, \bar{f}_2, \bar{f}_1, \bar{f}_1, f_2)$$ This structured concatenation results in a 13-variable function with a nonlinearity of 4040. However, this intermediate function $F$ is not yet balanced.

4. Heuristic Toggling for Balance

To achieve balance without significantly degrading nonlinearity, the author employs a heuristic search. By "toggling" (flipping) the output bits at specific positions, the weight of the function is adjusted. After testing approximately 20,000 random bit-flip combinations, a set of eight specific positions was identified. Flipping these bits from 0 to 1 resulted in a perfectly balanced function while only reducing the nonlinearity from 4040 to 4034.

Results and Discussion

The primary result of this research is the existence of a balanced 13-variable Boolean function with a nonlinearity of 4034. This value is strictly greater than the bent concatenation bound of 4032.

This achievement is significant for several reasons:

  • Breaking the $n < 15$ Barrier: It demonstrates that the bent concatenation bound is not an insurmountable limit for balanced functions in the small-variable regime.
  • Heuristic Efficacy: It highlights the power of combining structured algebraic constructions (concatenation) with localized heuristic searches (toggling).
  • Cryptographic Utility: The resulting function provides a concrete primitive for designers of stream ciphers seeking maximum resistance to linear attacks.

Conclusion

The discovery of a balanced 13-variable function with nonlinearity 4034 marks a milestone in Boolean function research. While the problem is now solved for $n=13$, the cases for $n=9$ and $n=11$ remain open. These smaller dimensions offer less "room" for heuristic toggling, as each bit flip has a more pronounced impact on the overall Walsh spectrum of the function. Future work will likely focus on more sophisticated search algorithms or new algebraic seeds to break the bounds for these remaining cases.

Summary updated

BibTeX
@article{maitra2007balanced,
  author = {Subhamoy Maitra},
  title = {{Balanced Boolean Function on 13-variables having Nonlinearity strictly greater than the Bent Concatenation Bound}},
  journal = {IACR ePrint},
  year = {2007},
}
Figure