mappings of elliptic curves · we assume you know about elliptic curves and their basic arithmetic....

28
Mappings of elliptic curves Benjamin Smith INRIA Saclay– ˆ Ile-de-France & Laboratoire d’Informatique de l’ ´ Ecole polytechnique (LIX) Eindhoven, September 2008 Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 1 / 28

Upload: others

Post on 19-Mar-2020

26 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Mappings of elliptic curves

Benjamin Smith

INRIA Saclay–Ile-de-France& Laboratoire d’Informatique de l’Ecole polytechnique (LIX)

Eindhoven, September 2008

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 1 / 28

Page 2: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Fields of Definition

Throughout this talk, k denotes some field.(In practice, k = Fq).

An object is “defined over k” or k-rational if we can define or represent itusing equations with coefficients in k.

We will tend to avoid characteristic 2 and 3 in our examples.

We assume you know about Elliptic Curves and their basic arithmetic.(We will use Weierstrass models for all of our examples).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 2 / 28

Page 3: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Elliptic CurvesBe careful that you understand the distinction between the elliptic curve Eand the group E (k) of its k-rational points.

The group law is defined for the curve E , not just the points in E (k).

Example

The group law on E : y 2 = x3 + 1 is defined by the “rational map”

(x1, y1) + (x2, y2) = (X (x1, y1, x2, y2),Y (x1, y1, x2, y2))

where

X =(x2

1 x2 + x1x22 − y1y2 + 2)

(x2 − x1)2

and

Y =(3x1 + x2)x2

2 y1 − (x1 + 3x2)x21 y2 − 4(y2 − y1)

(x2 − x1)3.

Observe that Y 2 = X 3 + 1.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 3 / 28

Page 4: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

The set of all elliptic curve over kSo far this week, we’ve dealt with individual elliptic curves in isolation.Now we want to consider all the elliptic curves over k at the same time.The geometer’s way of doing this is to consider the moduli space ofelliptic curves:

Each point in the space corresponds to a class of isomorphic curves —that is, curves that are related by a change of coordinates.

Remark

The moduli space of elliptic curves is really a line (ie one-dimensional).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 4 / 28

Page 5: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Polynomial mapsNow we want to start looking at relationships between curves.Geometric relationships are expressed by morphisms

For projective curves, a morphism φ : E → E ′ is defined by a polynomialmapping

φ : (X : Y : Z ) 7−→ (φ0(X ,Y ,Z ) : φ1(X ,Y ,Z ) : φ2(X ,Y ,Z )) ,

where the φi are homogeneous polynomials of equal degree satisfying thedefining equation of E ′.

In affine coordinates, φ will be a rational map (with denominators):

φ : (x , y) 7−→(φ0(x , y , 1)

φ2(x , y , 1),φ1(x , y , 1)

φ2(x , y , 1)

).

This rational map extends automatically to a polynomial mapwhen we “complete” the curves in projective space.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 5 / 28

Page 6: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Morphisms

Non-constant morphisms express algebraic relationships between curves.

1 Given a curve E , what does its structure tell us about the collectionof morphisms from E to other curves (including E itself)?

2 Given a collection of morphisms {φi : E → Ei}, what do they tell usabout the structure of E ?

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 6 / 28

Page 7: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Degree of a morphism

Every morphism of curves has an integer degree.Strictly speaking, the degree of φ : E → E ′ is the degree ofthe function field extension k(E ′)/k(E ) induced by φ.

We don’t have time to do this properly; but note that“most of the time”, a morphism E → E ′ has degree nif it induces an n-to-1 mapping from E (k) to E ′(k).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 7 / 28

Page 8: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

First examplesWe have already met some examples of morphisms of elliptic curves:

Example

For every elliptic curve E and for every integer m, the multiplication-by-mmap [m] is a morphism from E to itself (an endomorphism).Recall [m] sends all the points in E [m](k) to 0E .If m is not divisible by char k, then E [m](k) ∼= (Z/mZ)2,so [m] is m2-to-1, and the degree of [m] is m2.

Example

