Nonlinearity

From Boolean Functions
Revision as of 10:35, 2 October 2019 by Ivi062 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to: navigation, search

Background and Definition

Vectorial Boolean Functions play an essential role in the design of cryptographic algorithms, and as such should be resistant to various types of cryptanalytic attacks. The notion of nonlinearity is introduced by Nyberg [1] in order to measure the resistance of vectorial Boolean functions to Matsui's linear attack [2]. This attack attempts to approximate the function used in an encryption algorithm by a linear function (which, in turn, is easy to analyze), and is, therefore, applicable when the actual functions used in the encryption algorithm is "close" to linear in some sense. A natural measure of distance between two functions, 𝐹 and 𝐺, is the Hamming distance, i.e. the metric

Formally, the nonlinearity 𝑛𝑙(𝐹) of an (𝑛,π‘š)-function 𝐹 is the minimum distance between any component function of 𝐹 and any affine Boolean function. In other words,

Properties

Nonlinearity remains invariant under CCZ-equivalence (and, therefore, under extended affine and affine equivalence as well). If 𝐹 is (𝑛,𝑛)-permutation, then 𝐹 and 𝐹-1 have the same nonlinearity.

The nonlinearity of an (𝑛,π‘š)-function 𝐹 can be expressed in terms of its Walsh transform via the identity

There is a relation [3] between the maximal possible nonlinearity of vectorial Boolean functions and the possible parameters of certain linear codes. If 𝐢 is a linear [2𝑛,𝐾,𝐷] containing the Reed-Muller code 𝑅𝑀(1,𝑛) as a subcode, let (𝑏1, 𝑏2,…,𝑏𝐾) be a basis of 𝐢 completing a basis (𝑏1, 𝑏2,…,𝑏𝑛+1) of 𝑅𝑀(1,𝑛). Then the 𝑛-variable Boolean functions corresponding to the vectors 𝑏𝑛+2,…, 𝑏𝐾 are the coordinate functions of an (𝑛,𝐾-𝑛-1) functions with nonlinearity 𝐷. Conversely, given an (𝑛,π‘š)-function 𝐹 of nonlinearity 𝐷>0, the linear code obtained as the union of all cosets has parameters [2𝑛,𝑛+π‘š+1,𝐷].

Bounds on the Nonlinearity of Vectorial Boolean Functions

The covering radius bound for Boolean functions can naturally be extended to vectorial Boolean functions, stating

for any (𝑛,π‘š)-function 𝐹. Bent Functions are defined as those meeting this bound with equality.

The Sidelnikov-Chabaud-Vaudenay (SCV) bound [4] [5] bounds the nonlinearity of any (𝑛,π‘š)-function, with π‘šβ‰₯𝑛-1, by

The SCV bound coincides with the covering radius bound for π‘š=𝑛-1, and is strictly sharper than the covering radius bound for π‘šβ‰₯𝑛. For π‘š>𝑛, the square root in the bound cannot be an integer, and thus the SCV bound can be, and is, tight only for π‘š=𝑛. In this case (for π‘š=𝑛), the bound becomes

This motivates the definition of Almost Bent Functions as those (𝑛,𝑛)-functions that meet the SCV bound with equality.

  1. ↑ Nyberg K. On the construction of highly nonlinear permutations. Workshop on the Theory and Application of Cryptographic Techniques 1992 May 24 (pp. 92-98). Springer, Berlin, Heidelberg.
  2. ↑ Matsui M. Linear cryptanalysis method for DES cipher. Workshop on the Theory and Application of Cryptographic Techniques 1993 May 23 (pp. 386-397). Springer, Berlin, Heidelberg.
  3. ↑ Carlet C, Charpin P, Zinoviev V. Codes, bent functions and permutations suitable for DES-like cryptosystems. Designs, Codes and Cryptography. 1998 Nov 1;15(2):125-56.
  4. ↑ Sidel'nikov VM. On mutual correlation of sequences. InDoklady Akademii Nauk 1971 (Vol. 196, No. 3, pp. 531-534). Russian Academy of Sciences.
  5. ↑ Chabaud F, Vaudenay S. Links between differential and linear cryptanalysis. Workshop on the Theory and Application of Cryptographic Techniques 1994 May 9 (pp. 356-365). Springer, Berlin, Heidelberg.