On algebraic variants of the LWE problem Damien Stehl e Based on - - PowerPoint PPT Presentation

on algebraic variants of the lwe problem
SMART_READER_LITE
LIVE PREVIEW

On algebraic variants of the LWE problem Damien Stehl e Based on - - PowerPoint PPT Presentation

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion On algebraic variants of the LWE problem Damien Stehl e Based on joint works with M. Rosca, A. Sakzad, R. Steinfeld and A. Wallet Figures borrowed from M. Rosca and A.


slide-1
SLIDE 1

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

On algebraic variants of the LWE problem

Damien Stehl´ e

Based on joint works with M. Rosca, A. Sakzad, R. Steinfeld and A. Wallet Figures borrowed from M. Rosca and A. Wallet ENS de Lyon, Bitdefender, U. Monash

ICERM, April 2018

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 1/32

slide-2
SLIDE 2

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

What is this talk about

SIS LWE ApproxSVP Hash Signatures PKE FHE IBE [Ajt96] [Reg05] SIS and LWE are lattice problems that are convenient for cryptographic design. We’ll focus on “efficient” variants of LWE.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 2/32

slide-3
SLIDE 3

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

LWE [Reg05]

LWE parameters: m ≥ n ≥ 1, q ≥ 2 and α > 0. , find

s

A A

s

+

e m n

A ← ֓ U(Zm×n

q

), s ← ֓ U(Zn

q),

e ← ֓ Dm

αq.

αq Gaussian error distribution Dαq

Typical parameters: n proportional to the bit-security, q = nΘ(1), m = Θ(n log q), α ≈ √n/q.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 3/32

slide-4
SLIDE 4

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

LWE [Reg05]

LWE parameters: m ≥ n ≥ 1, q ≥ 2 and α > 0. , find

s

A A

s

+

e m n

A ← ֓ U(Zm×n

q

), s ← ֓ U(Zn

q),

e ← ֓ Dm

αq.

αq Gaussian error distribution Dαq

Typical parameters: n proportional to the bit-security, q = nΘ(1), m = Θ(n log q), α ≈ √n/q.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 3/32

slide-5
SLIDE 5

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Search LWE as a Closest Vector Problem variant

, find

s

A A

s

+

e m n

A defines the Construction-A lattice Lq(A) = AZn

q + qZm.

As + e mod q is a point near that lattice. Finding s is finding the closest vector in Lq(A). LWE is CVP for a uniformly sampled Construction-A lattice, a random lattice vector and a Gaussian lattice offset.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 4/32

slide-6
SLIDE 6

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Decision LWE

Decide whether a given (A, b) is uniformly sampled or

  • f the form (A, As + e) with A and s uniform

and e sampled from Dm

αq.

This is a distribution distinguishing problem. More convenient for cryptographic design. There are poly-time reductions between search-LWE and decision-LWE

[Re05,MiMo11]. [During the talk, I will focus on the search variant]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 5/32

slide-7
SLIDE 7

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Decision LWE

Decide whether a given (A, b) is uniformly sampled or

  • f the form (A, As + e) with A and s uniform

and e sampled from Dm

αq.

This is a distribution distinguishing problem. More convenient for cryptographic design. There are poly-time reductions between search-LWE and decision-LWE

[Re05,MiMo11]. [During the talk, I will focus on the search variant]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 5/32

slide-8
SLIDE 8

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness results on LWE (for αq ≥ 2√n)

The Approximate Shortest Vector Problem ApproxSIVPγ: Given B ∈ Zn×n defining L, find (bi)i≤n in L lin. indep. such that max bi ≤ γ · λn(L). Regev’s worst-case to average-case reduction For q prime and ≤ nO(1), there is a quantum poly-time reduction from ApproxSIVPγ in dimension n to LWEn,m,q,α, with γ ≈ n/α. Best known attack for most parameter ranges: lattice reduction.

Time ≈ exp

  • n log q

log2 α · log(n log q log2 α )

  • Damien Stehl´

e On algebraic variants of LWE 24/04/2018 6/32

slide-9
SLIDE 9

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness results on LWE (for αq ≥ 2√n)

