Hardness and advantages
- f Module-SIS and Module-LWE
Adeline Roux-Langlois
EMSEC: Univ Rennes, CNRS, IRISA
April 24, 2018
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 1/ 23
Hardness and advantages of Module-SIS and Module-LWE Adeline - - PowerPoint PPT Presentation
Hardness and advantages of Module-SIS and Module-LWE Adeline Roux-Langlois EMSEC: Univ Rennes, CNRS, IRISA April 24, 2018 Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 1/ 23 Introduction
EMSEC: Univ Rennes, CNRS, IRISA
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 1/ 23
◮ Lattice-based cryptography: why using module lattices? ◮ Definition of Module SIS and LWE ◮ Hardness results on Module SIS and LWE ◮ Conclusion and open problems
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 2/ 23
dimension n, modulo q
A ← Uniform in Zm×n
q
s ← Uniform in Zn
q
e is a small error m ≥ n
and/or
find s Given
s + e
m n
→ solve GapSVP/SIVP
Construction
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 3/ 23
◮ Public key encryption and Signature scheme (practical), [Regev 05, Gentry, Peikert and Vaikuntanathan 08, Lyubashevsky 12 ...]; ◮ Identity/Attribute-based encryption, [GPV 08 Gorbunov, Vaikuntanathan and Wee 13 ...]; ◮ Fully homomorphic encryption, [Gentry 09, BV 11, ...].
◮ (Asymptotically) efficient; ◮ Security proofs from the hardness of lattice problems; ◮ Likely to resist attacks from quantum computers.
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 4/ 23
◮ Signature (5 lattice-based), ◮ Public key encryption / Key exchange mechanism
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 5/ 23
q
q ),
q
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 6/ 23
q
q ),
q ( A )
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 6/ 23
◮ Hardness of the SIS problem [Ajtai 96, MR 04, GPV 08, ...] ◮ Hardness of the LWE problem [Regev 05, Peikert 09,
◮ Shrinking modulus / Expanding dimension:
qk to LWEnk q . ◮ Expanding modulus / Shrinking dimension:
q to LWEn/k qk .
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 7/ 23
◮ TrapGen (A, TA) such that TA allows to find short x(’s)
◮ TA is a short basis of Λ⊥ q (A) = {x ∈ Zm|xT A = 0 mod q} ◮ In a public key scheme:
◮ public key: A ◮ secret key: TA Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 8/ 23
◮ Key generation:
◮ pk = A, (Ai)i ◮ sk = TA
◮ To sign a message M:
◮ use TA to solve SIS: find small x such
◮ To verify a signature x given M:
◮ check xT AM = 0 mod q and x small
◮ AM =
i MiAi
◮ Knowing a trapdoor for A ⇒ knowing a trapdoor for AM, ◮ Several known constructions [Boyen 10, CHKP 10 ..]
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 9/ 23
◮ Problem: constructions based on SIS/LWE enjoy a nice
◮ Ring variants since 2006:
◮ Structured A ∈ Zm·n×n
q
◮ Product with matrix/vector more efficient, ◮ Hardness of Ring-SIS, [Lyubashevsky and Micciancio 06] and [Peikert and Rosen 06] ◮ Hardness of Ring-LWE [Lyubashevsky, Peikert and Regev 10].
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 10/ 23
◮ KeyGen(λ) → (vk,sk)
◮ choose uniform a′ ∈ Rm−2
q
◮ sk= T ∈ R(m−2)×2 gaussian ◮ pk= a =
◮ Sign(a, T, M) → x
◮ Using T, find small x ∈ Rm
q
◮ Verify(a, x, M) → {0, 1}
◮ Accept iff xT aM = 0 mod qR
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 11/ 23
◮ Preimage sampling [MP 12, GM 18], ◮ Fast multiplication of ring elements
◮ Two important conditions: n = 2k and q = 1 mod 2n
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 12/ 23
◮ Hardness of Module SIS and LWE [LS15,AD17] ◮ Dilithium & Kyber - Crystals NIST submissions [Avanzi et al.]
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 13/ 23
◮ Lattice-based cryptography: why using module lattices? ◮ Definition of Module SIS and LWE ◮ Hardness results on Module variants ◮ Conclusion and open problems
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 14/ 23
R = Z[x]/xn + 1 R = Z[x]/xnd + 1 Rot(a1,1) Rot(a1,d) Rot(amm,1) Rot(amm,d)
q
q , ei ∈ Z
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 15/ 23
q independent and uniform, find z1, . . . , zm ∈ R
i=1 ai · zi = 0 mod q and 0 < z ≤ β.
s,να is: ◮ a ∈ (Rq)d uniform, ◮ e sampled from Dα,
qa, s + e
s,Dα, or the same number from U((Rq)d × TR).
s,Dα ≈c U((Rq)d × TR).
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 16/ 23
◮ Ring-SIS-instance: a1, . . . , am ∈ Rq, ◮ For 2 ≤ i ≤ d, 1 ≤ j ≤ m: sample ai,j, aj = (aj, a2,j, . . . , ad,j), ◮ Module-SIS: gives small z such that j aj · zj = 0
j aj · zj = 0
◮ Ring-LWE instance: (a, b = a · s + e), ◮ Sample a2, . . . , ad and s2, . . . , sd, ◮ New sample: (a = (a, a2, . . . , ad), b + d i=2 ai · si).
◮ s = (s, s1, . . . , sd) ∈ (Rq)d, ◮ then b + d
i=2 ai · si = a, s + e ⇒ Module-LWE instance
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 17/ 23
◮ Lattice-based cryptography: why using module lattices? ◮ Definition of Module SIS and LWE ◮ Hardness results on Module variants ◮ Conclusion and open problems
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 18/ 23
◮ Let σ be an embedding from K to Rn, σ(I) is an ideal lattice
◮ Let (σ, . . . , σ) be an embedding from Kd to Rnd·d, σ(M) is a
k Ik · bk,
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 19/ 23
◮ Reduction from Module-SIVP to Module-SIS. ◮ Quantum reduction from Module-SIVP to Module-LWE. ◮ Reduction from search to decision Module-LWE.
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 20/ 23
◮ Reduction from Module-SIVP to Module-SIS. ◮ Quantum reduction from Module-SIVP to Module-LWE. ◮ Reduction from search to decision Module-LWE.
◮ For R = Z[x]/xn + 1 with n = 2k, ◮ Reduction from Module-SIS to Module-SIVP, ◮ Reduction from Module-LWE to Module-SIVP.
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 21/ 23
◮ R is a power-of-two cyclotomic ring: the same for both problems, ◮ Reduction
◮ If k = d ⇒ Reduction from (search) Module-LWE with rank d
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 22/ 23
◮ α′ = α · n2√
◮ γ = O( n5/2·d3/2 α′
◮ Cryptanalysis observation: Ring-LWE becomes harder when q
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 23/ 23
◮ Lattice-based cryptography: why using module lattices? ◮ Definition of Module SIS and LWE ◮ Hardness results on Module variants ◮ Conclusion and open problems
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 24/ 23
◮ Module problems hard and interesting to build cryptographic
◮ Dilithium (signature - MSIS/MLWE): n = 256, m, d = 3, 4. ◮ Kyber (KEM - MLWE) ◮ Saber / 3-bears (KEM - MLWR)
◮ Hardness of Module Learning With Rounding
◮ Problem used in several NIST submission,
◮ A better understanding of Ring-LWE / Module-LWE ◮ A better understanding of SIVP on module lattices
Adeline Roux-Langlois Hardness and advantages of Module-SIS and LWE April 24, 2018 25/ 23