# Difference between revisions of "Nonlinearity"

(Created page with "= Background and Definition = Vectorial Boolean Functions play an essential role in the design of cryptographic algorithms, and as such should be resistant to various typ...") |
|||

Line 20: | Line 20: | ||

= Bounds on the Nonlinearity of Vectorial Boolean Functions = | = Bounds on the Nonlinearity of Vectorial Boolean Functions = | ||

− | The covering radius bound for Boolean functions can naturally be extended to vectorial Boolean functions, stating | + | The ''covering radius bound'' for Boolean functions can naturally be extended to vectorial Boolean functions, stating |

<div><math>nl(F) \le 2^{n-1} - 2^{n/2 - 1}</math></div> | <div><math>nl(F) \le 2^{n-1} - 2^{n/2 - 1}</math></div> | ||

− | for any <math>(n,m)</math>-function <math>F</math>. | + | for any <math>(n,m)</math>-function <math>F</math>. [[Bent Functions]] are defined as those meeting this bound with equality. |

+ | |||

+ | The ''Sidelnikov-Chabaud-Vaudenay (SCV) bound'' <ref>Sidel'nikov VM. On mutual correlation of sequences. InDoklady Akademii Nauk 1971 (Vol. 196, No. 3, pp. 531-534). Russian Academy of Sciences.</ref> <ref>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.</ref> bounds the nonlinearity of any <math>(n,m)</math>-function, with <math>m \ge n-1</math>, by | ||

+ | |||

+ | <div><math> nl(F) \le 2^{n-1} - \frac{1}{2} \sqrt{3 \cdot 2^n - 2 - 2 \frac{(2^n-1)(2^{n-1}-1)}{2^m-1}}.</math></div> | ||

+ | |||

+ | The SCV bound coincides with the covering radius bound for <math>m = n - 1</math>, and is strictly sharper than the covering radius bound for <math>m \ge n</math>. For <math>m > n</math>, the square root in the bound cannot be an integer, and thus the SCV bound can be, and is, tight only for <math>m=n</math>. This motivates the definition of [[Almost Bent Functions]] as those <math>(n,n)</math>-functions that meet the SCV bound with equality. |

## Revision as of 20:17, 10 February 2019

# 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 -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 containing the Reed-Muller code as a subcode, let be a basis of completing a basis of . Then the -variable Boolean functions corresponding to the vectors are the coordinate functions of an functions with nonlinearity . Conversely, given an function of nonlinearity , the linear code obtained as the union of all cosets has parameters .

# 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 , by

The SCV bound coincides with the covering radius bound for , 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 . This motivates the definition of Almost Bent Functions as those -functions that meet the SCV bound with equality.

- ↑ 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.
- ↑ 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.
- ↑ 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.
- ↑ Sidel'nikov VM. On mutual correlation of sequences. InDoklady Akademii Nauk 1971 (Vol. 196, No. 3, pp. 531-534). Russian Academy of Sciences.
- ↑ 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.