• No results found

Almost perfect nonlinear functions

N/A
N/A
Protected

Academic year: 2021

Share "Almost perfect nonlinear functions"

Copied!
37
0
0

Loading.... (view fulltext now)

Full text

(1)

Almost perfect nonlinear functions

Alexander Pott

(2)

Agenda

Definition of almost perfect nonlinear (APN) functions, including crypto motivation.

1.) BIG open problem: APN permutations if n is even. I Problem solved for partially APN.

I Designs?

2.) Apparently there are many APN functions. Find nice constructions of some of them and show inequivalence.

(3)

Cryptography

Try to find functionsfK depending on a key K

fK : Fn2 → Fm2

such that there is confusion and diffusion Shannon (1949): I Confusion: Changing the input has inpredictable effect on the

output.

I Diffusion: Changing few entries in the input changes many entries in the output.

(4)

The core of many cryptographic systems

Many cryptographic schemes use, as a main ingredient,S-boxes (S: substitution):

S : Fn2 → Fm2. Then

fK : Fn2 → Fm2, x 7→ S (x + K ).

FunctionS should be highly nonlinear to provide confusion. Nice to have: S is a permutation andn is even.

Problem

(5)

Perfect nonlinearity

Since cryptographers are paranoid, they want to create functions which are perfect nonlinear:

Definition

Letp be a prime. A functionF : Fnp→ Fnp is perfect nonlinear, if

x 7→ F (x + a) − F (x ) is a permutation for alla 6= 0.

(6)

The case

F

n 2

Cryptographers wantFn2. BUT: There is no perfect nonlinear function onFn2:

F (x + a) + F (x ) = F (y + a) + F (y ) fory = x + a.

Definition

A functionF : Fn2 → Fn2 is almost perfect nonlinear(APN) if

x 7→ F (x + a) + F (x ) is2 to 1 for all a 6= 0.

(7)

A simple example

We identify Fn2 with the finite field F2n.

F (x ) = x3 defined onFq with q = 2n even:

(8)

The inverse function

Consider

F (x ) = x−1

defined onFq with q = 2n even. It is a permutation. It is APN ifn is odd, but not if n is even.

(9)

Code interpretation of APN functions

LetF be APN.   1 x F (x )   x ∈Fn 2 ∈ F(2n+1,22 n)

row space generates acode. The dual code has minimum weight6: F (z) + F (x + z) + F (y + z) + F (x + y + z) 6= 0

for all distinctz, x + z, y + z, x + y + z.

Conversely: Any such code with minimum weight6 defines APN function.

(10)
(11)

Problem 1: The BIG APN problem

Find APN permutations onFn2 with n even andn > 6.

Browning, Dillon, McQuistan, Wolfe (2010) found an APN permutation inF26. They started with the APN function on

F26

x 7→ x3+ x10+ αx24, for someα and then applied code equivalence.

(12)

Another Interesting APN

(13)

A promising approach: Butterflies?

Letn = 2m andx , y ∈ Fm2. Consider

      1 x y R(x , y ) R(y , x )       x ,y ∈Fm 2 ∈ F(2n+1,22 n)

(14)

Swapping

      1 x R(x , y ) y R(y , x )       x ,y ∈Fm 2 ∈ F(2n+1,22 n)

is an APN permutation (in code terminology). Browning, Dillon, McQuistan, Wolfe example used

R(x , y ) = (x + αy )3+ x3.

(15)

Partially APN permutations

Budaghyan, Kaleyski, Kwon, Riera, Stanica (2019) studied functionsF : Fn2 → Fn2 such that for all a 6= 0

F (x + a) + F (x ) 6= F (a) + F (0) for allx 6= 0, a. They called thesepartially APN.

Alternatively: F (x ) + F (x + a) + F (a) 6= F (0) or (ifF (0) = 0) F (x )+F (y )+F (z) 6= 0for all disinct x , y , z 6= 0with x + y + z = 0.

I There are many more partially APN than APN.

(16)

Steiner systems

Steiner quadruple systems: I v points

I blocks of size 4

I Any three different points are contained in exactly one block. Hanani 1960: Existence if and only ifv ≡ 2or 4 modulo6. Steiner triple systems:

I v points I blocks of size 3

(17)

The classical Steiner systems

I triple system on Fn2\ {0}: Points and2-dimensional subspaces.

(18)

Partially APN permutations

Theorem (P. (2019))

For anyn ≥ 3 there are partially APN permutations onFn2. Proof:

I The blocks {x, y , z : x, y , z different} form the classical Steiner triple system on Fn2\ {0} (any two different points are contained in exactly one triple).

I Teirlinck (1977) proved that any two Steiner triple systemsS andT defined on a point setV have a disjoint realization.

I That means, there is an isomorphic copy T0 ofT onV such that no triple occurs both in S andT0.

(19)

Comments

