Quaternary Cryptographic Bent Functions and their Binary projection - - PowerPoint PPT Presentation

quaternary cryptographic bent functions and their binary
SMART_READER_LITE
LIVE PREVIEW

Quaternary Cryptographic Bent Functions and their Binary projection - - PowerPoint PPT Presentation

B-Q-Fcts G-R Construction D-B-Fcts Example Quaternary Cryptographic Bent Functions and their Binary projection JADDA Zoubida 1 QARBOUA Soukayna 2 PARRAUD Patrice 1 1 Ecoles Militaires de Saint-Cyr Cotquidan, FRANCE CREC, UR - MACCLIA


slide-1
SLIDE 1

B-Q-Fcts G-R Construction D-B-Fcts Example

Quaternary Cryptographic Bent Functions and their Binary projection

JADDA Zoubida1 QARBOUA Soukayna2 PARRAUD Patrice1

1Ecoles Militaires de Saint-Cyr Coëtquidan, FRANCE

CREC, UR - MACCLIA zoubida.jadda@st-cyr.terre-net.defense.gouv.fr patrice.parraud@st-cyr.terre-net.defense.gouv.fr

2LMIA, Faculty of Sciences, University of Mohamed V Agdal, Rabat, Morocco

soukayna.qarboua@gmail.com

JOURNÉES C2, OCTOBER 2012 / DINARD

JADDA & PARRAUD & QARBOUA 2012

slide-2
SLIDE 2

B-Q-Fcts G-R Construction D-B-Fcts Example

The aim of this work

m-variables quaternary functions(F, m) F : GR(4, m) → Z4 Z4 = {0, 1, 2, 3} n − variables boolean functions(f, n) f : Fn

2 → F2

(F2 = {0, 1})

The quaternary approach (CONSTRUCTION): GALOIS rings R = GR(4, m). CRYPTOGRAPHIC properties . Characterization of a family of quaternary CRYPTOGRAPHIC functions. From Z4 to F2 (APPLICATION): The binary projection. Drived boolean cryptographic functions.

JADDA & PARRAUD & QARBOUA 2012

slide-3
SLIDE 3

B-Q-Fcts G-R Construction D-B-Fcts Example

The aim of this work

m-variables quaternary functions(F, m) F : GR(4, m) → Z4 Z4 = {0, 1, 2, 3} n − variables boolean functions(f, n) f : Fn

2 → F2

(F2 = {0, 1})

The quaternary approach (CONSTRUCTION): GALOIS rings R = GR(4, m). CRYPTOGRAPHIC properties . Characterization of a family of quaternary CRYPTOGRAPHIC functions. From Z4 to F2 (APPLICATION): The binary projection. Drived boolean cryptographic functions.

JADDA & PARRAUD & QARBOUA 2012

slide-4
SLIDE 4

B-Q-Fcts G-R Construction D-B-Fcts Example

The aim of this work

m-variables quaternary functions(F, m) F : GR(4, m) → Z4 Z4 = {0, 1, 2, 3} n − variables boolean functions(f, n) f : Fn

2 → F2

(F2 = {0, 1})

The quaternary approach (CONSTRUCTION): GALOIS rings R = GR(4, m). CRYPTOGRAPHIC properties . Characterization of a family of quaternary CRYPTOGRAPHIC functions. From Z4 to F2 (APPLICATION):

CONTEXT:

The binary projection. Drived boolean cryptographic functions.

JADDA & PARRAUD & QARBOUA 2012

slide-5
SLIDE 5

B-Q-Fcts G-R Construction D-B-Fcts Example

The aim of this work

m-variables quaternary functions(F, m) F : GR(4, m) → Z4 Z4 = {0, 1, 2, 3} n − variables boolean functions(f, n) f : Fn

2 → F2

(F2 = {0, 1})

The quaternary approach (CONSTRUCTION): GALOIS rings R = GR(4, m). CRYPTOGRAPHIC properties . Characterization of a family of quaternary CRYPTOGRAPHIC functions. From Z4 to F2 (APPLICATION):

CONTEXT:

The binary projection. Drived boolean cryptographic functions.

JADDA & PARRAUD & QARBOUA 2012

slide-6
SLIDE 6

B-Q-Fcts G-R Construction D-B-Fcts Example

Outline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-7
SLIDE 7

B-Q-Fcts G-R Construction D-B-Fcts Example

Outline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-8
SLIDE 8

B-Q-Fcts G-R Construction D-B-Fcts Example

Outline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-9
SLIDE 9

B-Q-Fcts G-R Construction D-B-Fcts Example

Outline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-10
SLIDE 10

B-Q-Fcts G-R Construction D-B-Fcts Example

Outline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-11
SLIDE 11

B-Q-Fcts G-R Construction D-B-Fcts Example

  • utline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-12
SLIDE 12

B-Q-Fcts G-R Construction D-B-Fcts Example

Boolean functions

Let f : Fn

2 −

→ F2

Truth table Support Weight HAMMING metric : [f(0, · · · , 0), · · · , f(1, · · · , 1)]2n : supp(f) = {u ∈ Fn

2 | f(u) = 0}

: wH(f) =| supp(f) | : dH(f, g) = wH(f ⊕ g)(⊕= +mod(2))

JADDA & PARRAUD & QARBOUA 2012

slide-13
SLIDE 13

B-Q-Fcts G-R Construction D-B-Fcts Example

Boolean functions

Let f : Fn

2 −

→ F2

Truth table Support Weight HAMMING metric : [f(0, · · · , 0), · · · , f(1, · · · , 1)]2n : supp(f) = {u ∈ Fn

2 | f(u) = 0}

: wH(f) =| supp(f) | : dH(f, g) = wH(f ⊕ g)(⊕= +mod(2))

CRYPTOGRAPHIC PROPERTIES.

Walsh transform : Wf (u) =

  • v∈Fn

2

(−1)u.v(−1)f(v), u ∈ Fn

2

Balancedness : wH(f) = 2n−1 ⇐ ⇒ Wf(0) = 0 Nonlinearity : nl2(f) = min

g affinedH(f, g)

⇐ ⇒ nl2(f) =2n−1 − 1