If E is defined over Fq, then we also have a Frobenius endomorphism,denoted πE , mapping (x , y) to (xq, yq).The degree of πE is q.Note that the set of fixed points of πE is E (Fq).

Exercise

Why is [m] a morphism? Can you represent it as a rational map?

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 8 / 28

Page 9: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Translations

For each point P in E (k), we have a “translation” morphism τP : E → Edefined over k , mapping Q 7−→ τ(P) = Q + P.

This is a polynomial map, since the group law is defined by polynomials.

Example

Consider the elliptic curve E : y 2 = x3 + 1 over Q.If P is the point (2, 3) in E (Q), then the translation τP is defined by

τP : (x , y) 7−→(

2((x + 1)2 − 3y)

(x − 2)2,

3(x3 + 6x2 + 4− 4(x + 1)y)

(x − 2)3

).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 9 / 28

Page 10: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Homomorphisms

A homomorphism is a morphism of elliptic curvesthat respects the group structure of the curves.

Theorem

Every morphism E → E ′ is a (unique) composition of a homomorphismE → E ′ and a translation on E ′.

Corollary

Every morphism E → E ′ mapping 0E to 0E ′ is automatically ahomomorphism!

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 10 / 28

Page 11: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Warning

From now on,

we consider only morphisms sending 0E to 0E ′.

This isn’t just convenient — it’s also the right thing to do(in a category-theoretical sense).

Strictly speaking, an “elliptic curve defined over k” is a pair (E , 0E ),where E is a curve of genus 1 over k and 0E is a distinguished k-rationalpoint on E (which becomes the zero of the group law).

So morphisms (E , 0E )→ (E ′, 0E ′) should map E to E ′ and 0E to 0′E .

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 11 / 28

Page 12: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Endomorphisms

An endomorphism of an elliptic curve E isa homomorphism from E to itself.The set of all endomorphisms of E is denoted End(E ).

The group structure on E makes End(E ) into a ring.

Addition in End(E ) is defined by (φ+ ψ)(P) := φ(P) + ψ(P)

Multiplication in End(E ) is defined by φψ := φ ◦ ψ.

End(E ) always contains a copy of Z, in the form of themultiplication-by-m maps.If E is defined over Fq, then we also have the Frobenius endomorphism πE .

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 12 / 28

Page 13: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Isomorphisms

Definition

An isomorphism is a morphism of degree 1.(Essentially, an isomorphism is a change of coordinate system.)

Example

Consider the curve E : y 2 + y = x3 over Q.There is an isomorphism (x , y) 7−→ (2233x , 2233(2y + 1))from E to the Weierstrass model E ′ : y 2 = x3 + 11664.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 13 / 28

Page 14: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Twists

Note that we can have curves E and E ′ defined over k such that there isan isomorphism E → E ′ defined over k but not over k .In this case, we say that E and E ′ are twists.

Example

Consider the curves E ′ : y 2 = x3 + 11664 and E ′′ : y 2 = x3 + 1,both defined over Q.These curves cannot be isomorphic over Q:E ′′(Q) has a point of order 2 (namely (−1, 0)),while E ′(Q) has no point of order 2.But over Q(

√2), we have an isomorphism E ′ → E ′′

defined by (x , y) 7−→ (2336√

2 · x , 2233y).We say that E ′ and E ′′ are quadratic twists.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 14 / 28

Page 15: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

The j-invariantThere exists a function

j : {Elliptic curves over k} −→ k,

called the j-invariant, such that

j(E ) = j(E ′) ⇐⇒ E and E ′ are isomorphic over k.

In fact, j is surjective, so k is the moduli space we mentioned earlier:each value of k corresponds to a distinct k-isomorphism classof elliptic curves defined over k.

Example

The j-invariant of E : y 2 = x3 + f2x2 + f1x + f0 is

j(E ) =−64f 6

2 + 576f 42 f1 − 1728f 2

2 f 21 + 1728f 3

1

f 32 f0 − 1

4 f 22 f 2

1 −92 f2f1f0 + f 3

1 + 274 f 2

0

.

Remark

All the twists of E have the same j-invariant as E .Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 15 / 28

Page 16: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