The Approximate Shortest Vector Problem ApproxSIVPγ: Given B ∈ Zn×n defining L, find (bi)i≤n in L lin. indep. such that max bi ≤ γ · λn(L). Regev’s worst-case to average-case reduction For q prime and ≤ nO(1), there is a quantum poly-time reduction from ApproxSIVPγ in dimension n to LWEn,m,q,α, with γ ≈ n/α. Best known attack for most parameter ranges: lattice reduction.

Time ≈ exp

  • n log q

log2 α · log(n log q log2 α )

  • Damien Stehl´

e On algebraic variants of LWE 24/04/2018 6/32

slide-10
SLIDE 10

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

LWE is “inefficient”

Best known attack for most parameter ranges: lattice reduction.

Time ≈ exp

  • n log q

log2 α log(n log q log2 α )

  • Representing an LWE instance is quadratic in the bit-security.

One then performs (at least) matrix-vector multiplications... Frodo: submission to the NIST post-quantum standardization process

public-key and ciphertexts ≈ 10 kB encryption and decryption ≈ 2 million cycles.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 7/32

slide-11
SLIDE 11

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

LWE is “inefficient”

Best known attack for most parameter ranges: lattice reduction.

Time ≈ exp

  • n log q

log2 α log(n log q log2 α )

  • Representing an LWE instance is quadratic in the bit-security.

One then performs (at least) matrix-vector multiplications... Frodo: submission to the NIST post-quantum standardization process

public-key and ciphertexts ≈ 10 kB encryption and decryption ≈ 2 million cycles.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 7/32

slide-12
SLIDE 12

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Road-map

The Learning With Errors problem Algebraic variants of the LWE problem On Polynomial-LWE and Ring-LWE The Middle-Product-LWE problem

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 8/32

slide-13
SLIDE 13

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Take structured matrices!

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 9/32

slide-14
SLIDE 14

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Polynomial-LWE [SSTX09]

Let q ≥ 2, α > 0, f ∈ Z[x] monic irreducible of degree n. Search P-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in Zq[x]/f All ai’s uniform in Zq[x]/f The coefficients of the ei’s are sampled from Dαq This is LWE, with matrix A made of stacked blocks Rotf (ai). The j-th row of Rotf (ai) is made of the coefficients of xj−1 · ai mod f .

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 10/32

slide-15
SLIDE 15

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Polynomial-LWE [SSTX09]

Let q ≥ 2, α > 0, f ∈ Z[x] monic irreducible of degree n. Search P-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in Zq[x]/f All ai’s uniform in Zq[x]/f The coefficients of the ei’s are sampled from Dαq This is LWE, with matrix A made of stacked blocks Rotf (ai). The j-th row of Rotf (ai) is made of the coefficients of xj−1 · ai mod f .

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 10/32

slide-16
SLIDE 16

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Polynomial-LWE [SSTX09]

Let q ≥ 2, α > 0, f ∈ Z[x] monic irreducible of degree n. Search P-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in Zq[x]/f All ai’s uniform in Zq[x]/f The coefficients of the ei’s are sampled from Dαq This is LWE, with matrix A made of stacked blocks Rotf (ai). The j-th row of Rotf (ai) is made of the coefficients of xj−1 · ai mod f .

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 10/32

slide-17
SLIDE 17

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of P-LWE

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVPγ for ideals of Z[x]/f to search P-LWEf . The error rate α is proportional to γ and EF(f ) := maxi<2n xi mod f . This is an adaptation of Regev’s ac-wc reduction Vacuous if ApproxSVP for ideals of Z[x]/f is easy

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 11/32

slide-18
SLIDE 18

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of P-LWE

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVPγ for ideals of Z[x]/f to search P-LWEf . The error rate α is proportional to γ and EF(f ) := maxi<2n xi mod f . This is an adaptation of Regev’s ac-wc reduction Vacuous if ApproxSVP for ideals of Z[x]/f is easy

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 11/32

slide-19
SLIDE 19

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ideal-SVP

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVP for ideals of Z[x]/f to search P-LWEf . The reduction may be vacuous if ApproxSVP for ideals of Z[x]/f is easy For large approx. factors and some f ’s, faster algorithms are known for such lattices [see L´ eo’s talk] This wouldn’t necessarily impact the P-LWEf hardness The situation is not necessarily uniform across all f ’s

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 12/32

slide-20
SLIDE 20

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ideal-SVP

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVP for ideals of Z[x]/f to search P-LWEf . The reduction may be vacuous if ApproxSVP for ideals of Z[x]/f is easy For large approx. factors and some f ’s, faster algorithms are known for such lattices [see L´ eo’s talk] This wouldn’t necessarily impact the P-LWEf hardness The situation is not necessarily uniform across all f ’s

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 12/32

slide-21
SLIDE 21

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ideal-SVP

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVP for ideals of Z[x]/f to search P-LWEf . The reduction may be vacuous if ApproxSVP for ideals of Z[x]/f is easy For large approx. factors and some f ’s, faster algorithms are known for such lattices [see L´ eo’s talk] This wouldn’t necessarily impact the P-LWEf hardness The situation is not necessarily uniform across all f ’s

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 12/32

slide-22
SLIDE 22

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ideal-SVP

[SSTX09] - oversimplified For any f monic irreducible, there is a quantum reduction from ApproxSVP for ideals of Z[x]/f to search P-LWEf . The reduction may be vacuous if ApproxSVP for ideals of Z[x]/f is easy For large approx. factors and some f ’s, faster algorithms are known for such lattices [see L´ eo’s talk] This wouldn’t necessarily impact the P-LWEf hardness The situation is not necessarily uniform across all f ’s

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 12/32

slide-23
SLIDE 23

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ring-LWE [LPR10]

Let q ≥ 2, α > 0, f ∈ Z[x] monic irreducible of degree n.

K: number field defined by f . OK: its ring of integers. OK

∨: its dual ideal.

σ1, . . . , σn: the Minkowski embeddings. As complex embeddings come by pairs of conjugates, the σk’s give a bijection σ from KR = K ⊗Q R to Rn.

Search Ring-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in OK

∨/qOK ∨

All ai’s uniform in OK/qOK The σ(ei)’s are sampled from Dαq

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 13/32

slide-24
SLIDE 24

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ring-LWE [LPR10]

Let q ≥ 2, α > 0, f ∈ Z[x] monic irreducible of degree n.

K: number field defined by f . OK: its ring of integers. OK

∨: its dual ideal.

σ1, . . . , σn: the Minkowski embeddings. As complex embeddings come by pairs of conjugates, the σk’s give a bijection σ from KR = K ⊗Q R to Rn.

Search Ring-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in OK

∨/qOK ∨

All ai’s uniform in OK/qOK The σ(ei)’s are sampled from Dαq

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 13/32

slide-25
SLIDE 25

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Ring-LWE variants

Search Ring-LWEf Given (a1, . . . , am) and (a1 · s + e1, . . . , am · s + em), find s. s uniform in OK

∨/qOK ∨

All ai’s uniform in OK/qOK The σ(ei)’s are sampled from Dαq Decision Ring-LWE: distinguish uniform (ai, bi)’s from (ai, bi)’s as above Primal Ring-LWE: replace all OK

∨’s by OK. One may do subtle things with the noise distributions. Here, we’ll be happy if the σ(ei)’s are small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 14/32

slide-26
SLIDE 26

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of Ring-LWE

LPR10 : For all f , there is a reduction from ApproxSVP for OK-ideals to search Ring-LWEf . For f cyclotomic, there is a reduction from search to decision Ring-LWEf . PRS17 : For all f , there is a reduction from ApproxSVP for OK-ideals to decision Ring-LWEf . Are there weaker f ’s for Ring-LWEf ? Such potential f ’s identified in

[EHL14,ELOS15,CLS15,CLS16]

But weakness only with small errors

[CIV16a,CIV16b,Pei16]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 15/32

slide-27
SLIDE 27

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of Ring-LWE

LPR10 : For all f , there is a reduction from ApproxSVP for OK-ideals to search Ring-LWEf . For f cyclotomic, there is a reduction from search to decision Ring-LWEf . PRS17 : For all f , there is a reduction from ApproxSVP for OK-ideals to decision Ring-LWEf . Are there weaker f ’s for Ring-LWEf ? Such potential f ’s identified in

[EHL14,ELOS15,CLS15,CLS16]

But weakness only with small errors

[CIV16a,CIV16b,Pei16]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 15/32

slide-28
SLIDE 28

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

A messy landscape...

At least 6 problem families: P-LWEf , search and decision R-LWEf , search and decision primal-R-LWEf , search and decision Plus Module-LWEf , a trade-off between these and LWE [see Adeline’s talk]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 16/32

slide-29
SLIDE 29

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

A messy landscape...

At least 6 problem families: P-LWEf , search and decision R-LWEf , search and decision primal-R-LWEf , search and decision Plus Module-LWEf , a trade-off between these and LWE [see Adeline’s talk]

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 16/32

slide-30
SLIDE 30

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

A messy landscape...

At least 6 problem families: P-LWEf , search and decision R-LWEf , search and decision primal-R-LWEf , search and decision Plus Module-LWEf , a trade-off between these and LWE [see Adeline’s talk] How are these problems related? Is there a relationship between ∗-LWEf and ∗-LWEg? Can we find one ring to rule them all?

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 16/32

slide-31
SLIDE 31

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

A messy landscape...

At least 6 problem families: P-LWEf , search and decision R-LWEf , search and decision primal-R-LWEf , search and decision Plus Module-LWEf , a trade-off between these and LWE [see Adeline’s talk] How are these problems related? Is there a relationship between ∗-LWEf and ∗-LWEg? Can we find one ring to rule them all?

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 16/32

slide-32
SLIDE 32

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Do we care?

These algebraic variants do lead to efficient schemes: NIST p.-q. submissions: Ding, HILA5, KINDI, Kyber, LAC, LIMA, Lizard, Newhope, Saber

Somewhere between 5 and 10 times better than LWE-based Frodo

Most of these use f = xn + 1 with f a power of 2. For this f , the six problems are identical, and the results have been known for almost 10 years.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 17/32

slide-33
SLIDE 33

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Do we care?

These algebraic variants do lead to efficient schemes: NIST p.-q. submissions: Ding, HILA5, KINDI, Kyber, LAC, LIMA, Lizard, Newhope, Saber

Somewhere between 5 and 10 times better than LWE-based Frodo

Most of these use f = xn + 1 with f a power of 2. For this f , the six problems are identical, and the results have been known for almost 10 years.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 17/32

slide-34
SLIDE 34

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Road-map

The Learning With Errors problem Algebraic variants of the LWE problem On Polynomial-LWE and Ring-LWE

Joint work with M. Rosca and A. Wallet, Eurocrypt 2018.

The Middle-Product-LWE problem

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 18/32

slide-35
SLIDE 35

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

From dual to primal

A useful lemma from [LPR10] Let t ∈ (OK

∨)−1 with tOK ∨ coprime to (q). Then ‘×t’ is an

OK-module isomorphism from OK

∨/qOK ∨ to OK/qOK.

If we have a R-LWE sample (ai, bi = ai · s + ei), we can multiply the right hand side by t. We get (a′

i, b′ i) = (ai, ai(ts) + (tei)).

ts is now uniform in OK/qOK This is a primal R-LWE sample, with noise term e′

i = tei

But is e′

i small? It is if t is small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 19/32

slide-36
SLIDE 36

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

From dual to primal

A useful lemma from [LPR10] Let t ∈ (OK

∨)−1 with tOK ∨ coprime to (q). Then ‘×t’ is an

OK-module isomorphism from OK

∨/qOK ∨ to OK/qOK.

If we have a R-LWE sample (ai, bi = ai · s + ei), we can multiply the right hand side by t. We get (a′

i, b′ i) = (ai, ai(ts) + (tei)).

ts is now uniform in OK/qOK This is a primal R-LWE sample, with noise term e′

i = tei

But is e′

i small? It is if t is small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 19/32

slide-37
SLIDE 37

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

From dual to primal

A useful lemma from [LPR10] Let t ∈ (OK

∨)−1 with tOK ∨ coprime to (q). Then ‘×t’ is an

OK-module isomorphism from OK

∨/qOK ∨ to OK/qOK.

If we have a R-LWE sample (ai, bi = ai · s + ei), we can multiply the right hand side by t. We get (a′

i, b′ i) = (ai, ai(ts) + (tei)).

ts is now uniform in OK/qOK This is a primal R-LWE sample, with noise term e′

i = tei

But is e′

i small? It is if t is small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 19/32

slide-38
SLIDE 38

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Make the noise small!

Why aren’t we happy with possibly large multiplier t? We map a CVP instance for a lattice and a quad-form, to an instance for another lattice and another quad-form. If we let the quad-form ‘free’, then all CVP instances can be expressed with the Zm lattice. Goal Show that there exists t ∈ (OK

∨)−1 with tOK ∨ coprime to (q)

We consider the Gaussian distribution over (OK

∨)−1

We show that short vectors are not all trapped in a (OK

∨)−1 · J, for a divisor J of (q).

Tools: inclusion-exclusion and lattice smoothing

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 20/32

slide-39
SLIDE 39

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Make the noise small!

Why aren’t we happy with possibly large multiplier t? We map a CVP instance for a lattice and a quad-form, to an instance for another lattice and another quad-form. If we let the quad-form ‘free’, then all CVP instances can be expressed with the Zm lattice. Goal Show that there exists t ∈ (OK

∨)−1 with tOK ∨ coprime to (q)

We consider the Gaussian distribution over (OK

∨)−1

We show that short vectors are not all trapped in a (OK

∨)−1 · J, for a divisor J of (q).

Tools: inclusion-exclusion and lattice smoothing

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 20/32

slide-40
SLIDE 40

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

From primal R-LWE to P-LWE

We are given (ai, ai · s + ei) with ai and s in OK ei with small Minkowski embeddings We want a related (a′

i, a′ is′ + e′ i) with

a′

i and s′ in Z[x]/f

e′

i with small coefficients

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 21/32

slide-41
SLIDE 41

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

From primal R-LWE to P-LWE

We are given (ai, ai · s + ei) with ai and s in OK ei with small Minkowski embeddings We want a related (a′

i, a′ is′ + e′ i) with

a′

i and s′ in Z[x]/f

e′

i with small coefficients

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 21/32

slide-42
SLIDE 42

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the algebra

O := Z[x]/f is an order of OK. Sometimes, they are the same! The conductor ideal CO = {x ∈ K : xOK ⊆ O} is an OK-ideal and an O-ideal. If (q) and CO are coprime, if t ∈ CO is such that tC−1

O and (q) are coprime,

then “×t” is a ring isomorphism from OK/qOK to O/qO. We proceed as in the dual to primal case, using a small t.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 22/32

slide-43
SLIDE 43

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the algebra

O := Z[x]/f is an order of OK. Sometimes, they are the same! The conductor ideal CO = {x ∈ K : xOK ⊆ O} is an OK-ideal and an O-ideal. If (q) and CO are coprime, if t ∈ CO is such that tC−1

O and (q) are coprime,

then “×t” is a ring isomorphism from OK/qOK to O/qO. We proceed as in the dual to primal case, using a small t.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 22/32

slide-44
SLIDE 44

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the algebra

O := Z[x]/f is an order of OK. Sometimes, they are the same! The conductor ideal CO = {x ∈ K : xOK ⊆ O} is an OK-ideal and an O-ideal. If (q) and CO are coprime, if t ∈ CO is such that tC−1

O and (q) are coprime,

then “×t” is a ring isomorphism from OK/qOK to O/qO. We proceed as in the dual to primal case, using a small t.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 22/32

slide-45
SLIDE 45

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the algebra

O := Z[x]/f is an order of OK. Sometimes, they are the same! The conductor ideal CO = {x ∈ K : xOK ⊆ O} is an OK-ideal and an O-ideal. If (q) and CO are coprime, if t ∈ CO is such that tC−1

O and (q) are coprime,

then “×t” is a ring isomorphism from OK/qOK to O/qO. We proceed as in the dual to primal case, using a small t.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 22/32

slide-46
SLIDE 46

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the geometry

Relation between the embeddings For e ∈ R[x]/f , computing the Minkowski embedding is multiplying the coefficient vector by Vf =

     1 α1 α2

1

. . . αn−1

1

1 α2 α2

2

. . . αn−1

2

. . . . . . . . . 1 αn α2

n

. . . αn−1

n

    ,

where the αj’s are the roots of f . We want to know if a noise that has small Minkowski embedding also has small coefficients. Goal: Show that V−1

f is small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 23/32

slide-47
SLIDE 47

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Handling the geometry

Relation between the embeddings For e ∈ R[x]/f , computing the Minkowski embedding is multiplying the coefficient vector by Vf =

     1 α1 α2

1

. . . αn−1

1

1 α2 α2

2

. . . αn−1

2

. . . . . . . . . 1 αn α2

n

. . . αn−1

n

    ,

where the αj’s are the roots of f . We want to know if a noise that has small Minkowski embedding also has small coefficients. Goal: Show that V−1

f is small.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 23/32

slide-48
SLIDE 48

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Root separation

V−1

f can be large only if the roots αj of f are close. [This can be 2Ω(n), even when f has small coeffs [BM04].]

(1) f := xn − c ∈ Z[x] is great. (2) Let P = n/2

i=1 pixi ∈ Z[x].

Perturbation: g := f + P For ‘small’ P, the roots don’t move much. Theorem (Rouch´ e) If |P(z)| < |f (z)| on a circle, then f and f + P have the same numbers of zeros inside this circle.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 24/32

slide-49
SLIDE 49

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Root separation

V−1

f can be large only if the roots αj of f are close. [This can be 2Ω(n), even when f has small coeffs [BM04].]

(1) f := xn − c ∈ Z[x] is great. (2) Let P = n/2

i=1 pixi ∈ Z[x].

Perturbation: g := f + P For ‘small’ P, the roots don’t move much. Theorem (Rouch´ e) If |P(z)| < |f (z)| on a circle, then f and f + P have the same numbers of zeros inside this circle.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 24/32

slide-50
SLIDE 50

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Root separation

V−1

f can be large only if the roots αj of f are close. [This can be 2Ω(n), even when f has small coeffs [BM04].]

(1) f := xn − c ∈ Z[x] is great. (2) Let P = n/2

i=1 pixi ∈ Z[x].

Perturbation: g := f + P For ‘small’ P, the roots don’t move much. Theorem (Rouch´ e) If |P(z)| < |f (z)| on a circle, then f and f + P have the same numbers of zeros inside this circle.

?

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 24/32

slide-51
SLIDE 51

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Root separation

V−1

f can be large only if the roots αj of f are close. [This can be 2Ω(n), even when f has small coeffs [BM04].]

(1) f := xn − c ∈ Z[x] is great. (2) Let P = n/2

i=1 pixi ∈ Z[x].

Perturbation: g := f + P For ‘small’ P, the roots don’t move much. Theorem (Rouch´ e) If |P(z)| < |f (z)| on a circle, then f and f + P have the same numbers of zeros inside this circle.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 24/32

slide-52
SLIDE 52

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Road-map

The Learning With Errors problem Algebraic variants of the LWE problem On Polynomial-LWE and Ring-LWE The Middle-Product-LWE problem

Joint work with M. Rosca, A. Sakzad and R. Steinfeld, Crypto 2017.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 25/32

slide-53
SLIDE 53

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Middle product

Let a ∈ Z[x] of degree < n and s ∈ Z[x] of degree < 2n − 1. Their product has 3n − 2 non-trivial coefficients. We define a ◦n s as the middle n coefficients. a ⊙n s := (a · b) mod x2n−1 xn−1

  • .

MP was studied in computer algebra for accelerating computations on polynomials and power series

[Sho99,HQZ04].

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 26/32

slide-54
SLIDE 54

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

MP-LWE

Let q ≥ 2, α > 0. Search MP-LWE Given (a1, . . . , am) and (a1 ⊙n s + e1, . . . , am ⊙n s + em), find s. s uniform in Zq[x] of degree < 2n − 1. All ai’s uniform in Zq[x] of degree < n The coefficients of the ei’s are sampled from Dαq Titanium: A NIST candidate based on MP-LWE

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 27/32

slide-55
SLIDE 55

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

MP-LWE

Let q ≥ 2, α > 0. Search MP-LWE Given (a1, . . . , am) and (a1 ⊙n s + e1, . . . , am ⊙n s + em), find s. s uniform in Zq[x] of degree < 2n − 1. All ai’s uniform in Zq[x] of degree < n The coefficients of the ei’s are sampled from Dαq Titanium: A NIST candidate based on MP-LWE

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 27/32

slide-56
SLIDE 56

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of MP-LWE

P-LWEf

m,q,α reduces to MP-LWEq,β

for any monic f ∈ Z[x] s.t. deg(f ) = n gcd(f0, q) = 1 β grows linearly with α and EF(f ) [This extends [Lyu16] from the SIS to the LWE setup] As long as P-LWEf is hard for one f , MP-LWE is hard.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 28/32

slide-57
SLIDE 57

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Hardness of MP-LWE

P-LWEf

m,q,α reduces to MP-LWEq,β

for any monic f ∈ Z[x] s.t. deg(f ) = n gcd(f0, q) = 1 β grows linearly with α and EF(f ) [This extends [Lyu16] from the SIS to the LWE setup] As long as P-LWEf is hard for one f , MP-LWE is hard.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 28/32

slide-58
SLIDE 58

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Proof sketch

= Rotf (b) Rotf (a) × Rotf (s) + Rotf (e)

Take first column

Mf b = Rotf (a) × Mf s + Mf e

Decompose Rotf (a)

b′ = Toep(a) × Rotf (1) Mf s + Mf e

Rename

b′ = Toep(a) × s′ + e′

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 29/32

slide-59
SLIDE 59

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Proof sketch

= Rotf (b) Rotf (a) × Rotf (s) + Rotf (e)

Take first column

Mf b = Rotf (a) × Mf s + Mf e

Decompose Rotf (a)

b′ = Toep(a) × Rotf (1) Mf s + Mf e

Rename

b′ = Toep(a) × s′ + e′

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 29/32

slide-60
SLIDE 60

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Proof sketch

= Rotf (b) Rotf (a) × Rotf (s) + Rotf (e)

Take first column

Mf b = Rotf (a) × Mf s + Mf e

Decompose Rotf (a)

b′ = Toep(a) × Rotf (1) Mf s + Mf e

Rename

b′ = Toep(a) × s′ + e′

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 29/32

slide-61
SLIDE 61

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Proof sketch

= Rotf (b) Rotf (a) × Rotf (s) + Rotf (e)

Take first column

Mf b = Rotf (a) × Mf s + Mf e

Decompose Rotf (a)

b′ = Toep(a) × Rotf (1) Mf s + Mf e

Rename

b′ = Toep(a) × s′ + e′

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 29/32

slide-62
SLIDE 62

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Road-map

The Learning With Errors problem Algebraic variants of the LWE problem On Polynomial-LWE and Ring-LWE The Middle-Product-LWE problem

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 30/32

slide-63
SLIDE 63

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Landscape overview

[LS15] [AD17]

ApproxSVP OK-ideals Decision RLWE∨ Decision RLWE Decision PLWE Decision MPLWE Search RLWE∨ Search RLWE Search PLWE Search MPLWE ApproxSIVP OK-modules Decision Module-LWE

[PRS17]

The search to decision reduction for RLWE∨ relies on [PRS17] and a left-

  • ver hash lemma over OK ∨/qOK ∨.

Some reductions are non-uniform require small EF require small Vf

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 31/32

slide-64
SLIDE 64

Introduction LWE Algebraic variants P-LWE and R-LWE MP-LWE Conclusion

Open problems

⇒ Clean the landscape further. ⇒ Relate PLWEf to PLWEg. ⇒ Get a search to decision reduction for MP-LWE. ⇒ Get a reduction from MP-LWE to P-LWE. ⇒ Better understand MP-LWE.

Damien Stehl´ e On algebraic variants of LWE 24/04/2018 32/32