2 max u∈Fn

2

|Wf(u)|

JADDA & PARRAUD & QARBOUA 2012

slide-14
SLIDE 14

B-Q-Fcts G-R Construction D-B-Fcts Example

Boolean functions

Let f : Fn

2 −

→ F2

Truth table Support Weight HAMMING metric : [f(0, · · · , 0), · · · , f(1, · · · , 1)]2n : supp(f) = {u ∈ Fn

2 | f(u) = 0}

: wH(f) =| supp(f) | : dH(f, g) = wH(f ⊕ g)(⊕= +mod(2))

CRYPTOGRAPHIC PROPERTIES.

Walsh transform : Wf (u) =

  • v∈Fn

2

(−1)u.v(−1)f(v), u ∈ Fn

2

Balancedness : wH(f) = 2n−1 ⇐ ⇒ Wf(0) = 0 Nonlinearity : nl2(f) = min

g affinedH(f, g)

⇐ ⇒ nl2(f) =2n−1 − 1

2 max u∈Fn

2

|Wf(u)| f is bent ⇐ ⇒ ∀u ∈ Fn

2,

|Wf(u)| = 2

n 2 .

Maximal nonlinearity (2n−1 − 2

n 2 −1) for n even but (not balanced).

JADDA & PARRAUD & QARBOUA 2012

slide-15
SLIDE 15

B-Q-Fcts G-R Construction D-B-Fcts Example

Quaternary functions

Let F, G ∈ F(Zm

4 , Z4) : Zm 4 −

→ Z4

The ring of integers modulus 4 The group of 4th root of unity in C

Z4 = Z/4Z = {0, 1, 2, 3}

group

∼ U4 = {±1, ±i} i2 = −1

JADDA & PARRAUD & QARBOUA 2012

slide-16
SLIDE 16

B-Q-Fcts G-R Construction D-B-Fcts Example

Quaternary functions

Let F, G ∈ F(Zm

4 , Z4) : Zm 4 −

→ Z4

The ring of integers modulus 4 The group of 4th root of unity in C

Z4 = Z/4Z = {0, 1, 2, 3}

group

∼ U4 = {±1, ±i} i2 = −1

Truth table Relative support Relative cardinal : [F(0, · · · , 0), · · · , F(1, · · · , 1)]4m : suppj(F) = {u ∈ Zm

4 | F(u) = j}0≤j≤3

: ηj(F) =| suppj(F) | LEE METRIC

z ∈ Z4 1 2 3 wL(z) 1 2 1

LEE Weight LEE Distance : wL(F) = η1(F) + 2η2(F) + η3(F) : dL(F, G) = wL(F − G)[”−” mod(4)]

JADDA & PARRAUD & QARBOUA 2012

slide-17
SLIDE 17

B-Q-Fcts G-R Construction D-B-Fcts Example

Quaternary functions

Let F, G ∈ F(Zm

4 , Z4) : Zm 4 −

→ Z4

The ring of integers modulus 4 The group of 4th root of unity in C

Z4 = Z/4Z = {0, 1, 2, 3}

group

∼ U4 = {±1, ±i} i2 = −1

Truth table Relative support Relative cardinal : [F(0, · · · , 0), · · · , F(1, · · · , 1)]4m : suppj(F) = {u ∈ Zm

4 | F(u) = j}0≤j≤3

: ηj(F) =| suppj(F) | LEE METRIC

z ∈ Z4 1 2 3 wL(z) 1 2 1

LEE Weight LEE Distance : wL(F) = η1(F) + 2η2(F) + η3(F) : dL(F, G) = wL(F − G)[”−” mod(4)]

WALSH TRANSFORM.

WF (u) =

  • v∈Zn

4

iu.viF(v), u ∈ Zn

4

W 2

F (u) =

  • v∈Zm

4

iu.v(−1)F(v) , u ∈ Zn

4 JADDA & PARRAUD & QARBOUA 2012

slide-18
SLIDE 18

B-Q-Fcts G-R Construction D-B-Fcts Example

CRYPTOGRAPHIC PROPERTIES.

Let F ∈ F(Zm

4 , Z4)

The function F is balanced ⇐ ⇒ ηj(F) = 4m−1 ∀j ∈ {0, 1, 2, 3} ⇐ ⇒ WF(0) = W 2

F (0) = 0

The nonlinearity of F : nlL

4(F)

= min

G affinedL(F, G)

= 4m − max

a∈Zm

4 ,b∈Z4

  • Re(ibWF(a))
  • JADDA & PARRAUD & QARBOUA

2012

slide-19
SLIDE 19

B-Q-Fcts G-R Construction D-B-Fcts Example

CRYPTOGRAPHIC PROPERTIES.

Let F ∈ F(Zm

4 , Z4)

The function F is balanced ⇐ ⇒ ηj(F) = 4m−1 ∀j ∈ {0, 1, 2, 3} ⇐ ⇒ WF(0) = W 2

F (0) = 0

The nonlinearity of F : nlL

4(F)

= min

G affinedL(F, G)

= 4m − max

a∈Zm

4 ,b∈Z4

  • Re(ibWF(a))
  • F is bent ⇐

⇒ ∀x ∈ Zm

4 , |WF(x)| = 2m The nonlinearity of a bent function F is nlL

4(F) = 4m − 2m. JADDA & PARRAUD & QARBOUA 2012

slide-20
SLIDE 20

B-Q-Fcts G-R Construction D-B-Fcts Example

  • utline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-21
SLIDE 21

B-Q-Fcts G-R Construction D-B-Fcts Example

GALOIS Rings

THE MULTIPLICATIVE REPRESENTATION AND CYCLOTOMIC CLASSES

R ≃ Z4[x]/(g(x)) (b_poly of deg m)≃ Z4[β] (2m−1throot of unity )≃ Zm

4

JADDA & PARRAUD & QARBOUA 2012

slide-22
SLIDE 22

B-Q-Fcts G-R Construction D-B-Fcts Example

GALOIS Rings

THE MULTIPLICATIVE REPRESENTATION AND CYCLOTOMIC CLASSES

R ≃ Z4[x]/(g(x)) (b_poly of deg m)≃ Z4[β] (2m−1throot of unity )≃ Zm

