2 Settings Continuous setting: C n : a lattice, : component-wise - - PowerPoint PPT Presentation

2 settings
SMART_READER_LITE
LIVE PREVIEW

2 Settings Continuous setting: C n : a lattice, : component-wise - - PowerPoint PPT Presentation

L ogarithmic L attices L eo Ducas Centrum Wiskunde & Informatica, Amsterdam, The Netherlands Workshop: Computational Challenges in the Theory of Lattices ICERM, Brown University, Providence, RI, USA, April 23-27, 2018 L. Ducas (CWI)


slide-1
SLIDE 1

Logarithmic Lattices

L´ eo Ducas

Centrum Wiskunde & Informatica, Amsterdam, The Netherlands

Workshop: Computational Challenges in the Theory of Lattices ICERM, Brown University, Providence, RI, USA, April 23-27, 2018

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 1 / 29

slide-2
SLIDE 2

2 Settings

Continuous setting: Λ ⊂ Cn: a lattice, ⊙: component-wise product on Cn. ExpΛ : v ∈ Cn → (exp(v1), . . . , exp(vn)) ⊙ Λ L = {v ∈ Cn s.t. ExpΛ(v) = Λ}. Discrete setting: B = {p1, . . . pn} ⊂ K ×: a set of primes of a field K. [·] : K × → G, a multiplicative morphism to a finite abelian group G. ExpB : v ∈ Zn →

  • pvi

i

  • L = {v ∈ Zn s.t. ExpB(v) = IdG}.
  • L. Ducas (CWI)

Logarithmic Lattices April 2018 2 / 29

slide-3
SLIDE 3

Logarithm Problem

Logarithms are only defined modL : ExpB(x) = ExpB(y) ⇔ x ∈ y + L LogB(g) := Exp−1

B (g) = x + L s.t. ExpB(x) = g

Hidden Subgroup Problem

Find the lattice L (a set of generators of L ). (typically: find one non-zero vector ⇒ find the whole lattice) Classically: Index Calculus Methods, Quantumly: [Eisentrger Hallgren Kitaev Song 14]

Discrete Logarithm Problem modp

R = Z, g, h ∈ (Z/pZ)×, [·] : x → x mod p, L = (p − 1)Z is known. DLP: Find a representative x ∈ Log(g)

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 3 / 29

slide-4
SLIDE 4

Short Logarithm Problems ?

... non-zero vector in a lattice (coset) ... Non-zero vector in a lattice, you said ? How short can it be ? Can it be found efficiently ? Fair question, but why would that matter ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 4 / 29

slide-5
SLIDE 5

Short Logarithm Problems ?

... non-zero vector in a lattice (coset) ... Non-zero vector in a lattice, you said ? How short can it be ? Can it be found efficiently ? Fair question, but why would that matter ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 4 / 29

slide-6
SLIDE 6

Short Logarithm Problems ?

... non-zero vector in a lattice (coset) ... Non-zero vector in a lattice, you said ? How short can it be ? Can it be found efficiently ? Fair question, but why would that matter ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 4 / 29

slide-7
SLIDE 7

Short Logarithm Problems ?

... non-zero vector in a lattice (coset) ... Non-zero vector in a lattice, you said ? How short can it be ? Can it be found efficiently ? Fair question, but why would that matter ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 4 / 29

slide-8
SLIDE 8

Short Logarithm Problems ?

Example (DLP over (Z/pZ)×)

dim L = 1: Shortest solution trivially found...

Example (Inside Index Caculus)

Step 1 (relation collection) find many vectors M = (v1 . . . vm) ∈ L . Step 2 (linear algebra) Solve the linear system Mx = y. Step 2 is faster if M is sparse: we want to make M “shorter” ! But dim L = HUGE: limited to ad-hoc micro improvements. More interesting cases for lattice theoretician and algorithmicians ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 5 / 29

slide-9
SLIDE 9

3 encounters with Logarithmic Lattices

[Cramer D. Peikert Regev 16]: Dirichlet’s Unit lattice [Cramer D. Wesolowsky 17]: Stickelberger’s Class-relation lattice Summary: These lattices admits a known almost-orthogonal basis ⇒ Can use lattice algorithm to solve ‘short-DLP’ ⇒ Break some crypto [Chor Rivest ’89]: Logarithmic lattices over (Z/pZ)× Summary: Make certain ‘short-DLP’ easy by design, get an efficiently decodable lattice, hide it for Crypto. [D. Pierrot ’18]: Logarithmic lattices over (Z/pZ)× Summary: Remove crypto from Chor-Rivest. Optimize asymptotically. Get close to Minkowski’s bound.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 6 / 29

slide-10
SLIDE 10

3 encounters with Logarithmic Lattices

[Cramer D. Peikert Regev 16]: Dirichlet’s Unit lattice [Cramer D. Wesolowsky 17]: Stickelberger’s Class-relation lattice Summary: These lattices admits a known almost-orthogonal basis ⇒ Can use lattice algorithm to solve ‘short-DLP’ ⇒ Break some crypto [Chor Rivest ’89]: Logarithmic lattices over (Z/pZ)× Summary: Make certain ‘short-DLP’ easy by design, get an efficiently decodable lattice, hide it for Crypto. [D. Pierrot ’18]: Logarithmic lattices over (Z/pZ)× Summary: Remove crypto from Chor-Rivest. Optimize asymptotically. Get close to Minkowski’s bound.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 6 / 29

slide-11
SLIDE 11

3 encounters with Logarithmic Lattices

[Cramer D. Peikert Regev 16]: Dirichlet’s Unit lattice [Cramer D. Wesolowsky 17]: Stickelberger’s Class-relation lattice Summary: These lattices admits a known almost-orthogonal basis ⇒ Can use lattice algorithm to solve ‘short-DLP’ ⇒ Break some crypto [Chor Rivest ’89]: Logarithmic lattices over (Z/pZ)× Summary: Make certain ‘short-DLP’ easy by design, get an efficiently decodable lattice, hide it for Crypto. [D. Pierrot ’18]: Logarithmic lattices over (Z/pZ)× Summary: Remove crypto from Chor-Rivest. Optimize asymptotically. Get close to Minkowski’s bound.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 6 / 29

slide-12
SLIDE 12

Part 1: The Logarithmic Lattice of cyclotomic units Part 2: Short Stickelberger’s Cℓ ass relations Part 3: Chor-Rivest dense Sphere-Packing with efficient decoding

For a Survey on 1 and 2, see [D. ’17], http://www.nieuwarchief.nl/serie5/pdf/naw5-2017-18-3-184.pdf

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 7 / 29

slide-13
SLIDE 13

Part 1: The Logarithmic Lattice of cyclotomic units

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 8 / 29

slide-14
SLIDE 14

Ideals and Principal Ideals

Cyclotomic number field: K(= Q(ωm)), ring of integer R = OK(= Z[ωm]).

Definition (Ideals)

◮ An integral ideal is a subset h ⊂ OK closed under addition, and by

multiplication by elements of OK,

◮ A (fractional) ideal is a subset f ⊂ K of the form f = 1 x h, where

x ∈ Z,

◮ A principal ideal is an ideal f of the form f = gOK for some g ∈ K.

In particular, ideals are lattices. We denote FK the set of fractional ideals, and PK the set of principal ideals.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 9 / 29

slide-15
SLIDE 15

The Problem

Short generator recovery

Given h ∈ R, find a small generator g of the ideal (h). Note that g ∈ (h) is a generator iff g = u · h for some unit u ∈ R×. We need to explore the (multiplicative) unit group R×.

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 6 / 21

slide-16
SLIDE 16

The Problem

Short generator recovery

Given h ∈ R, find a small generator g of the ideal (h). Note that g ∈ (h) is a generator iff g = u · h for some unit u ∈ R×. We need to explore the (multiplicative) unit group R×.

Translation an to additive problem

Take logarithms: Log : g → (log |σ1(g)|, . . . , log |σn(g)|) ∈ Rn where the σi’s are the canonical embeddings K → C.

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 6 / 21

slide-17
SLIDE 17

The Unit Group and the log-unit lattice

Let R× denotes the multiplicative group of units of R. Let Λ = Log R×.

Theorem (Dirichlet unit Theorem)

Λ ⊂ Rn is a lattice (of a given rank).

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 7 / 21

slide-18
SLIDE 18

The Unit Group and the log-unit lattice

Let R× denotes the multiplicative group of units of R. Let Λ = Log R×.

Theorem (Dirichlet unit Theorem)

Λ ⊂ Rn is a lattice (of a given rank).

Reduction to a Close Vector Problem

