Almost Perfect Nonlinear (APN) Functions

From Boolean
Revision as of 13:29, 7 February 2019 by Nikolay (talk | contribs)

Background and definition

Almost perfect nonlinear (APN) functions are the class of (n,n) Vectorial Boolean Functions that provide optimum resistance to against differential attack. Intuitively, the differential attack against a given cipher incorporating a vectorial Boolean function F is efficient when fixing some difference Ξ΄ and computing the output of F for all pairs of inputs (x1,x2) whose difference is Ξ΄ produces output pairs with a difference distribution that is far away from uniform.

The formal definition of an APN function F:𝔽2n→𝔽2n is usually given through the values

Ξ”F(a,b)=|{xβˆˆπ”½2n:F(x)+F(a+x)=b}|

which, for aβ‰ 0, express the number of input pairs with difference a that map to a given b. The existence of a pair (a,b)βˆˆπ”½2nβˆ—Γ—π”½2n with a high value of Ξ”F(a,b) makes the function F vulnerable to differential cryptanalysis. This motivates the definition of differential uniformity as

Ξ”F=max⁡{Ξ”F(a,b):aβˆˆπ”½2nβˆ—,bβˆˆπ”½2n}

which clearly satisfies Ξ”Fβ‰₯2 for any function F. The functions meeting this lower bound are called almost perfect nonlinear (APN).

The characterization by means of the derivatives below suggests the following definition: a v.B.f. F is said to be strongly-plateuaed if, for every a and every v, the size of the set {bβˆˆπ”½2n:DaDbF(x)=v} does not depend on x, or, equivalently, the size of the set {bβˆˆπ”½2n:DaF(b)=DaF(x)+v} does not depend on x.

Characterizations

Walsh transform[1]

Any (n,m)-function F satisfies

βˆ‘aβˆˆπ”½2n,bβˆˆπ”½2mβˆ—WF4(a,b)β‰₯22n(3β‹…2n+mβˆ’2m+1βˆ’22n)

with equality characterizing APN functions.

In particular, for (n,n)-functions we have

βˆ‘aβˆˆπ”½2n,bβˆˆπ”½2nβˆ—WF4(a,b)β‰₯23n+1(2nβˆ’1)

with equality characterizing APN functions.

Sometimes, it is more convenient to sum through all bβˆˆπ”½2m instead of just the nonzero ones. In this case, the inequality for (n,m)-functions becomes

βˆ‘aβˆˆπ”½2n,bβˆˆπ”½2mWF4(a,b)β‰₯22n+m(3β‹…2nβˆ’2)

and the particular case for (n,n)-functions becomes

βˆ‘a,bβˆˆπ”½2nWF4(a,b)β‰₯23n+1(3β‹…2nβˆ’1βˆ’1)

with equality characterizing APN functions in both cases.

Autocorrelation functions of the directional derivatives [2]

Given a Boolean function f:𝔽2n→𝔽2, the autocorrelation function of f is defined as

β„±(f)=βˆ‘xβˆˆπ”½2n(βˆ’1)f(x)=2nβˆ’2wt(f).

Any (n,n)-function F satisfies

βˆ‘Ξ»βˆˆπ”½2nβ„±(DafΞ»)=22n+1

for any aβˆˆπ”½2nβˆ—. Equality occurs if and only if F is APN.

This allows APN functions to be characterized in terms of the sum-of-square-indicator Ξ½(f) defined as

Ξ½(f)=βˆ‘aβˆˆπ”½2nβ„±2(DaF)=2βˆ’nβˆ‘aβˆˆπ”½2nβ„±4(f+Ο†a)

for Ο†a(x)=Tr(ax).

Then any (n,n) function F satisfies

βˆ‘Ξ»βˆˆπ”½2nβˆ—Ξ½(fΞ»)β‰₯(2nβˆ’1)22n+1

and equality occurs if and only if F is APN.

Similar techniques can be used to characterize permutations and APN functions with plateaued components.

Characterization of Plateaued Functions

Characterization by the Derivatives [3]

First characterization

Using the fact that two integer-valued functions over 𝔽2m are equal precisely when their Fourier transforms are equal, one can obtain the following characterization.

Let F be an (n,m)-function. Then:

- F is plateaued if and only if, for every vβˆˆπ”½2m, the size of the set

{(a,b)∈(𝔽2n)2:DaDbF(x)=v}

does not depend on x;

- F is plateaued with single amplitude if and only if the size of the above set depends neither on x nor on v when v≠0.

Moreover:

- for any (n,m)-function F, the value distribution of DaDbF(x) equals the value distribution of DaF(b)+DaF(x) as (a,b) ranges over (𝔽2n)2;

- if two plateuaed functions have the same distribution, then for every u, their component functions at u have the same amplitude.

Characterization in the Case of Unbalanced Components

Let F be an (n,m)-function. Then F is plateuaed with all components unbalanced if and only if, for every v,xβˆˆπ”½2n, we have

|{(a,b)∈(𝔽2n)2:DaDbF(x)=v}|=|{(a,b)∈(𝔽2n)2:F(a)+F(b)=v}|.

Moreover, F is plateuaed with single amplitude if and only if, in addition, this value does not depend on v for v≠0.

Properties of Strongly-Plateaued Functions

A Boolean function is strongly-plateaued if and only if its partially-bent. A v.B.f. is strongly-plateaued if and only if all of its component functions are partially-bent. In particular, bent and quadratic Boolean and vectorial functions are strongly-plateaued.

The image set Im(DaF) of any derivative of a strongly-plateaued function F is an affine space.

Characterization by the Auto-Correlation Functions

  1. ↑ Florent Chabaud, Serge Vaudenay, Links between differential and linear cryptanalysis, Workshop on the Theory and Application of Cryptographic Techniques, 1994 May 9, pp. 356-365, Springer, Berlin, Heidelberg
  2. ↑ Thierry Berger, Anne Canteaut, Pascale Charpin, Yann Laigle-Chapuy, On Almost Perfect Nonlinear Functions Over GF(2^n), IEEE Transactions on Information Theory, 2006 Sep,52(9),4160-70
  3. ↑ Carlet C. Boolean and vectorial plateaued functions and APN functions. IEEE Transactions on Information Theory. 2015 Nov;61(11):6272-89.