finding ecm friendly curves a galois approach
play

Finding ECM friendly curves: A Galois approach Sudarshan SHINDE - PowerPoint PPT Presentation

Computer algebra Approach Modular curves approach Comparing different families Finding ECM friendly curves: A Galois approach Sudarshan SHINDE Sorbonne Universit es, Paris (UPMC, IMJ-PRG) 25/01/2018 1 / 24 Computer algebra Approach


  1. Computer algebra Approach Modular curves approach Comparing different families Finding ECM friendly curves: A Galois approach Sudarshan SHINDE Sorbonne Universit´ es, Paris (UPMC, IMJ-PRG) 25/01/2018 1 / 24

  2. Computer algebra Approach Modular curves approach Comparing different families Motivation : Cryptology Integer factorization is an important problem in cryptology. There are two types of algorithms to do so. 1 Algorithms which find all the factors < m with cost depending on m and polynomially on the integer to factor. Ex. Trial division, ECM - Elliptic Curve Method . 2 Algorithms whose cost depends on the size of integer to factor. Ex. QS (Quadratic Sieve), NFS (Number Field Sieve). 2 / 24

  3. Computer algebra Approach Modular curves approach Comparing different families Motivation : Cryptology Integer factorization is an important problem in cryptology. There are two types of algorithms to do so. 1 Algorithms which find all the factors < m with cost depending on m and polynomially on the integer to factor. Ex. Trial division, ECM - Elliptic Curve Method . 2 Algorithms whose cost depends on the size of integer to factor. Ex. QS (Quadratic Sieve), NFS (Number Field Sieve).The building block which takes a non-negligible proportion of time in NFS is ECM. 2 / 24

  4. Computer algebra Approach Modular curves approach Comparing different families Preliminaries - 1 1 K a field, E is a curve defined by y 2 = x 3 + ax + b where a , b ∈ K such that 4 a 3 + 27 b 2 � = 0. We call E an elliptic curve over K . 2 We note the set of points on E with coordinates in K by E ( K ). With a distinguished point O E , E ( K ) has a group law under which it forms an Abelian group. 3 An important quantity associated with an elliptic curve is its 4 a 3 j -invariant which is 1728 4 a 3 +27 b 2 . 3 / 24

  5. Computer algebra Approach Modular curves approach Comparing different families ECM algorithm Algorithm 1 Practical version of ECM (Lenstra + Montgomery) INPUT : Integers n and B OUTPUT : a non-trivial factor of n . 1: while No factor is found do E / Q ← an elliptic curve and P = ( x : y : z ) ∈ E ( Q ). 2: P B ← [ B !] P = ( x B : y B : z B ) mod n 3: g ← gcd( z B , n ) 4: if g �∈ { 1 , n } then return g 5: end if 6: 7: end while 4 / 24

  6. Computer algebra Approach Modular curves approach Comparing different families Correctness Idea Let p be an unknown prime factor of n . If ord( P ) in E ( F p ) divides B !, then [ B !]( x P : y P : z P ) ≡ (0 : 1 : 0) mod p . In this case p divides gcd( z P , n ). Sufficient condition # E ( F p ) is B − smooth i.e. all its prime factors are < B . Idea of Montgomery Question : What if # E ( F p ) is even for all primes p ? Theorem : If m divides torsion order of E ( Q ) then m divides # E ( F p ) for almost all p . 5 / 24

  7. Computer algebra Approach Modular curves approach Comparing different families Montgomery heuristic Definition Let E be an elliptic curve, ℓ be a prime and n be a sufficiently large integer. We define empirical average valuation, � p < n (val ℓ (# E ( F p )) v ℓ ( E ) = ¯ . # { p < n } Heuristic Curves with larger average valuation are ECM-friendly. 6 / 24

  8. Computer algebra Approach Modular curves approach Comparing different families How to improve average valuation ? Some ways 1 Montgomery (1985), Suyama (1985), Atkin et Morain (1993), Bernstein et al (2010) : Torsion points over Q 7 / 24

  9. Computer algebra Approach Modular curves approach Comparing different families How to improve average valuation ? Some ways 1 Montgomery (1985), Suyama (1985), Atkin et Morain (1993), Bernstein et al (2010) : Torsion points over Q 2 Brier and Clavier (2010) : Torsion points over Q ( i ) v 2 (# E ( F p )) = 1 2 v 2 (# E ( F p ) | p ≡ 1 mod 4) + 1 2 v 2 (# E ( F p ) | p ≡ 3 mod 4) 7 / 24

  10. Computer algebra Approach Modular curves approach Comparing different families How to improve average valuation ? Some ways 1 Montgomery (1985), Suyama (1985), Atkin et Morain (1993), Bernstein et al (2010) : Torsion points over Q 2 Brier and Clavier (2010) : Torsion points over Q ( i ) v 2 (# E ( F p )) = 1 2 v 2 (# E ( F p ) | p ≡ 1 mod 4) + 1 2 v 2 (# E ( F p ) | p ≡ 3 mod 4) 3 Barbulescu et al (2012) : Better average valuation without additional torsion points by reducing the size of a ”specific” Galois group. 7 / 24

  11. Computer algebra Approach Modular curves approach Comparing different families Preliminaries - 2 Definition - Theorem For an elliptic curve E and a an integer m , we define the m -division polynomial as � Ψ ( E , m ) ( X ) = ( X − x ) ∈ Q [ X ] . ( x : ± y :1) ∈ E (¯ Q )[ m ] Example Let E : y 2 = x 3 + ax + b then Ψ ( E , 3) = x 4 + 2 ax 2 + 4 bx − 1 3 a 2 8 / 24

  12. Computer algebra Approach Modular curves approach Comparing different families Preliminaries - 2 Definition - Theorem For an elliptic curve E and a an integer m , we define the m -division polynomial as � Ψ ( E , m ) ( X ) = ( X − x ) ∈ Q [ X ] . ( x : ± y :1) ∈ E (¯ Q )[ m ] Example Let E : y 2 = x 3 + ax + b then Ψ ( E , 3) = x 4 + 2 ax 2 + 4 bx − 1 3 a 2 Division polynomials can be computed recursively thus it is not necessary to know E (¯ Q )[ m ] and they are used to construct the torsion fields. 8 / 24

  13. Computer algebra Approach Modular curves approach Comparing different families Preliminaries - 3 Definition ( m -torsion field) Let E be an elliptic curve on Q , m a positive integer. The m -torsion field Q ( E [ m ]) is the extension of Q by the coordinates of m -torsion points in ¯ Q . As E (¯ Q )[ m ] ≃ Z / m Z × Z / m Z , G = Gal( Q ( E [ m ]) / Q ) is always a subgroup of Aut ( Z / m Z × Z / m Z ) = GL 2 ( Z / m Z ). 9 / 24

  14. Computer algebra Approach Modular curves approach Comparing different families Preliminaries - 3 Definition ( m -torsion field) Let E be an elliptic curve on Q , m a positive integer. The m -torsion field Q ( E [ m ]) is the extension of Q by the coordinates of m -torsion points in ¯ Q . As E (¯ Q )[ m ] ≃ Z / m Z × Z / m Z , G = Gal( Q ( E [ m ]) / Q ) is always a subgroup of Aut ( Z / m Z × Z / m Z ) = GL 2 ( Z / m Z ). Mod m Galois Image (Definition) ρ E , m : Gal ( Q ( E [ m ]) / Q ) ֒ → GL 2 ( Z / m Z ) . Weil pairing Q ( ζ m ) is contained in Q ( E [ m ]) and we have det( ρ E , m ( Gal ( Q ( E [ m ]) / Q ))) = ( Z / m Z ) ∗ . 9 / 24

  15. Computer algebra Approach Modular curves approach Comparing different families Galois images Theorem (Serre, 1972) Let E be an elliptic curve without complex multiplication. (Generic case) For all primes ℓ outside a finite set depending on E and for all k ≥ 1, Gal ( Q ( E [ ℓ k ]) / Q ) = GL 2 ( Z /ℓ k Z ). For all primes ℓ and k ≥ 1, the sequence ι k = [ GL 2 ( Z /ℓ k Z ) : ρ E ,ℓ k ( Gal ( Q ( E [ ℓ k ]) / Q ))] is non-decreasing and eventually stationary. A conjecture of Serre ”La condition ℓ ≥ 41 suffit-elle ` a assurer que ρ E est surjectif ?” 10 / 24

  16. Computer algebra Approach Modular curves approach Comparing different families How to improve average valuation ? Theorem (Barbulescu et al. 2012) Let ℓ be a prime and E 1 and E 2 be two elliptic curves. If ∀ n ∈ N , Gal ( Q ( E 1 [ ℓ n ]) / Q ) ≃ Gal ( Q ( E 2 [ ℓ n ]) / Q ) then ¯ v ℓ ( E 1 ) = ¯ v ℓ ( E 2 ) . Thus in order to change the average valuation, we must change Gal ( Q ( E [ ℓ n ]) / Q ) for at least one n . 11 / 24

  17. Computer algebra Approach Modular curves approach Comparing different families How to improve average valuation ? Theorem (Barbulescu et al. 2012) Let ℓ be a prime and E 1 and E 2 be two elliptic curves. If ∀ n ∈ N , Gal ( Q ( E 1 [ ℓ n ]) / Q ) ≃ Gal ( Q ( E 2 [ ℓ n ]) / Q ) then ¯ v ℓ ( E 1 ) = ¯ v ℓ ( E 2 ) . Thus in order to change the average valuation, we must change Gal ( Q ( E [ ℓ n ]) / Q ) for at least one n . Example Primes found Family Torsion ¯ v 2 between 2 15 , 2 22 Suyama Z / 6 Z 10 / 7529 3 Suyama - 11 Z / 6 Z 11 / 9041 (20% more) 3 11 / 24

  18. Computer algebra Approach Modular curves approach Comparing different families Computer algebra Approach 12 / 24

  19. Computer algebra Approach Modular curves approach Comparing different families Computer algebra approach : Subfields Question : Under which conditions on t 0 ∈ Q , Gal ( K ( t 0 ) / Q ) ⊆ H ? K ( t ) H Gal ( K ( t ) / Q ( t )) = G K ( t ) H P t ( x ) ∈ Q ( t )[ x ] Q ( t ) = K ( t ) G Answer : When P t 0 ( x ) has a root in Q . 13 / 24

  20. Computer algebra Approach Modular curves approach Comparing different families For particular subgroups H Let G = Gal ( K ( t ) / Q ( t )) and H ⊆ G . 1 G = H : It suffices to check that for any tower of extensions between Q ( t ) and K ( t ), every defining polynomial remains irreducible. The complexity is the complexity of multivariate polynomial factorization of degrees < [ K ( t ) : Q ( t )]. This case becomes easy when [ K ( t ) : Q ( t )] is small. 2 [ G : H ] = 2 : Factorize Disc ( K ( t )) ∈ Z [ t ]. 1 For each squarefree factor f ∈ Z [ t ] of Disc ( K ( t )), check using 2 specializations if K ( t ) H is defined by X 2 − f . This case becomes easy if the factors of Disc ( K ( t )) are known. 14 / 24

Recommend


More recommend