AutomorphismsAn automorphism is an isomorphism from a curve to itself.Every elliptic curve E : y 2 = f (x) has two obvious automorphisms:

1 the trivial one, [1] : (x , y) 7−→ (x , y), and

2 the involution [−1] : (x , y) 7−→ (x ,−y).

Example

The curve y 2 = x3 + ax (for any choice of a 6= 0) has an automorphism(x , y) 7→ (−x , iy) (where i2 = −1). These curves all have j-invariant 1728.

Example

The curve y 2 = x3 + a (for any choice of a 6= 0) has an automorphism(x , y) 7→ (ζ3x , y) (where ζ3

3 = 1). These curves all have j-invariant 0.

Remark

In these examples, the extra automorphisms may not be defined over k.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 16 / 28

Page 17: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

The Automorphism group

The automorphisms of E form a group, denoted Aut(E ).Typically, the automorphism group is as small as possible.

Theorem

Let E/k be an elliptic curve. Then Aut(E ) is finite, and its order is

2 if j(E ) /∈ {0, 1728}4 if j(E ) = 1728 and char k /∈ {2, 3}6 if j(E ) = 0 and char k /∈ {2, 3}12 if j(E ) = 0 = 1728 and char k = 3

24 if j(E ) = 0 = 1728 and char k = 2.

(In the last two cases, E is always supersingular.)

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 17 / 28

Page 18: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Automorphisms

An automorphism is a k-automorphism if it is defined over k .

Remark

The k-automorphism group of the underlying curve of E is a semidirectproduct of Aut(E )(k) and E (k), where E (k) acts by translation.This larger group is what you will get if you use AutomorphismGroup(E)in Magma.

Remark

The number of twists of E can be calculated by looking atthe action of Galois on Aut(E ).

Remark

There is a slightly faster Discrete Log algorithm for curves with largerautomorphism groups — see Duursma, Gaudry, and Morain (1999)for an overview.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 18 / 28

Page 19: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Isogenies

Definition

An isogeny is a (geometrically surjective) homomorphism with finite kernel.

This is the definition for general abelian varieties.For elliptic curves, we can use the equivalent and simpler

Definition (elliptic-curve specific)

An isogeny is a nonzero homomorphism.

Isogenies are determined (up to isomorphism) by their kernels:if φ : E → E ′ and ψ : E → E ′′ are isogenieswith the same kernel, then E ′ and E ′′ are isomorphic (or twists).

Remark

Isogenies are “almost” isomorphisms.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 19 / 28

Page 20: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Quotient isogenies

Given any finite subgroup S of E , we may form a quotient isogeny

φ : E −→ E ′ = E/S

with kernel S using Velu’s formulae.

Example

Consider E : y 2 = (x2 + b1x + b0)(x − a).The point (a, 0) on E has order 2; the quotient of E by 〈(a, 0)〉 gives anisogeny φ : E → E ′, where

E ′ : y 2 = x3 +−(4a + 2b1)x2 + (b21 − 4b0)x

and where φ maps (x , y) to(x3 − (a− b1)x2 − (b1a− b0)x − b0a

x − a,

(x2 − (2a)x − (b1a + b0))y

(x − a)2

).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 20 / 28

Page 21: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Rationality of isogenies

The quotient φ : E → F = E/S is defined over kif and only if S is defined over k (ie Galois-stable):the points of S need not be defined over k themselves.

In the case k = Fq, the quotient φ is defined over Fq

if and only if S is fixed by Frobenius— that is, if the equations defining S are fixed by Frobenius.The elements of such an S may be defined over Fqn for some n,in which case they will be permuted by Frobenius.

In particular, this means that there can be isogenies from E defined over keven when the elements of their kernels are not “visible” over k .

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 21 / 28

Page 22: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Tate’s theorem

Theorem

Let E and E ′ be elliptic curves over Fq.There exists an isogeny E → E ′ defined over Fq

if and only if #E (Fq) = #E ′(Fq).

Example

Consider E : y 2 = x3 − 8x + 16 over F101.We have E (F101) = Z/2Z× Z/44Z, so #E (F101) = 88.The point (5, 0) of E has order 2, and the quotient by 〈(5, 0)〉 is an isogeny