4

GR(4, m) = R∗/T ∪ D ∪ T

∀z ∈ R, z =        βj if z ∈ T ∗ 2βj if z ∈ D∗ (Multiplicative representation) βi + 2βj if z ∈ R∗/T 0 ≤ j, i ≤ 2m − 2 if z = 0

JADDA & PARRAUD & QARBOUA 2012

slide-23
SLIDE 23

B-Q-Fcts G-R Construction D-B-Fcts Example

GALOIS Rings

THE MULTIPLICATIVE REPRESENTATION AND CYCLOTOMIC CLASSES

R ≃ Z4[x]/(g(x)) (b_poly of deg m)≃ Z4[β] (2m−1throot of unity )≃ Zm

4

GR(4, m) = R∗/T ∪ D ∪ T

∀z ∈ R, z =        βj if z ∈ T ∗ 2βj if z ∈ D∗ (Multiplicative representation) βi + 2βj if z ∈ R∗/T 0 ≤ j, i ≤ 2m − 2 if z = 0

JADDA & PARRAUD & QARBOUA 2012

slide-24
SLIDE 24

B-Q-Fcts G-R Construction D-B-Fcts Example

GALOIS Rings

THE MULTIPLICATIVE REPRESENTATION AND CYCLOTOMIC CLASSES

R ≃ Z4[x]/(g(x)) (b_poly of deg m)≃ Z4[β] (2m−1throot of unity )≃ Zm

4

GR(4, m) = R∗/T ∪ D ∪ T

∀z ∈ R, z =        βj if z ∈ T ∗ 2βj if z ∈ D∗ (Multiplicative representation) βi + 2βj if z ∈ R∗/T 0 ≤ j, i ≤ 2m − 2 if z = 0

The 2m-CYCLOTOMIC CLASSES (Cj)0≤j≤2m−1 of order 2m − 1 of R∗ are defined by : Cj = {βl(1 + 2βj), 0 ≤ l ≤ 2m − 2} C2m−1 = {βl, 0 ≤ l ≤ 2m − 2} R = ∪2m−1

j=0

Cj ∪ D

Return JADDA & PARRAUD & QARBOUA 2012

slide-25
SLIDE 25

B-Q-Fcts G-R Construction D-B-Fcts Example

  • utline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-26
SLIDE 26

B-Q-Fcts G-R Construction D-B-Fcts Example

The m-variables quaternary function

DEFINITION OF Fk : ∀k ∈ {0, 1, .., 2m − 2} We define the m-variables quaternary function Fk as follow : Fk : R → Z4 a + 2b → Fk(a + 2b) = hk(βk(1 + 2ba2m−2)) where, hk : Ck → Z4 and Ck = {βk} ∪ {βk(1 + 2βj) , 0 ≤ j ≤ 2m − 2}

JADDA & PARRAUD & QARBOUA 2012

slide-27
SLIDE 27

B-Q-Fcts G-R Construction D-B-Fcts Example

The m-variables quaternary function

DEFINITION OF Fk : ∀k ∈ {0, 1, .., 2m − 2} We define the m-variables quaternary function Fk as follow : Fk : R → Z4 a + 2b → Fk(a + 2b) = hk(βk(1 + 2ba2m−2)) where, hk : Ck → Z4 and Ck = {βk} ∪ {βk(1 + 2βj) , 0 ≤ j ≤ 2m − 2} CARACTERISATION OF Fk : Fk(x) = hk(βk(1 + 2βj)) if x ∈ Cj, 0 ≤ j ≤ 2m − 2. hk(βk) if x ∈ C2m−1 ∪ D.

Go to JADDA & PARRAUD & QARBOUA 2012

slide-28
SLIDE 28

B-Q-Fcts G-R Construction D-B-Fcts Example

Conditions on the intern function hk

Relation between bentness of Fk and his intern function hk

∀k ∈ {0, 1, .., 2m − 2} The q-ary function Fk is bent if ∀x ∈ T   

  • v∈Ck ihk(v) = 0

(1) |

v∈T ihk(βk(1+2v))+3Tr(v⊕x)| = 2

m 2

(2) with, ∀a, b ∈ T , a⊕b = a + b + 2(ab)2m−1 ∈ T ∀z ∈ R, Tr(z) = m−1

l=0 σl(z)

∈ Z4

JADDA & PARRAUD & QARBOUA 2012

slide-29
SLIDE 29

B-Q-Fcts G-R Construction D-B-Fcts Example

Algebraic duality

Let note E∗ the dual of T , and L(x, y) : T × T → 2F2 a bilinear, symetric and nondegenerate function. if, ∀x ∈ T    l1(x) = L(b1, x) are three balanced functions l2(x) = L(b2, x) where b1 = b2 = 0 and, l3(x) = L(b3, x) b3 = b1 ⊕ b2

JADDA & PARRAUD & QARBOUA 2012

slide-30
SLIDE 30

B-Q-Fcts G-R Construction D-B-Fcts Example

Algebraic duality

Let note E∗ the dual of T , and L(x, y) : T × T → 2F2 a bilinear, symetric and nondegenerate function. if, ∀x ∈ T    l1(x) = L(b1, x) are three balanced functions l2(x) = L(b2, x) where b1 = b2 = 0 and, l3(x) = L(b3, x) b3 = b1 ⊕ b2 Then the orthogonal of B={0, b1, b2, b3} is : B⊥ = {x ∈ T | ∀l ∈ B∗ : l(x) = 0}, B∗ = {l1, l2} And, if ∀ i ∈ {1, 2, 3} bi / ∈ B⊥ = ⇒ |B⊥| = 2m−2

JADDA & PARRAUD & QARBOUA 2012

slide-31
SLIDE 31

B-Q-Fcts G-R Construction D-B-Fcts Example

Algebraic duality

