Almost Perfect Nonlinear (APN) Functions: Difference between revisions

From Boolean
Created page with "= Background and definition = Almost perfect nonlinear (APN) functions are the class of <math>(n,n)</math> Vectorial Boolean Functions that provide optimum resistance to..."
 
No edit summary
Line 10: Line 10:


= Characterizations =
= Characterizations =
== Autocorrelation functions of the directional derivatives ==
Given a Boolean function <math>f : \mathbb{F}_{2^n} \rightarrow \mathbb{F}_2</math>, the ''autocorrelation function'' of <math>f</math> is defined as
<div><math>\mathcal{F}(f) = \sum_{x \in \mathbb{F}_{2^n}} (-1)^{f(x)} = 2^n - 2wt(f).</math></div>
Any <math>(n,n)</math>-function <math>F</math> satisfies
<div><math>\sum_{\lambda \in \mathbb{F}_{2^n}} \mathcal{F}(D_af_\lambda) = 2^{2n+1}</math></div>
for any <math>a \in \mathbb{F}_{2^n}^*</math>. Equality occurs if and only if <math>F</math> is APN.

Revision as of 10:00, 15 January 2019

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).

Characterizations

Autocorrelation functions of the directional derivatives

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.