Elements g is a generator of (h) if and only if Log g ∈ Log h + Λ. Moreover the map Log preserves some geometric information: g is the “smallest” generator iff Log g is the “smallest” in Log h + Λ.

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 7 / 21

slide-19
SLIDE 19

Example: Embedding Z[ √ 2] ֒ → R2

1 1

−1 1 2

p

2 1 +

p

2

◮ x-axis: σ1(a + b

√ 2) = a + b √ 2

◮ y-axis: σ2(a + b

√ 2) = a − b √ 2

◮ component-wise additions and

multiplications

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 8 / 21

slide-20
SLIDE 20

Example: Embedding Z[ √ 2] ֒ → R2

1 1

−1 1 2

p

2 1 +

p

2

◮ x-axis: σ1(a + b

√ 2) = a + b √ 2

◮ y-axis: σ2(a + b

√ 2) = a − b √ 2

◮ component-wise additions and

multiplications “Orthogonal” elements Units (algebraic norm 1) “Isonorms” curves

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 8 / 21

slide-21
SLIDE 21

Example: Logarithmic Embedding Log Z[ √ 2]

({•}, +) is a sub-monoid of R2

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 9 / 21

slide-22
SLIDE 22

Example: Logarithmic Embedding Log Z[ √ 2]

Λ =({•}, +) ∩ is a lattice of R2, orthogonal to (1, 1)

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 9 / 21

slide-23
SLIDE 23

Example: Logarithmic Embedding Log Z[ √ 2]

{•} ∩ are shifted finite copies of Λ

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 9 / 21

slide-24
SLIDE 24

Reduction modulo Λ = Log Z[ √ 2]×

The reduction modΛ for various fundamental domains.

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 10 / 21

slide-25
SLIDE 25

Reduction modulo Λ = Log Z[ √ 2]×

The reduction modΛ for various fundamental domains.

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 10 / 21

slide-26
SLIDE 26

Reduction modulo Λ = Log Z[ √ 2]×

The reduction modΛ for various fundamental domains.

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 10 / 21

slide-27
SLIDE 27

Reduction modulo Λ = Log Z[ √ 2]×

The reduction modΛ for various fundamental domains.

1 1

Log

− − →

Cramer, D., Peikert, Regev (Leiden, CWI,NYU, UM) Recovering Short Generators Eurocrypt, May 2016 10 / 21

slide-28
SLIDE 28

Strategy

A two-step approach was suggested in [Bernstein ’14, Cambell Groves Shepherd ’14]:

◮ Use fancy quantum algorithm to recover any generator h

[Eisentr¨ ager Hallgren Kitaev Song ’14, Biasse Song ’16]

◮ Reduce modulo units to obtain a short generator

[Cramer D. Peikert Regev ’16] For the analysis of the second step we need an explicit basis of the units of Z[ω]. It is (almost) given by the set ui = 1 − ωi 1 − ω for i ∈ (Z/mZ)×

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 10 / 29

slide-29
SLIDE 29

Almost Orthogonal

Using techniques from Analytic Number Theory (bounds on Dirichlet L-series), we can prove that the basis (Log ui)i is almost orthogonal. Implies efficient algorithms for

◮ Bounded Distance Decoding problem (BDD) ◮ Approximate Close Vector Problem (approx-CVP)

for interesting parameters.

Short Generator Recovery, BDD setting

If there exists an unusually short generator g (as in certain crypto settings), we can recover it in classical poly-time from any generator h = ug.

Short Generator Recovery, worst-case

For any generator h, we can recover a generator g of length at most exp( ˜ O(√n)) larger than the shortest vector of (h).

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 11 / 29

slide-30
SLIDE 30

Comparison with General lattices

General Lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z LLL

Principal Ideal lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z Can we remove the Principality condition ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 12 / 29

slide-31
SLIDE 31

Comparison with General lattices

General Lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z LLL

Principal Ideal lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z Can we remove the Principality condition ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 12 / 29

slide-32
SLIDE 32

Part 2: Short Stickelberger’s C

ass relations

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 13 / 29

slide-33
SLIDE 33

The obstacle: the Class Group

Ideals can be multiplied, and remain ideals: ab =

  • finite

aibi, ai ∈ a, bi ∈ b

  • .

The product of two principal ideals remains principal: (aOK)(bOK) = (ab)OK. FK form an abelian group1, PK is a subgroup of it.

Definition (Class Group)

Their quotient forms the class group ClK = FK/PK. The class of an ideal a ∈ FK is denoted [a] ∈ ClK. An ideal a is principal iff [a] = [OK].

1with neutral element OK

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 14 / 29

slide-34
SLIDE 34

The obstacle: the Class Group

Ideals can be multiplied, and remain ideals: ab =

  • finite

aibi, ai ∈ a, bi ∈ b

  • .

The product of two principal ideals remains principal: (aOK)(bOK) = (ab)OK. FK form an abelian group1, PK is a subgroup of it.

Definition (Class Group)

Their quotient forms the class group ClK = FK/PK. The class of an ideal a ∈ FK is denoted [a] ∈ ClK. An ideal a is principal iff [a] = [OK].

1with neutral element OK

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 14 / 29

slide-35
SLIDE 35

The problem: Reducing to the principal case

Definition (The Close Principal Multiple problem)

◮ Given an ideal a, and an factor F ◮ Find a small integral ideal b such that [ab] = [OK] and Nb ≤ F

Note: Smallness with respect to the Algebraic Norm N of b, (essentially the volume of b as a lattice).

Choose a factor basis B = {p1 . . . pn} and restrict the search to b of the form b = pvi

i . I.e. solve the short discrete-logarithm problem

  • v ∈ LogB([a]−1).
  • L. Ducas (CWI)

Logarithmic Lattices April 2018 15 / 29

slide-36
SLIDE 36

How to solve it ?

Again, two steps:

◮ Find an arbitrary solution

v ∈ LogB([a]−1) [Eisentrager Kitaev Hallgren Song ’14, Biasse Song ’16]

◮ Reduce it modulo L ?

But do we even know L = LogB([OK]) ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 16 / 29

slide-37
SLIDE 37

Yes, we know L ! (Well Almost)

For a well chosen factor basis, e.g. = {σ(p), σ ∈ G := Gal(K/Q)}, L is almost given by Stickelberger:

Definition (The Stickelberger ideal)

The Stickelberger element θ ∈ Q[G] is defined as θ = a m mod 1

  • σ−1

a

where G ∋ σa : ω → ωa. The Stickelberger ideal is defined as S = Z[G] ∩ θZ[G].

Theorem (Stickelberger’s theorem)

The Stickelberger ideal annihilates Cl: ∀e ∈ S, a ⊂ K: [ae] = [OK]. In particular, if B = {pσ, σ ∈ G}, then S ⊂ L . Turn-out: the natural basis of S is almost orthogonal... Again !

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 17 / 29

slide-38
SLIDE 38

Yes, we know L ! (Well Almost)

For a well chosen factor basis, e.g. = {σ(p), σ ∈ G := Gal(K/Q)}, L is almost given by Stickelberger:

Definition (The Stickelberger ideal)

The Stickelberger element θ ∈ Q[G] is defined as θ = a m mod 1

  • σ−1

a

where G ∋ σa : ω → ωa. The Stickelberger ideal is defined as S = Z[G] ∩ θZ[G].

Theorem (Stickelberger’s theorem)

The Stickelberger ideal annihilates Cl: ∀e ∈ S, a ⊂ K: [ae] = [OK]. In particular, if B = {pσ, σ ∈ G}, then S ⊂ L . Turn-out: the natural basis of S is almost orthogonal... Again !

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 17 / 29

slide-39
SLIDE 39

Approx-Ideal-SVP in poly-time for large α

[Cramer D. Wesolowsky ’17] CPM via Stickelberger Short Class Relation

⇒ Approx-Ideal-SVP solvable in Quantum poly-time, for R = Z[ωm], α = exp( ˜ O(√n)).

General Lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z LLL

Ideal lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 18 / 29

slide-40
SLIDE 40

Approx-Ideal-SVP in poly-time for large α

[Cramer D. Wesolowsky ’17] CPM via Stickelberger Short Class Relation

⇒ Approx-Ideal-SVP solvable in Quantum poly-time, for R = Z[ωm], α = exp( ˜ O(√n)).

General Lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z LLL

Ideal lattices

Crypto α

poly(n) e ˜

Θ(√n)

e ˜

Θ(n)

Time

poly(n)

e ˜

Θ(√n)

e ˜

Θ(n)

B K Z

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 18 / 29

slide-41
SLIDE 41

Takeaway: Dual viewpoint (Caley-Graphs and Lattices)

µ : v ∈ Z2 → v1 + 2v2 mod 5, Λ = ker µ, then Z/5Z ≃ Z2/Λ Cayley-Graph(Z/5Z, {1, 2}) Z{1,2}/Λ Distance ℓ1-distance mod Λ Diameter Covering radius Shortest loop Minimal vector Mixing time Smoothing parameter

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 19 / 29

slide-42
SLIDE 42

Part 3: Chor-Rivest dense Sphere-Packing with efficient decoding

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 20 / 29

slide-43
SLIDE 43

Dense Lattice with Efficient Decoding

Construct a lattice L together with an efficient decoding algorithm for L

Bounded Distance Decoding with radius r

◮ Given t = v + e where v ∈ L and e ≤ r ◮ Recover v and/or e

The problem can only be solved up to half the minimal distance: r ≤ λ1(L )/2 (otherwise solution are not uniques). We would like to find a lattice for which the above can be done efficiently up to r close to Minkowsky’s bound: λ(1)

1 (L ) ≤ O(n) · det(L )−1/n

λ(2)

1 (L ) ≤ O(√n) · det(L )−1/n.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 21 / 29

slide-44
SLIDE 44

Chor-Rivest Cryptosystem and Friends

[Chor Rivest ’89]: First knapsack-based cryptosystem that was not

  • devastated. Idea:

◮ Subset-sums is hard ◮ Subset-product is easy (factoring numbers knowing potential factors) ◮ Take logarithm to disguise the later as the former, get crypto.

Variants of the cryptosystem by [Lenstra ’90, Li Ling Xing Yeo ’17]. Originally over finite-field polynomials Fp[X], but variants also exists over the integers: [Naccache Stern ’97, Okamoto Tanaka Uchiyama ’00]. [Brier Coron Geraud Maimut Naccache ’15]: Remove crypto from [NS’97], get a good decodable binary code. [D. Pierrot ’18]: Remove crypto from [OTU ’00], get a good decodable lattice.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 22 / 29

slide-45
SLIDE 45

Chor-Rivest Cryptosystem and Friends

[Chor Rivest ’89]: First knapsack-based cryptosystem that was not

  • devastated. Idea:

◮ Subset-sums is hard ◮ Subset-product is easy (factoring numbers knowing potential factors) ◮ Take logarithm to disguise the later as the former, get crypto.

Variants of the cryptosystem by [Lenstra ’90, Li Ling Xing Yeo ’17]. Originally over finite-field polynomials Fp[X], but variants also exists over the integers: [Naccache Stern ’97, Okamoto Tanaka Uchiyama ’00]. [Brier Coron Geraud Maimut Naccache ’15]: Remove crypto from [NS’97], get a good decodable binary code. [D. Pierrot ’18]: Remove crypto from [OTU ’00], get a good decodable lattice.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 22 / 29

slide-46
SLIDE 46

Chor-Rivest Cryptosystem and Friends

[Chor Rivest ’89]: First knapsack-based cryptosystem that was not

  • devastated. Idea:

◮ Subset-sums is hard ◮ Subset-product is easy (factoring numbers knowing potential factors) ◮ Take logarithm to disguise the later as the former, get crypto.

Variants of the cryptosystem by [Lenstra ’90, Li Ling Xing Yeo ’17]. Originally over finite-field polynomials Fp[X], but variants also exists over the integers: [Naccache Stern ’97, Okamoto Tanaka Uchiyama ’00]. [Brier Coron Geraud Maimut Naccache ’15]: Remove crypto from [NS’97], get a good decodable binary code. [D. Pierrot ’18]: Remove crypto from [OTU ’00], get a good decodable lattice.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 22 / 29

slide-47
SLIDE 47

Chor-Rivest Cryptosystem and Friends

[Chor Rivest ’89]: First knapsack-based cryptosystem that was not

  • devastated. Idea:

◮ Subset-sums is hard ◮ Subset-product is easy (factoring numbers knowing potential factors) ◮ Take logarithm to disguise the later as the former, get crypto.

Variants of the cryptosystem by [Lenstra ’90, Li Ling Xing Yeo ’17]. Originally over finite-field polynomials Fp[X], but variants also exists over the integers: [Naccache Stern ’97, Okamoto Tanaka Uchiyama ’00]. [Brier Coron Geraud Maimut Naccache ’15]: Remove crypto from [NS’97], get a good decodable binary code. [D. Pierrot ’18]: Remove crypto from [OTU ’00], get a good decodable lattice.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 22 / 29

slide-48
SLIDE 48

Chor-Rivest Lattice

Choose a factor basis of small primes, coprimes to Q = 3k: B = {2, 5, 7, 11, 13, . . . , pn} ⊂ Z, [·] : x → x mod Q. L = {v ∈ Zn s.t.

  • pvi

i = 1 mod Q}

. dim L = n, det L ≤ φ(Q) ≤ Q. Note that pn ∼ n log n.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 23 / 29

slide-49
SLIDE 49

Decoding Chor-Rivest Lattice (positive errors)

If pr

n < Q then one can decode integral positive errors up to ℓ1 radius r in

the lattice L . That is:

◮ given t = v + e, for v ∈ L and e ∈ Zn ≥0, e1 ≤ r ◮ we can efficiently recover v and e.

Compute f =

  • pti

i mod Q =

  • pvi

i

  • pei

i mod Q =

  • pei

i mod Q

The last product is in fact known over Z, not just modQ, since pei

i < Q.

Factorize f (efficient trial division by 2, 5, ..., pn), recover e, then v.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 24 / 29

slide-50
SLIDE 50

Decoding Chor-Rivest Lattice

Now assume 2 · pr

n < √Q.

f =

n

  • i s.t. ei>0

pei

i ·

  • i s.t. ei<0

pei

i = u/v

mod Q. To recover u = n

i s.t. ei>0 pei i

and v =

i s.t. ei<0 p−ei i

not only modulo Q but in Z, we use the following lemma.

Lemma (Rational reconstruction modQ)

If u, v are positive coprime integers and invertible modulo m such that u, v <

  • m/2, and if f = u/v mod m, then ±(u, v) are the shortests

vector of the 2-dimensional lattice L = {(x, y) ∈ Z2|x − fy = 0 mod Q}. In particular, given f and m, one can recover (u, v) in polynomial time.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 25 / 29

slide-51
SLIDE 51

Asymptotic parameters

Choose k = n. This gives r(1) = Θ(n/ log n) = Θ(n/ log n) det(L )−1/n. Compare to Minkowsky’s bound in ℓ1 norm: λ(1)

1 (L ) ≤ O(n) · det(L )−1/n

By norm inequality this directly imply decoding in ℓ2-norm for a radius r(2) = Θ(√n/ log n) = Θ(√n/ log n) det(L )−1/n. Compare to Minkowsky’s bound in ℓ2 norm: λ(2)

1 (L ) ≤ O(√n) · det(L )−1/n.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 26 / 29

slide-52
SLIDE 52

Asymptotic parameters

Choose k = n. This gives r(1) = Θ(n/ log n) = Θ(n/ log n) det(L )−1/n. Compare to Minkowsky’s bound in ℓ1 norm: λ(1)

1 (L ) ≤ O(n) · det(L )−1/n

By norm inequality this directly imply decoding in ℓ2-norm for a radius r(2) = Θ(√n/ log n) = Θ(√n/ log n) det(L )−1/n. Compare to Minkowsky’s bound in ℓ2 norm: λ(2)

1 (L ) ≤ O(√n) · det(L )−1/n.

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 26 / 29

slide-53
SLIDE 53

A paradoxical result ?

To the best of our knowledge, the best lattice with efficient BDD was Barnes-Wall, with BDD up to a radius O( 4 √n) away from Minkowsky’s bound [Micciancio Nicolesi ’08] (ℓ2 norm). We are only O(log n) away from Minkowsky’s bound, but this result is strange:

◮ We can construct L efficiently. ◮ We can solve BDD efficiently in L ◮ We don’t know how to find short vectors in L ...

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 27 / 29

slide-54
SLIDE 54

The last mile ?

We are still O(log n) away from Minkowsky’s bound... The issue is that we do not have enough small primes. To get down to O(1) away from Minkowsky’s bound, we need n primes of ‘size’ O(1).

◮ Switching back from Z to Fp[X] does not solve improve this loss ◮ Elliptic curves could ? ◮ Connection with Mordel-Weil lattices ? [Shioda ’91, Elkies ’94]

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 28 / 29

slide-55
SLIDE 55

Thanks for your interest. Questions ? Other Logarithmic Lattices of interest ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 29 / 29

slide-56
SLIDE 56

Thanks for your interest. Questions ? Other Logarithmic Lattices of interest ?

  • L. Ducas (CWI)

Logarithmic Lattices April 2018 29 / 29