Let note E∗ the dual of T , and L(x, y) : T × T → 2F2 a bilinear, symetric and nondegenerate function. if, ∀x ∈ T    l1(x) = L(b1, x) are three balanced functions l2(x) = L(b2, x) where b1 = b2 = 0 and, l3(x) = L(b3, x) b3 = b1 ⊕ b2 Then the orthogonal of B={0, b1, b2, b3} is : B⊥ = {x ∈ T | ∀l ∈ B∗ : l(x) = 0}, B∗ = {l1, l2} And, if ∀ i ∈ {1, 2, 3} bi / ∈ B⊥ = ⇒ |B⊥| = 2m−2 Example of splitting: Let L(x, y) = 2Tr(xy) and b1 = b2 ∈ T ∗ with Tr(b1) is even and Tr(b1b2) is

  • dd Then :

JADDA & PARRAUD & QARBOUA 2012

slide-32
SLIDE 32

B-Q-Fcts G-R Construction D-B-Fcts Example

Algebraic duality

Let note E∗ the dual of T , and L(x, y) : T × T → 2F2 a bilinear, symetric and nondegenerate function. if, ∀x ∈ T    l1(x) = L(b1, x) are three balanced functions l2(x) = L(b2, x) where b1 = b2 = 0 and, l3(x) = L(b3, x) b3 = b1 ⊕ b2 Then the orthogonal of B={0, b1, b2, b3} is : B⊥ = {x ∈ T | ∀l ∈ B∗ : l(x) = 0}, B∗ = {l1, l2} And, if ∀ i ∈ {1, 2, 3} bi / ∈ B⊥ = ⇒ |B⊥| = 2m−2 Example of splitting: Let L(x, y) = 2Tr(xy) and b1 = b2 ∈ T ∗ with Tr(b1) is even and Tr(b1b2) is

  • dd Then :

T = B⊥ ⊕ B = ∪3

i=0bi ⊕ B⊥ JADDA & PARRAUD & QARBOUA 2012

slide-33
SLIDE 33

B-Q-Fcts G-R Construction D-B-Fcts Example

CONSTRUCTION OF hk

Let α = (α0, α1, α2, α3) ∈ Z4

4 such that:

(S1)        | iα0 + iα1 + iα2 + iα3 | = 2 | iα0 + iα1 − iα2 − iα3 | = 2 | iα0 − iα1 + iα2 − iα3 | = 2 | iα0 − iα1 − iα2 + iα3 | = 2 and b1, b2 ∈ T ∗ defined in the splitting example.

JADDA & PARRAUD & QARBOUA 2012

slide-34
SLIDE 34

B-Q-Fcts G-R Construction D-B-Fcts Example

CONSTRUCTION OF hk

Let α = (α0, α1, α2, α3) ∈ Z4

4 such that:

(S1)        | iα0 + iα1 + iα2 + iα3 | = 2 | iα0 + iα1 − iα2 − iα3 | = 2 | iα0 − iα1 + iα2 − iα3 | = 2 | iα0 − iα1 − iα2 + iα3 | = 2 and b1, b2 ∈ T ∗ defined in the splitting example. ∀ 0 ≤ j = i ≤ 3, αi + Tr(bi) = αj + Tr(bj) (S2)

JADDA & PARRAUD & QARBOUA 2012

slide-35
SLIDE 35

B-Q-Fcts G-R Construction D-B-Fcts Example

CONSTRUCTION OF hk

Let α = (α0, α1, α2, α3) ∈ Z4

4 such that:

(S1)        | iα0 + iα1 + iα2 + iα3 | = 2 | iα0 + iα1 − iα2 − iα3 | = 2 | iα0 − iα1 + iα2 − iα3 | = 2 | iα0 − iα1 − iα2 + iα3 | = 2 and b1, b2 ∈ T ∗ defined in the splitting example. ∀ 0 ≤ j = i ≤ 3, αi + Tr(bi) = αj + Tr(bj) (S2) Then the intern function hk defined by : ∀j, 0 ≤ j ≤ 3, ∀x ∈ B⊥ ⊕ bj, hk(βk(1 + 2x)) = αj + Tr(bj) verifies the conditions (1) and (2) .

JADDA & PARRAUD & QARBOUA 2012

slide-36
SLIDE 36

B-Q-Fcts G-R Construction D-B-Fcts Example

CONSTRUCTION OF hk

Let α = (α0, α1, α2, α3) ∈ Z4

4 such that:

(S1)        | iα0 + iα1 + iα2 + iα3 | = 2 | iα0 + iα1 − iα2 − iα3 | = 2 | iα0 − iα1 + iα2 − iα3 | = 2 | iα0 − iα1 − iα2 + iα3 | = 2 and b1, b2 ∈ T ∗ defined in the splitting example. ∀ 0 ≤ j = i ≤ 3, αi + Tr(bi) = αj + Tr(bj) (S2) Then the intern function hk defined by : ∀j, 0 ≤ j ≤ 3, ∀x ∈ B⊥ ⊕ bj, hk(βk(1 + 2x)) = αj + Tr(bj) verifies the conditions (1) and (2) . Let α a solution of (S2) then α + i mod 4 and σ13(α) are also solutions.

JADDA & PARRAUD & QARBOUA 2012

slide-37
SLIDE 37

B-Q-Fcts G-R Construction D-B-Fcts Example

Solutions and models

We note a model a the vector (a0, a1, a2, a3) defined by: ∀ 0 ≤ i = j ≤ 3, aj = αj + Tr(bj) and ai = aj.

JADDA & PARRAUD & QARBOUA 2012

slide-38
SLIDE 38

B-Q-Fcts G-R Construction D-B-Fcts Example

Solutions and models

We note a model a the vector (a0, a1, a2, a3) defined by: ∀ 0 ≤ i = j ≤ 3, aj = αj + Tr(bj) and ai = aj. If a is a model ⇒    a + l mod 4 0 ≤ l ≤ 3 are σl(a) = (al, al+1, al+2, al+3) also models

JADDA & PARRAUD & QARBOUA 2012

slide-39
SLIDE 39

B-Q-Fcts G-R Construction D-B-Fcts Example

Solutions and models

We note a model a the vector (a0, a1, a2, a3) defined by: ∀ 0 ≤ i = j ≤ 3, aj = αj + Tr(bj) and ai = aj. If a is a model ⇒    a + l mod 4 0 ≤ l ≤ 3 are σl(a) = (al, al+1, al+2, al+3) also models Forall balanced function hk defined by : h(βk(1 + 2x) = aj if x ∈ bj ⊕ B⊥ , ∃ α satisfying (S2)

JADDA & PARRAUD & QARBOUA 2012

slide-40
SLIDE 40

B-Q-Fcts G-R Construction D-B-Fcts Example

Solutions and models

We note a model a the vector (a0, a1, a2, a3) defined by: ∀ 0 ≤ i = j ≤ 3, aj = αj + Tr(bj) and ai = aj. If a is a model ⇒    a + l mod 4 0 ≤ l ≤ 3 are σl(a) = (al, al+1, al+2, al+3) also models Forall balanced function hk defined by : h(βk(1 + 2x) = aj if x ∈ bj ⊕ B⊥ , ∃ α satisfying (S2) The quaternary Bent function, Fk : R = ∪2m−1

j=0

Cj ∪ D → Z4

  • Fk(Cj)

= aj if βj ∈ B⊥ ⊕ bj Fk(D ∪ T ∗) = a0

JADDA & PARRAUD & QARBOUA 2012

slide-41
SLIDE 41

B-Q-Fcts G-R Construction D-B-Fcts Example

  • utline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-42
SLIDE 42

B-Q-Fcts G-R Construction D-B-Fcts Example

The vector representation of elements of R

R = GR(4, m) = T ∗ ∪ D ∪ (∪2m−2

j=0

Cj)

JADDA & PARRAUD & QARBOUA 2012

slide-43
SLIDE 43

B-Q-Fcts G-R Construction D-B-Fcts Example

The vector representation of elements of R

R = GR(4, m) = T ∗ ∪ D ∪ (∪2m−2

j=0

Cj)

d

≃ Z4[β] = E∗ ∪ W ∪ (∪2m−2

j=0

Vj) ∀z ∈ R : z = m−1

j=0 zjβj zj ∈Z4

(Additive representation) with, β a root of the b_polynomial

z ∈ Zm

4

   E = d(T ) = {0} ∪ {vi, 0 ≤ i ≤ 2m − 2} W = d(D) = {0} ∪ {2vi, 0 ≤ i ≤ 2m − 2}(vi ×vj =vi+j[2m−1]) Vj = d(Cj) = {vl(1 + 2vj), 0 ≤ l ≤ 2m − 2}

JADDA & PARRAUD & QARBOUA 2012

slide-44
SLIDE 44

B-Q-Fcts G-R Construction D-B-Fcts Example

The vector representation of elements of R

R = GR(4, m) = T ∗ ∪ D ∪ (∪2m−2

j=0

Cj)

d

≃ Z4[β] = E∗ ∪ W ∪ (∪2m−2

j=0

Vj) ∀z ∈ R : z = m−1

j=0 zjβj zj ∈Z4

(Additive representation) with, β a root of the b_polynomial

z ∈ Zm

4

   E = d(T ) = {0} ∪ {vi, 0 ≤ i ≤ 2m − 2} W = d(D) = {0} ∪ {2vi, 0 ≤ i ≤ 2m − 2}(vi ×vj =vi+j[2m−1]) Vj = d(Cj) = {vl(1 + 2vj), 0 ≤ l ≤ 2m − 2}

JADDA & PARRAUD & QARBOUA 2012

slide-45
SLIDE 45

B-Q-Fcts G-R Construction D-B-Fcts Example

The vector representation of elements of R

R = GR(4, m) = T ∗ ∪ D ∪ (∪2m−2

j=0

Cj)

d

≃ Z4[β] = E∗ ∪ W ∪ (∪2m−2

j=0

Vj) ∀z ∈ R : z = m−1

j=0 zjβj zj ∈Z4

(Additive representation) with, β a root of the b_polynomial

z ∈ Zm

4

   E = d(T ) = {0} ∪ {vi, 0 ≤ i ≤ 2m − 2} W = d(D) = {0} ∪ {2vi, 0 ≤ i ≤ 2m − 2}(vi ×vj =vi+j[2m−1]) Vj = d(Cj) = {vl(1 + 2vj), 0 ≤ l ≤ 2m − 2} REDEFINITION OF Fk (k ∈ {0, 1, .., 2m − 2}): ¯ Fk : E∗ ∪ W ∪ (∪2m−2

j=0

Vj) → Z4 u + 2v → ¯ Fk(u + 2v) = Fk(d−1(u + 2v)) ¯ hk : d(Ck) → Z4, ¯ hk(x) = hk(d−1(x))

JADDA & PARRAUD & QARBOUA 2012

slide-46
SLIDE 46

B-Q-Fcts G-R Construction D-B-Fcts Example

The direct mapping between Zm

4 and F2m 2

FROM Zm

4

TO F2

2m:

ϕ : Zm

4

→ F2m

2

u + 2v → ˜ u ˜ v

is a bijection. where˜is the component mod 2 reduction and || is the concatenation.

JADDA & PARRAUD & QARBOUA 2012

slide-47
SLIDE 47

B-Q-Fcts G-R Construction D-B-Fcts Example

The direct mapping between Zm

4 and F2m 2

FROM Zm

4

TO F2

2m:

ϕ : Zm

4

→ F2m

2

u + 2v → ˜ u ˜ v

is a bijection. where˜is the component mod 2 reduction and || is the concatenation. F2m

2

= ϕ(Zm

4 ) = ∪2m−2 j=0 ϕ(Vj) ∪ ϕ(E∗) ∪ ϕ(w)

JADDA & PARRAUD & QARBOUA 2012

slide-48
SLIDE 48

B-Q-Fcts G-R Construction D-B-Fcts Example

The direct mapping between Zm

4 and F2m 2

FROM Zm

4

TO F2

2m:

ϕ : Zm

4

→ F2m

2

u + 2v → ˜ u ˜ v

is a bijection. where˜is the component mod 2 reduction and || is the concatenation. F2m

2

= ϕ(Zm

4 ) = ∪2m−2 j=0 ϕ(Vj) ∪ ϕ(E∗) ∪ ϕ(w)

Let ψi∈N any mapping from Z4 to F2 such that :

  • x∈Z4(−1)ψi(x) = 0

Example: ψi(2q + r) = q or ψi(2q + r) = q + r (mod 2).

JADDA & PARRAUD & QARBOUA 2012

slide-49
SLIDE 49

B-Q-Fcts G-R Construction D-B-Fcts Example

The 2m-variables Derived boolean functions

DEFINITION OF f : The 2m-variables boolean function f derived from the quaternary constructed function Fk and defined as : f : F2m

2

→ F2 x → ψi(¯ Fk(ϕ−1(x))) is bent.

JADDA & PARRAUD & QARBOUA 2012

slide-50
SLIDE 50

B-Q-Fcts G-R Construction D-B-Fcts Example

The 2m-variables Derived boolean functions

DEFINITION OF f : The 2m-variables boolean function f derived from the quaternary constructed function Fk and defined as : f : F2m

2

→ F2 x → ψi(¯ Fk(ϕ−1(x))) is bent. CARACTERISATION OF f : ∀(˜ u||˜ v) ∈ F2m

2

= ϕ(Zm

4 ) = ∪2m−2 j=0 ϕ(Vj) ∪ ϕ(E∗) ∪ ϕ(w)

f(˜ u||˜ v) = ψi(¯ hk(vk(v0 + 2vj)) if ϕ−1(˜ u||˜ v) ∈ Vj 0≤j≤2m−2 ψi(¯ hk(vk)) if ϕ−1(˜ u||˜ v) ∈ E∗ ∪ W

JADDA & PARRAUD & QARBOUA 2012

slide-51
SLIDE 51

B-Q-Fcts G-R Construction D-B-Fcts Example

The 2m + 1-variables derived boolean functions

DEFINITION OF f : The derived boolean function f defined as : f : F2m+1

2

→ F2 x||ε → ψε(¯ Fk(ϕ−1(x))) has maximal nonlinearity equal to 4m − 2m+1.

JADDA & PARRAUD & QARBOUA 2012

slide-52
SLIDE 52

B-Q-Fcts G-R Construction D-B-Fcts Example

The 2m + 1-variables derived boolean functions

DEFINITION OF f : The derived boolean function f defined as : f : F2m+1

2

→ F2 x||ε → ψε(¯ Fk(ϕ−1(x))) has maximal nonlinearity equal to 4m − 2m+1. CARACTERISATION OF f : ∀(˜ u||˜ v||ε) ∈ F2m+1

2

= ϕ(Zm

4 )||ε = ∪2m−2 j=0 ϕ(Vj)||ε∪ϕ(E∗)||ε∪ϕ(w)||ε

f(˜ u||˜ v||ε) = ψε(¯ hk(vk(v0 + 2vj))) if ˜ u||˜ v||ε ∈ ϕ(Vj)||ε, 0 ≤ j ≤ 2m − 2 ψε(¯ hk(ϕ−1(vk))) if ˜ u||˜ v||ε ∈ ϕ(E∗)||ε ∪ ϕ(W)||ε

JADDA & PARRAUD & QARBOUA 2012

slide-53
SLIDE 53

B-Q-Fcts G-R Construction D-B-Fcts Example

  • utline

1

Boolean and Quaternary functions

2

Galois Rings

3

The construction

4

Derived boolean functions

5

Complete example of construction

JADDA & PARRAUD & QARBOUA 2012

slide-54
SLIDE 54

B-Q-Fcts G-R Construction D-B-Fcts Example

Example of construction (GALOIS Ring)

(a0, a1, a2a3) = (0, 2, 1, 3)

JADDA & PARRAUD & QARBOUA 2012

slide-55
SLIDE 55

B-Q-Fcts G-R Construction D-B-Fcts Example

Example of construction (GALOIS Ring)

(a0, a1, a2a3) = (0, 2, 1, 3)

R = GR(4, 3)

d

≃ Z4[β],

g(x) = x3 + 2x2 + x + 3, with β be a root of g(x) of order 7 .

JADDA & PARRAUD & QARBOUA 2012

slide-56
SLIDE 56

B-Q-Fcts G-R Construction D-B-Fcts Example

Example of construction (GALOIS Ring)

(a0, a1, a2a3) = (0, 2, 1, 3)

R = GR(4, 3)

d

≃ Z4[β],

g(x) = x3 + 2x2 + x + 3, with β be a root of g(x) of order 7 .

T ∗ 1 β β2 β3 β4 β5 β6 E∗ { 1, 0, 0 } { 0, 1, 0 } { 0, 0, 1 } { 1, 3, 2 } { 2, 3, 3 } { 3, 3, 1 } { 1, 2, 1 } D∗ 2 2β 2β2 2β3 2β4 2β5 2β6 W∗ { 2, 0, 0 } { 0, 2, 0 } { 0, 0, 2 } { 2, 2, 0 } { 0, 2, 2 } { 2, 2, 2 } { 2, 0, 2 } C0 3 3β 3β2 3β3 3β4 3β5 3β6 C1 1 + 2β β + 2β2 β2 + 2β3 β3 + 2β4 β4 + 2β5 β5 + 2β6 β6 + 2 C2 1 + 2β2 β + 2β3 β2 + 2β4 β3 + 2β5 β4 + 2β6 β5 + 2 β6 + 2β C3 1 + 2β3 β + 2β4 β2 + 2β5 β3 + 2β6 β4 + 2 β5 + 2β β6 + 2β2 C4 1 + 2β4 β + 2β5 β2 + 2β6 β3 + 2 β4 + 2β β5 + 2β2 β6 + 2β3 C5 1 + 2β5 β + 2β6 β2 + 2 β3 + 2β β4 + 2β2 β5 + 2β3 β6 + 2β4 C6 1 + 2β6 β + 2 β2 + 2β β3 + 2β2 β4 + 2β3 β5 + 2β4 β6 + 2β5 JADDA & PARRAUD & QARBOUA 2012

slide-57
SLIDE 57

B-Q-Fcts G-R Construction D-B-Fcts Example

Example of construction (GALOIS Ring)

(a0, a1, a2a3) = (0, 2, 1, 3)

R = GR(4, 3)

d

≃ Z4[β],

g(x) = x3 + 2x2 + x + 3, with β be a root of g(x) of order 7 .

T ∗ 1 β β2 β3 β4 β5 β6 E∗ { 1, 0, 0 } { 0, 1, 0 } { 0, 0, 1 } { 1, 3, 2 } { 2, 3, 3 } { 3, 3, 1 } { 1, 2, 1 } D∗ 2 2β 2β2 2β3 2β4 2β5 2β6 W∗ { 2, 0, 0 } { 0, 2, 0 } { 0, 0, 2 } { 2, 2, 0 } { 0, 2, 2 } { 2, 2, 2 } { 2, 0, 2 } C0 3 3β 3β2 3β3 3β4 3β5 3β6 V0 {3, 0, 0} {0, 3, 0} {0, 0, 3} {3, 1, 2} {2, 1, 1} {1, 1, 3} {3, 2, 3} C1 1 + 2β β + 2β2 β2 + 2β3 β3 + 2β4 β4 + 2β5 β5 + 2β6 β6 + 2 V1 {1, 2, 0} {0, 1, 2} {2, 2, 1} {1, 1, 0} {0, 1, 1} {1, 3, 3} {3, 2, 1} C2 1 + 2β2 β + 2β3 β2 + 2β4 β3 + 2β5 β4 + 2β6 β5 + 2 β6 + 2β V2 {1, 0, 2} {2, 3, 0} {0, 2, 3} {3, 1, 0} {0, 3, 1} {1, 3, 1} {1, 0, 1} C3 1 + 2β3 β + 2β4 β2 + 2β5 β3 + 2β6 β4 + 2 β5 + 2β β6 + 2β2 V3 {3, 2, 0} {0, 3, 2} {2, 2, 3} {3, 3, 0} {0, 3, 3} {3, 1, 1} {1, 2, 3} C4 1 + 2β4 β + 2β5 β2 + 2β6 β3 + 2 β4 + 2β β5 + 2β2 β6 + 2β3 V4 {1, 2, 2} {2, 3, 2} {2, 0, 3} {3, 3, 2} {2, 1, 3} {3, 3, 3} {3, 0, 1} C5 1 + 2β5 β + 2β6 β2 + 2 β3 + 2β β4 + 2β2 β5 + 2β3 β6 + 2β4 V5 {3, 2, 2} {2, 1, 2} {2, 0, 1} {1, 1, 2} {2, 3, 1} {1, 1, 1} {1, 0, 3} C6 1 + 2β6 β + 2 β2 + 2β β3 + 2β2 β4 + 2β3 β5 + 2β4 β6 + 2β5 V6 {3, 0, 2} {2, 1, 0} {0, 2, 1} {1, 3, 0} {0, 1, 3} {3, 1, 3} {3, 0, 3} JADDA & PARRAUD & QARBOUA 2012

slide-58
SLIDE 58

B-Q-Fcts G-R Construction D-B-Fcts Example

Choice of b1 and b2

bi ∈ T 1 β β2 β3 β4 β5 β6 Tr(bi) 3 2 2 1 2 1 1

JADDA & PARRAUD & QARBOUA 2012

slide-59
SLIDE 59

B-Q-Fcts G-R Construction D-B-Fcts Example

Choice of b1 and b2

bi ∈ T 1 β β2 β3 β4 β5 β6 Tr(bi) 3 2 2 1 2 1 1

We can choose b1 = ? and b2 = ? and b3 = b1 ⊕ b2 = ?

JADDA & PARRAUD & QARBOUA 2012

slide-60
SLIDE 60

B-Q-Fcts G-R Construction D-B-Fcts Example

Choice of b1 and b2

bi ∈ T 1 β β2 β3 β4 β5 β6 Tr(bi) 3 2 2 1 2 1 1

We can choose b1 = ? and b2 = ? and b3 = b1 ⊕ b2 = ?

⊕ b1 1 β β2 β3 β4 β5 β6 b2 1 β3 β6 β β5 β4 β2 1 β β3 β4 1 β2 β6 β5 β β2 β6 β4 β5 β β3 1 β2 β3 β 1 β5 β6 β2 β4 β3 β4 β5 β2 β β6 1 β3 β4 β5 β4 β6 β3 β2 1 β β5 β6 β2 β5 1 β4 β3 β β6 1 β β2 β3 β4 β5 β6 JADDA & PARRAUD & QARBOUA 2012

slide-61
SLIDE 61

B-Q-Fcts G-R Construction D-B-Fcts Example

Choice of b1 and b2

bi ∈ T 1 β β2 β3 β4 β5 β6 Tr(bi) 3 2 2 1 2 1 1

We can choose b1 = β2 and b2 = β3 and b3 = b1 ⊕ b2 = β5

⊕ b1 1 β β2 β3 β4 β5 β6 b2 1 β3 β6 β β5 β4 β2 1 β β3 β4 1 β2 β6 β5 β β2 β6 β4 β5 β β3 1 β2 β3 β 1 β5 β6 β2 β4 β3 β4 β5 β2 β β6 1 β3 β4 β5 β4 β6 β3 β2 1 β β5 β6 β2 β5 1 β4 β3 β β6 1 β β2 β3 β4 β5 β6 JADDA & PARRAUD & QARBOUA 2012

slide-62
SLIDE 62

B-Q-Fcts G-R Construction D-B-Fcts Example

Choice of b1 and b2

bi ∈ T 1 β β2 β3 β4 β5 β6 Tr(bi) 3 2 2 1 2 1 1

We can choose b1 = β2 and b2 = β3 and b3 = b1 ⊕ b2 = β5

⊕ b1 1 β β2 β3 β4 β5 β6 b2 1 β3 β6 β β5 β4 β2 1 β β3 β4 1 β2 β6 β5 β β2 β6 β4 β5 β β3 1 β2 β3 β 1 β5 β6 β2 β4 β3 β4 β5 β2 β β6 1 β3 β4 β5 β4 β6 β3 β2 1 β β5 β6 β2 β5 1 β4 β3 β β6 1 β β2 β3 β4 β5 β6

We have T = ∪3

i=0B⊥ ⊕ bi and B⊥ = {x ∈ T , 2Tr(xb1) = 2Tr(xb2) = 0}

B⊥ ⊕ b0 = {0, β6} B⊥ ⊕ b1 = {β2, 1} B⊥ ⊕ b2 = {β3, β4} B⊥ ⊕ b3 = {β5, β}

JADDA & PARRAUD & QARBOUA 2012

slide-63
SLIDE 63

B-Q-Fcts G-R Construction D-B-Fcts Example

Then we can definie explicitly our quaternary function like that:

∀x ∈ R, Fk(x) =        if x ∈ ∪C6 ∪ D ∪ T ∗ 2 if x ∈ ∪C2 ∪ C0 1 if x ∈ ∪C3 ∪ C4 3 if x ∈ ∪C5 ∪ C1

JADDA & PARRAUD & QARBOUA 2012

slide-64
SLIDE 64

B-Q-Fcts G-R Construction D-B-Fcts Example

Then we can definie explicitly our quaternary function like that:

∀x ∈ R, Fk(x) =        if x ∈ ∪C6 ∪ D ∪ T ∗ 2 if x ∈ ∪C2 ∪ C0 1 if x ∈ ∪C3 ∪ C4 3 if x ∈ ∪C5 ∪ C1

Then ¯ F is defined such that:

∀x ∈ Zm

4 , ¯

Fk(x) =        if x ∈ ∪V6 ∪ W ∪ E∗ 2 if x ∈ ∪V2 ∪ V0 1 if x ∈ ∪V3 ∪ V4 3 if x ∈ ∪V5 ∪ V1

JADDA & PARRAUD & QARBOUA 2012

slide-65
SLIDE 65

B-Q-Fcts G-R Construction D-B-Fcts Example

Let ψ : Z4 → F2 ,ψ(2q + r) = q then :

JADDA & PARRAUD & QARBOUA 2012

slide-66
SLIDE 66

B-Q-Fcts G-R Construction D-B-Fcts Example

Let ψ : Z4 → F2 ,ψ(2q + r) = q then : The 2m-Derived boolean function it’s constructed like that:

∀x ∈ Zm

4 , f(ϕ(x)) =

       if ϕ(x) ∈ ∪ϕ(V6) ∪ ϕ(W) ∪ ϕ(E∗) 1 if ϕ(x) ∈ ∪ϕ(V2) ∪ ϕ(V0) if ϕ(x) ∈ ∪ϕ(V3) ∪ ϕ(V4) 1 if ϕ(x) ∈ ∪ϕ(V5) ∪ ϕ(V1)

JADDA & PARRAUD & QARBOUA 2012

slide-67
SLIDE 67

B-Q-Fcts G-R Construction D-B-Fcts Example

Let ψ : Z4 → F2 ,ψ(2q + r) = q then : The 2m-Derived boolean function it’s constructed like that:

∀x ∈ Zm

4 , f(ϕ(x)) =

       if ϕ(x) ∈ ∪ϕ(V6) ∪ ϕ(W) ∪ ϕ(E∗) 1 if ϕ(x) ∈ ∪ϕ(V2) ∪ ϕ(V0) if ϕ(x) ∈ ∪ϕ(V3) ∪ ϕ(V4) 1 if ϕ(x) ∈ ∪ϕ(V5) ∪ ϕ(V1)

Let ψε∈{0,1} : Z4 → F2 , ψε(2q + r) = q ∗ ε + ¯ ε ∗ r then: The 2m + 1-Derived boolean function it’s defined like that:

JADDA & PARRAUD & QARBOUA 2012

slide-68
SLIDE 68

B-Q-Fcts G-R Construction D-B-Fcts Example

Let ψ : Z4 → F2 ,ψ(2q + r) = q then : The 2m-Derived boolean function it’s constructed like that:

∀x ∈ Zm

4 , f(ϕ(x)) =

       if ϕ(x) ∈ ∪ϕ(V6) ∪ ϕ(W) ∪ ϕ(E∗) 1 if ϕ(x) ∈ ∪ϕ(V2) ∪ ϕ(V0) if ϕ(x) ∈ ∪ϕ(V3) ∪ ϕ(V4) 1 if ϕ(x) ∈ ∪ϕ(V5) ∪ ϕ(V1)

Let ψε∈{0,1} : Z4 → F2 , ψε(2q + r) = q ∗ ε + ¯ ε ∗ r then: The 2m + 1-Derived boolean function it’s defined like that:

∀x ∈ Zm

4 , f(ϕ(x)||ε) =

       if ϕ(x)||ε ∈ ∪ϕ(V6)ε ∪ ϕ(W)ε ∪ ϕ(E∗)ε ε if ϕ(x)||ε ∈ ∪ϕ(V2)ε ∪ ϕ(V0)ε ¯ ε if ϕ(x)||ε ∈ ∪ϕ(V3)ε ∪ ϕ(V4)ε ε + ¯ ε if ϕ(x)||ε ∈ ∪ϕ(V5)ε ∪ ϕ(V1)ε

JADDA & PARRAUD & QARBOUA 2012

slide-69
SLIDE 69

B-Q-Fcts G-R Construction D-B-Fcts Example

Conclusion

THE QUATERNARY FUNCTION:

Fk : R = GR(4, m) → Z4 a + 2b → Fk(a + 2b) = hk(βk(1 + 2ba2m−2))

with ∀k, 0 ≤ k ≤ 2m − 2, hk : Ck → Z4

JADDA & PARRAUD & QARBOUA 2012

slide-70
SLIDE 70

B-Q-Fcts G-R Construction D-B-Fcts Example

Conclusion

THE QUATERNARY FUNCTION:

Fk : R = GR(4, m) → Z4 a + 2b → Fk(a + 2b) = hk(βk(1 + 2ba2m−2))

with ∀k, 0 ≤ k ≤ 2m − 2, hk : Ck → Z4

THE BINARY PROJECTIONS:

f : F2m

2

→ F2 x → ψi(Fk(d−1(ϕ−1(x)))) f : F2m+1

2

→ F2 x||ε → ψε(Fk(d−1(ϕ−1(x))))

with R

d

− → Zm

4 ϕ

− → F2m

2

and ψ, ψε : Z4

balanced

− → F2

JADDA & PARRAUD & QARBOUA 2012