I Teirlinck’s result has a short (1 page) and elementary but non-trivial proof.

I Teirlinck’s result is needed only for the classical Steiner triple system.

I Teirlinck’s result is not constructive.

(20)

Rodier Condition

I F : Fn2 → Fn2 is an APN function if and only if F (x ) + F (y ) + F (z) + F (u) 6= 0

for all subsets {x, y , z, u}of order 4 withx + y + z + u = 0. I Note that the subsets {x, y , z, u}of order 4 with

(21)

APN permutations and Steiner quadruple systems

IfF is APN on Fn2, then F (x ) + F (y ) + F (z) + F (u) 6= 0if

{x, y , z, u}is an affine subspace ofFn2. Interesting Observation:

There is an APN permutationF iff there is a collection of subsets Di of size4 onFn2 forming the classical Steiner quadruple system of affine subspaces such that none of theDi is an affine subspace of dimension2.

TheDi are simply the sets

(22)

APN permutations and quadruple systems

I We tried to generalize the Teirlinck result to quadruple systems, without success.

(23)

Why finite fields?

I APN is an additive property. Why use multiplicative group for the construction?

I Using the mix of additive and multiplicative structure is a common approach in difference set theory. Nice multiplicative subsets are difference sets in the additive group, or vice versa.

I Squares inFq form a difference set in the additive group. I A hyperplane inFn

p gives rise to a Singer cycle in the

multiplicative group.

I · · ·

(24)

Why are there (perhaps) no APN permutations?

Try to build an APN functionF : Fn2 → Fn2 from maximal nonlinear coordinate functionsf : Fn2 → F2, which are called bent functions:

I bent: x 7→ f (x + a) + f (x )is balanced.

(25)
(26)

NSA/Magdeburg 2006

Edel, P., Kyureghyan; Bierbrauer; Dillon, McQuistan, Wolfe), found several new APNs:

Example

I x 7→ x3+ x10+ αx24 onF26 I more onF26

(27)
(28)

The race to find more examples

I In 2006 it was easy to check that new examples are really new! I The first infinite family after 2006 was found by

Budaghyan, Carlet, Leander (2008).

I The number of families is decreasing, thanks to Budaghyan, Calderini, Villa (2019): Some families coincide.

(29)
(30)

The Zhou-Kaspers theorem

I One family [F10] is due to Zhou, P. (2013). It is the APN version of a perfect nonlinear function in odd characteristic (two parameter family of semifields, projective planes). I Now Zhou, Kaspers (2019) investigated inequivalence.

(31)

Many more sporadic examples are known

There are many sporadic examples, mostly found by local change techniques. With one exception, none of it has been turned into an infinite family Budaghyan, Carlet, Leander (2009):

x3+ tr(x9)

(32)

Problem 2

Find more powerful constructions (more parameters to play with) which give pairwise inequivalent examples.

In other words: Beat the Zhou-Kaspers theorem.

(33)

quadratic vs. non-quadratic

F is called a Dembowski-Ostrom polynomialor quadraticif F (x + a) − F (x ) is affine: F (x ) =X i ,j αi ,jxp i+pj +X j βjxp j + γ.

(34)

Quadratic case: Easy proofs

(35)

One sporadic non-quadratic APN

Edel, P. 2009 found someu such that x3+ u17(x17+ x18+ x20+ x24) +

u14(tr(u52x3+ u6x5+ u19x7+ u28x11+ u2x13) + tr82((u2x )9) + tr42(x21))

inF26 is APN, where

x3+ u17(x17+ x18+ x20+ x24) is APN (local change).

(36)

Problem 3

(37)

Summary

I Definition of APN functions, including crypto motivation. I BIG open problem: APN permutations if n is even.

I Problem solved for partially APN.

I Designs?

I Apparently there are many APN functions. Find nice constructions, perhaps without finite fields, and show inequivalence.

References

Related documents

Real Internet Malware Sample Configuration Analysis Results Internal logs Traffic Log Emulated Internet Filtering Rules Sandbox Access Controller OS Image Config Analysis

In constructing the models for our portfolio of policies, we therefore focus on the development of the claims distribution according to three di¤erent components: (1) the

The main goal of a static type system is to prevent certain kinds of er- rors from happening at run time. A type system is formulated as a set of constraints that gives any

Notably, we find that, with intermediate levels of density, trade liberalisation may lead to higher wages even if no trade exists in equilibrium, and that negotiated wages need not

If, during the last scan of this channel bank, an interfering frequency was detected on the channel with the lowest channel number, the receiver display panel automatically displays

As noted above, circumstances will sometimes arise that will make it unreasonably burdensome for a sovereign to continue normal debt servicing and everyone, borrower and

Please note - Increased risk of bleeding therefore careful monitoring for signs/symptoms of bleeding complications & anaemia required after treatment initiation in patients: