On error distributions in ring-based LWE Wouter Castryck 1 , 2 , Ilia - - PowerPoint PPT Presentation

on error distributions in ring based lwe
SMART_READER_LITE
LIVE PREVIEW

On error distributions in ring-based LWE Wouter Castryck 1 , 2 , Ilia - - PowerPoint PPT Presentation

On error distributions in ring-based LWE Wouter Castryck 1 , 2 , Ilia Iliashenko 1 , Frederik Vercauteren 1 , 3 1 COSIC, KU Leuven 2 Ghent University 3 Open Security Research ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in


slide-1
SLIDE 1

On error distributions in ring-based LWE

Wouter Castryck1,2, Ilia Iliashenko1, Frederik Vercauteren1,3

1 COSIC, KU Leuven 2 Ghent University 3 Open Security Research ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 0/21

slide-2
SLIDE 2

Motivation for LWE

1981 A basic concept of a quantum computer by Feynman 1994 Shor’s algorithm

◮ Factorization and DLP are easy ◮ Broken: RSA, Diffie-Hellman, ECDLP etc.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 1/21

slide-3
SLIDE 3

Motivation for LWE

1981 A basic concept of a quantum computer by Feynman 1994 Shor’s algorithm

◮ Factorization and DLP are easy ◮ Broken: RSA, Diffie-Hellman, ECDLP etc.

1995 First quantum logic gate by Monroe, Meekhof, King, Itano and Wineland

1995 2000 2006 2011 2 4 6 8 10 12 14 Year Qubits

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 1/21

slide-4
SLIDE 4

Motivation for LWE

2016 CNSA Suite and Quantum Computing FAQ by NSA “Many experts predict a quantum computer capable of effectively breaking public key cryptography within a few decades, and therefore NSA believes it is important to address that concern.” NIST report on post-quantum crypto “We must begin now to prepare our information secu- rity systems to be able to resist quantum computing.”

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 2/21

slide-5
SLIDE 5

Learning With Errors (LWE)

The LWE problem (Regev, ‘05): solve a linear system with noise      b1 b2 . . . bm      =      a11 a12 . . . a1,n a21 a22 . . . a2,n . . . . . . ... . . . am1 am2 . . . am,n      ·      s1 s2 . . . sn      +      e1 e2 . . . em     

  • ver a finite field Fq for a secret (s1, s2, . . . , sn) ∈ Fn

q where ◮ a modulus q = poly(n) ◮ the aij ∈ Fq are chosen uniformly randomly, ◮ an adversary can ask for new equations (m > n).

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 3/21

slide-6
SLIDE 6

Learning With Errors (LWE)

The LWE problem is easy when ∀ei = 0.      b1 b2 . . . bm      =      a11 a12 . . . a1,n a21 a22 . . . a2,n . . . . . . ... . . . am1 am2 . . . am,n      ·      s1 s2 . . . sn      Gaussian elimination solves the problem.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 4/21

slide-7
SLIDE 7

Learning With Errors (LWE)

The LWE problem is easy when ∀ei = 0.      b1 b2 . . . bm      =      a11 a12 . . . a1,n a21 a22 . . . a2,n . . . . . . ... . . . am1 am2 . . . am,n      ·      s1 s2 . . . sn      Gaussian elimination solves the problem. Otherwise, LWE might be hard.      b1 b2 . . . bm      =      a11 a12 . . . a1,n a21 a22 . . . a2,n . . . . . . ... . . . am1 am2 . . . am,n      ·      s1 s2 . . . sn      +      e1 e2 . . . em      Gaussian elimination amplifies errors.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 4/21

slide-8
SLIDE 8

Learning With Errors (LWE)

The errors ei are sampled independently from a Gaussian with standard deviation σ > 2√n:

√n −√n Fp

When viewed jointly, the error vector    e1 . . . em    is sampled from a spherical Gaussian.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 5/21

slide-9
SLIDE 9

Learning With Errors (LWE)

LWE is tightly related to classical lattice problems.

◮ Bounded Distance Decoding (BDD) Rm b ≡ A · s + e

Given b, find the closest point of the q-ary lattice {w ∈ Zm | ∃s ∈ Zn : w ≡ A · s mod q}

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 6/21

slide-10
SLIDE 10

Learning With Errors (LWE)

LWE is tightly related to classical lattice problems.

◮ Shortest Vector Problem (SVP) Rm

Given a basis, find a shortest non-zero vector of the lattice.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 7/21

slide-11
SLIDE 11

Learning With Errors (LWE)

LWE is tightly related to classical lattice problems.

◮ Shortest Vector Problem (SVP) Rm

Given a basis, find a shortest non-zero vector of the lattice.

◮ LWE is at least as hard as worst-case SVP-type problems

(Regev‘05, Peikert‘09).

◮ Not known to be broken by quantum computers. ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 7/21

slide-12
SLIDE 12

Learning With Errors (LWE)

Known attacks for q = poly(n): Time Samples Trial and error 2O(n log n) O(n) Blum, Kalai, Wasserman ‘03 2O(n) 2O(n) Arora, Ge ‘11 2O(σ2 log n) 2O(σ2 log n)

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 8/21

slide-13
SLIDE 13

Learning With Errors (LWE)

Known attacks for q = poly(n): Time Samples Trial and error 2O(n log n) O(n) Blum, Kalai, Wasserman ‘03 2O(n) 2O(n) Arora, Ge ‘11 2O(σ2 log n) 2O(σ2 log n) Idea: if all errors (almost) certainly lie in {−T, . . . , T}, then

T

  • i=−T

(a1s1 + a2s2 + · · · + ansn − b + i) = 0. View as linear system of equations in ≈ n2T monomials.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 8/21

slide-14
SLIDE 14

Learning With Errors (LWE)

Known attacks for q = poly(n): Time Samples Trial and error 2O(n log n) O(n) Blum, Kalai, Wasserman ‘03 2O(n) 2O(n) Arora, Ge ‘11 2O(σ2 log n) 2O(σ2 log n) Idea: if all errors (almost) certainly lie in {−T, . . . , T}, then

T

  • i=−T

(a1s1 + a2s2 + · · · + ansn − b + i) = 0. View as linear system of equations in ≈ n2T monomials.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 8/21

slide-15
SLIDE 15

Learning With Errors (LWE)

Application: public-key encryption of a bit (Regev’05).

◮ Private key: s ∈ Fn q. ◮ Public key pair: (A, b = A · s + e).

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 9/21

slide-16
SLIDE 16

Learning With Errors (LWE)

Application: public-key encryption of a bit (Regev’05).

◮ Private key: s ∈ Fn q. ◮ Public key pair: (A, b = A · s + e). ◮ Encrypt: pick random row vector rT ∈ {0, 1}m ⊂ Fm q .

Output the pair cT := rT ·A and d := rT · b if the bit is 0, rT · b + ⌊q/2⌋ if the bit is 1.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 9/21

slide-17
SLIDE 17

Learning With Errors (LWE)

Application: public-key encryption of a bit (Regev’05).

◮ Private key: s ∈ Fn q. ◮ Public key pair: (A, b = A · s + e). ◮ Encrypt: pick random row vector rT ∈ {0, 1}m ⊂ Fm q .

Output the pair cT := rT ·A and d := rT · b if the bit is 0, rT · b + ⌊q/2⌋ if the bit is 1.

◮ Decryption of pair cT, d: compute

d−cT·s = d−rT·A·s = d−rTb−rTe ≈ if bit was 0, ⌊q/2⌋ if bit was 1. ↑

small enough

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 9/21

slide-18
SLIDE 18

Learning With Errors (LWE)

◮ Features:

◮ Hardness reduction from classical lattice problems ◮ Linear operations ◮ simple and efficient implementation ◮ highly parallelizable ◮ Source of exciting applications ◮ FHE, attribute-based encryption for arbitrary access policies,

general-purpose code obfuscation

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 10/21

slide-19
SLIDE 19

Learning With Errors (LWE)

◮ Features:

◮ Hardness reduction from classical lattice problems ◮ Linear operations ◮ simple and efficient implementation ◮ highly parallelizable ◮ Source of exciting applications ◮ FHE, attribute-based encryption for arbitrary access policies,

general-purpose code obfuscation

◮ Drawback: key size.

◮ To hide the secret one needs an entire linear system:

     b1 b2 . . . bm      =      a11 a12 . . . a1,n a21 a22 . . . a2,n . . . . . . ... . . . am1 am2 . . . am,n      ·      s1 s2 . . . sn      +      e1 e2 . . . em      ↑ ↑ ↑ m log p mn log p n log p

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 10/21

slide-20
SLIDE 20

Ring-based LWE

◮ Identify vector space

Fn

q

with Rq = Z[x]/(q, f(x)) for some irreducible monic f(x) ∈ Z[x] s.t. deg f = n, by viewing (s1, s2, . . . , sn) as s1 + s2x + · · · + snxn−1.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 11/21

slide-21
SLIDE 21

Ring-based LWE

◮ Identify vector space

Fn

q

with Rq = Z[x]/(q, f(x)) for some irreducible monic f(x) ∈ Z[x] s.t. deg f = n, by viewing (s1, s2, . . . , sn) as s1 + s2x + · · · + snxn−1.

◮ Use samples of the form

     b1 b2 . . . bn      = Aa·      s1 s2 . . . sn     +      e1 e2 . . . en      with Aa the matrix of multiplication by some random a(x) = a1 + a2x + · · · + anxn−1.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 11/21

slide-22
SLIDE 22

Ring-based LWE

◮ Identify vector space

Fn

q

with Rq = Z[x]/(q, f(x)) for some irreducible monic f(x) ∈ Z[x] s.t. deg f = n, by viewing (s1, s2, . . . , sn) as s1 + s2x + · · · + snxn−1.

◮ Use samples of the form

     b1 b2 . . . bn      = Aa·      s1 s2 . . . sn     +      e1 e2 . . . en      with Aa the matrix of multiplication by some random a(x) = a1 + a2x + · · · + anxn−1.

◮ Store a(x) rather than Aa: saves factor n.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 11/21

slide-23
SLIDE 23

Ring-based LWE

Example:

◮ if f(x) = xn + 1, then Aa is the anti-circulant matrix

       a1 −an . . . −a3 −a2 a2 a1 . . . −a4 −a3 a3 a2 . . . −a5 −a4 . . . . . . ... . . . . . . an an−1 . . . a2 a1       

  • f which it suffices to store the first column.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 12/21

slide-24
SLIDE 24

Ring-based LWE

Direct ring-based analogue of LWE-sample would read      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      +      e1 e2 . . . en      with the ei sampled independently from N(0, σ) for some fixed small σ = σ(n).

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 13/21

slide-25
SLIDE 25

Ring-based LWE

Direct ring-based analogue of LWE-sample would read      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      +      e1 e2 . . . en      with the ei sampled independently from N(0, σ) for some fixed small σ = σ(n). This is not Ring-LWE!

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 13/21

slide-26
SLIDE 26

Ring-based LWE

Direct ring-based analogue of LWE-sample would read      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      +      e1 e2 . . . en      with the ei sampled independently from N(0, σ) for some fixed small σ = σ(n). This is not Ring-LWE!

◮ Not backed up by hardness statement.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 13/21

slide-27
SLIDE 27

Ring-based LWE

Direct ring-based analogue of LWE-sample would read      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      +      e1 e2 . . . en      with the ei sampled independently from N(0, σ) for some fixed small σ = σ(n). This is not Ring-LWE!

◮ Not backed up by hardness statement. ◮ Sometimes called Poly-LWE.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 13/21

slide-28
SLIDE 28

Ring-LWE

So what is Ring-LWE according to [LPR10]? Samples look like      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + Af ′(x) · B−1·      e1 e2 . . . en     

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 14/21

slide-29
SLIDE 29

Ring-LWE

So what is Ring-LWE according to [LPR10]? Samples look like      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + Af ′(x) · B−1 ·      e1 e2 . . . en      where

◮ B is the canonical embedding matrix. ◮ Af ′(x) compensates for the fact that one actually picks

secrets from the dual.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 14/21

slide-30
SLIDE 30

Ring-LWE

So what is Ring-LWE according to [LPR10]? Samples look like      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + Af ′(x) · B−1 ·      e1 e2 . . . en      where

◮ B is the canonical embedding matrix. ◮ Af ′(x) compensates for the fact that one actually picks

secrets from the dual. Hardness reduction from ideal lattice problems.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 14/21

slide-31
SLIDE 31

Ring-LWE

Note:

◮ factor Af ′(x) · B−1 might skew the error distribution,

Af ′(x) · B−1

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 15/21

slide-32
SLIDE 32

Ring-LWE

Note:

◮ factor Af ′(x) · B−1 might skew the error distribution,

Af ′(x) · B−1

◮ but also scales it!

◮ det Af ′(x) = ∆ with

∆ = |disc f(x)| , ← could be huge

◮ det B−1 = 1/

√ ∆.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 15/21

slide-33
SLIDE 33

Ring-LWE

Note:

◮ factor Af ′(x) · B−1 might skew the error distribution,

Af ′(x) · B−1

◮ but also scales it!

◮ det Af ′(x) = ∆ with

∆ = |disc f(x)| , ← could be huge

◮ det B−1 = 1/

√ ∆.

So “on average”, each ei is scaled up by √ ∆

1/n . . .

◮ . . . but remember: skewness. ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 15/21

slide-34
SLIDE 34

Scaled Canonical Gaussian ring-based LWE

Af ′(x) is changed to a scalar λ      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + λ · B−1 ·      e1 e2 . . . en      . The natural choice is λ = |∆|1/n.

◮ So det Aλ = |∆|.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 16/21

slide-35
SLIDE 35

Scaled Canonical Gaussian ring-based LWE

Af ′(x) is changed to a scalar λ      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + λ · B−1 ·      e1 e2 . . . en      . The natural choice is λ = |∆|1/n.

◮ So det Aλ = |∆|.

SCG-LWE = Ring-LWE for 2m-cyclotomic fields:

◮ f ′(x) = 2m−1x2m−1−1 = nxn−1, ◮ λ = 2m−1 = n, ◮ So Af ′(x) = Axn−1 · λ.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 16/21

slide-36
SLIDE 36

Main result

For SCG ring-based LWE with parameters:

◮ n = 2ℓ for some ℓ ∈ N, ◮ a modulus q = poly(n), ◮ an error distribution with σ = poly(n), ◮ an underlying field K = Q(√p1, √p2, . . . , √pℓ),

◮ a square-free m = pi ≥ (2σ

  • n log n)2/ε for some ε > 0,

◮ ∀i : pi ≡ 1 mod 4, so ∆K = mn/2,

◮ a scaling parameter λ′ = λ/|∆K|ε/n

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 17/21

slide-37
SLIDE 37

Main result

For SCG ring-based LWE with parameters:

◮ n = 2ℓ for some ℓ ∈ N, ◮ a modulus q = poly(n), ◮ an error distribution with σ = poly(n), ◮ an underlying field K = Q(√p1, √p2, . . . , √pℓ),

◮ a square-free m = pi ≥ (2σ

  • n log n)2/ε for some ε > 0,

◮ ∀i : pi ≡ 1 mod 4, so ∆K = mn/2,

◮ a scaling parameter λ′ = λ/|∆K|ε/n

there exist an attack with Time: poly(n · log(q)) Space: O(n) samples

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 17/21

slide-38
SLIDE 38

Main result

For SCG ring-based LWE with parameters:

◮ n = 2ℓ for some ℓ ∈ N, ◮ a modulus q = poly(n), ◮ an error distribution with σ = poly(n), ◮ an underlying field K = Q(√p1, √p2, . . . , √pℓ),

◮ a square-free m = pi ≥ (2σ

  • n log n)2/ε for some ε > 0,

◮ ∀i : pi ≡ 1 mod 4, so ∆K = mn/2,

◮ a scaling parameter λ′ = λ/|∆K|ε/n

there exist an attack with Time: poly(n · log(q)) Space: O(n) samples λ′ = λ/|∆K|1/2n appears in ELOS‘15, CLS‘15, CLS‘16.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 17/21

slide-39
SLIDE 39

Main result

Tensor structure:

◮ K = K1 ⊗Q K2 ⊗Q · · · ⊗Q Kℓ,

◮ where Ki = Q(√pi)

◮ The ring of integers R = R1 ⊗Z R2 ⊗Z · · · ⊗Z Rℓ,

◮ where Ri = Z[(1 + √pi)/2]

◮ The dual R∨ = 1 √mR = R∨ 1 ⊗Z R∨ 2 ⊗Z · · · ⊗Z R∨ ℓ

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 18/21

slide-40
SLIDE 40

Main result

Tensor structure:

◮ K = K1 ⊗Q K2 ⊗Q · · · ⊗Q Kℓ,

◮ where Ki = Q(√pi)

◮ The ring of integers R = R1 ⊗Z R2 ⊗Z · · · ⊗Z Rℓ,

◮ where Ri = Z[(1 + √pi)/2]

◮ The dual R∨ = 1 √mR = R∨ 1 ⊗Z R∨ 2 ⊗Z · · · ⊗Z R∨ ℓ

So λ · B−1 is a Kronecker product of corresponding matrices in underlying quadratic fields Ki

  • −1+√pi

2 1+√pi 2

1 −1

  • ANTS-XII, Kaiserslautern, August 29, 2016

On error distributions in ring-based LWE 18/21

slide-41
SLIDE 41

Main result

Note

  • 1
  • ·
  • −1+√pi

2 1+√pi 2

1 −1

  • =
  • 1

−1

  • and through the Kronecker product
  • . . .

1

  • · λ · B−1 = d ∈ {1, −1}n

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 19/21

slide-42
SLIDE 42

Main result

Note

  • 1
  • ·
  • −1+√pi

2 1+√pi 2

1 −1

  • =
  • 1

−1

  • and through the Kronecker product
  • . . .

1

  • · λ · B−1 = d ∈ {1, −1}n

Applying to an error term of b = Aa · s + λ′ · B−1 · e we have |∆K|−ε/n · d ·

  • e1

e2 . . . en T = ω.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 19/21

slide-43
SLIDE 43

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-44
SLIDE 44

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

So a SCG-LWE sample      b1 b2 . . . bn      = Aa ·      s1 s2 . . . sn      + λ′ · B−1 ·      e1 e2 . . . en     

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-45
SLIDE 45

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

So a SCG-LWE sample results in bn = the last row of Aa, s + ω

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-46
SLIDE 46

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

So a SCG-LWE sample results in bn = the last row of Aa, s + ω ⌊bn⌉ = the last row of Aa, s

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-47
SLIDE 47

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

So a SCG-LWE sample results in bn = the last row of Aa, s + ω ⌊bn⌉ = the last row of Aa, s n exact equations reveal the secret vector s.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-48
SLIDE 48

Main result

ω is distributed by Gaussian with the standard deviation √n · σ |∆K|ε/n = √n · σ √mε ≤ 1 2

  • log n

. Asymptotically P

  • |ω| < 1

2

  • → 1 as n → ∞.

So a SCG-LWE sample results in bn = the last row of Aa, s + ω ⌊bn⌉ = the last row of Aa, s n exact equations reveal the secret vector s. The attack works for the corresponding Ring-LWE problem with σ′ = σ |∆|ε/n .

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 20/21

slide-49
SLIDE 49

Conclusion

◮ No threat to the security proof of Ring-LWE.

The standard deviation is far less than needed.

σ′ = σ |∆|ε/n ≤ 1 2

  • n log n

.

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 21/21

slide-50
SLIDE 50

Conclusion

◮ No threat to the security proof of Ring-LWE.

The standard deviation is far less than needed.

σ′ = σ |∆|ε/n ≤ 1 2

  • n log n

.

◮ SCG-LWE can simplify Ring-LWE.

◮ Keep a scalar λ instead of f ′(x). ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 21/21

slide-51
SLIDE 51

Conclusion

◮ No threat to the security proof of Ring-LWE.

The standard deviation is far less than needed.

σ′ = σ |∆|ε/n ≤ 1 2

  • n log n

.

◮ SCG-LWE can simplify Ring-LWE.

◮ Keep a scalar λ instead of f ′(x).

◮ Inaccurate choice of a scalar leads to attacks.

◮ ELOS‘15, CLS‘15, CLS‘16, ◮ unified overview in Peikert‘16. ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 21/21

slide-52
SLIDE 52

Conclusion

◮ No threat to the security proof of Ring-LWE.

The standard deviation is far less than needed.

σ′ = σ |∆|ε/n ≤ 1 2

  • n log n

.

◮ SCG-LWE can simplify Ring-LWE.

◮ Keep a scalar λ instead of f ′(x).

◮ Inaccurate choice of a scalar leads to attacks.

◮ ELOS‘15, CLS‘15, CLS‘16, ◮ unified overview in Peikert‘16.

◮ Hardness proof for proper scalars?

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 21/21

slide-53
SLIDE 53

Conclusion

◮ No threat to the security proof of Ring-LWE.

The standard deviation is far less than needed.

σ′ = σ |∆|ε/n ≤ 1 2

  • n log n

.

◮ SCG-LWE can simplify Ring-LWE.

◮ Keep a scalar λ instead of f ′(x).

◮ Inaccurate choice of a scalar leads to attacks.

◮ ELOS‘15, CLS‘15, CLS‘16, ◮ unified overview in Peikert‘16.

◮ Hardness proof for proper scalars?

Thank you for your attention!

ANTS-XII, Kaiserslautern, August 29, 2016 On error distributions in ring-based LWE 21/21