φ : E −→ E ′ : y 2 = x3 − 40x + 6.

Now E ′(F101) ∼= Z/88Z, so #E ′(F101) = #E (F101)— but note that E (F101) 6∼= E ′(F101).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 22 / 28

Page 23: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Dual isogenies and isogeny classes

(Existence of an) isogeny is an equivalence relation.

Theorem

Let φ : E → E ′ be an isogeny of degree m.There exists a dual isogeny φ† : E ′ → E such that φ† ◦ φ = [m]E

(and φ ◦ φ† = [m]E ′). Further, (φ†)†

= φ.

The set of curves that are isogenous to E is called the isogeny class of E .

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 23 / 28

Page 24: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Isogenies and DLP subgroupsIsogenies induce isomorphisms on DLP subgroups(cyclic subgroups of cryptographically interesting sizes).We can therefore use isogenies to move DLPs between curves.

Example (may or may not be a good idea)

Teske has proposed a trapdoor system based on a hidden isogeny betweena weak elliptic curve E and a “strong” elliptic curve F ′:

Here E and the sequence of isogenies is given to a key escrow agency,and a DLP-based cryptosystem on F ′ is made public.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 24 / 28

Page 25: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Splitting multiplications with isogenies

If φ : E → E ′ is an isogeny such that φ†φ = [m],then we say that “φ splits multiplication-by-m”.When gcd(m, q) = 1, what happens is that φ kills half the m-torsion,and the image of the remaining m-torsion is then killed by φ†.

Example

When φ has low degree and can be computed very efficiently,then computing φ followed by φ′ may be faster than computing [m] directly— so we can use the isogenies to speed up point multiplication(see Doche–Icart–Kohel, for example).

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 25 / 28

Page 26: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Frobenius isogenies

If q = pn, then we have an isogeny E −→ Ep : (x , y) 7→ (xp, yp),where Ep is the curve defined by the equation of Ewith all its coefficients raised to the p-th power.This is called the p-power Frobenius isogeny.

The q-power Frobenius endomorphism πE isa composition of n successive p-power isogenies.

Theorem

Every isogeny φ : E → E ′ may be expressed as a composition ofisogenies with prime-order cyclic kernels and p-power Frobenius isogenies.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 26 / 28

Page 27: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

The characteristic polynomial of Frobenius

Let E be an elliptic curve over Fq.The Frobenius endomorphism πE has a characteristic polynomial χπE

(a polynomial with integer coefficients such that χπE(πE ) = [0]).

We will look more closely at χπEon Friday, but for now note that

χπE(X ) = X 2 − tE X + q for some tE with |tE | ≤ 2

√q, and

χπE(1) = #E (Fq);

so in particular, (q + 1)− 2√

q ≤ #E (Fq) ≤ (q + 1) + 2√

q.

The integer tE is called the trace of Frobenius.

Remark

If E and E ′ are quadratic twists (isomorphic over Fq2 but not over Fq),then tE ′ = −tE .

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 27 / 28

Page 28: Mappings of elliptic curves · We assume you know about Elliptic Curves and their basic arithmetic. (We will use Weierstrass models for all of our examples). Smith (INRIA & LIX) Isogenies

Supersingular elliptic curves

Theorem

Let E be an elliptic curve over Fq, where q = pn. The following areequivalent:

1 E [pr ] = 0 for all r ≥ 1

2 tE is divisible by p

3 End(E ) is not commutative

If these conditions hold, we say that E is supersingular.Otherwise, we say E is ordinary, and E [pr ] ∼= (Z/prZ) for all r ≥ 1.

Remark

j-invariants of supersingular curves are isolated in the moduli space —and in fact, they are all in Fp2 .

It is much easier to determine #E (Fq) when E is supersingular.

If E over Fq is supersingular, then the Discrete Logarithm in E is onlyas hard as the Discrete Logarithm in F×qn for some smallish n.

Smith (INRIA & LIX) Isogenies of Elliptic Curves Eindhoven, September 2008 28 / 28