10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.2 Elliptic arithmetic 329<br />

Before we discuss option (4) for elliptic arithmetic, we bring in an<br />

extraordinarily useful idea, one that has repercussions far beyond option (4).<br />

Definition 7.2.5. If E(F ) is an elliptic curve over a field F ,governedby<br />

the equation y 2 = x 3 + Cx 2 + Ax + B, andg isanonzeroelementofF ,<br />

then the quadratic twist of E by g is the elliptic curve over F governed by the<br />

equation gy 2 = x 3 +Cx 2 +Ax+B. By a change of variables X = gx, Y = g 2 y,<br />

the Weierstrass form for this twist curve is Y 2 = X 3 + gCX 2 + g 2 AX + g 3 B.<br />

We shall find that in some contexts it will be useful to leave the curve in the<br />

form gy 2 = x 3 + Cx 2 + Ax + B, and in other contexts, we shall wish to use<br />

the equivalent Weierstrass form.<br />

An immediate observation is that if g, h are nonzero elements of the field<br />

F , then the quadratic twist of an elliptic curve by g gives a group isomorphic<br />

to the quadratic twist of the curve by gh 2 . (Indeed, just let a new variable Y<br />

be hy. To see that the groups are isomorphic, a simple check of the formulae<br />

involved suffices.) Thus, if Fq is a finite field, there is really only one quadratic<br />

twist of an elliptic curve E(Fq) that is different from the curve itself. This<br />

follows, since if g is not a square in Fq, thenash runs over the nonzero<br />

elements of Fq, gh 2 runs over all of the nonsquares. This unique nontrivial<br />

quadratic twist of E(Fq) is sometimes denoted by E ′ (Fq), especially when we<br />

are not particularly interested in which nonsquare is involved in the twist.<br />

Now for option (4), homogeneous coordinates with “Y ” dropped. We shall<br />

discuss this for a twist curve gy 2 = x 3 +Cx 2 +Ax+B; see Definition 7.2.5. We<br />

first develop the idea using affine coordinates. Suppose P1,P2 are affine points<br />

on an elliptic curve E(F )withP1 = ±P2. One can write down via Definition<br />

7.1.2 (generalized for the presence of “g”) expressions for x+,x−, namely,<br />

the x-coordinates of P1 + P2 and P1 − P2, respectively. If these expressions<br />

are multiplied, one sees that the y-coordinates of P1,P2 appear only to even<br />

powers, and so may be replaced by x-expressions, using the defining curve<br />

gy 2 = x 3 + Cx 2 + Ax + B. Somewhat miraculously the resulting expression<br />

is subject to much cancellation, including the disappearance of the parameter<br />

g. The equations are stated in the following result from [Montgomery 1987,<br />

1992a], though we generalize them here to a quadratic twist of any curve that<br />

is given by equation (7.5).<br />

Theorem 7.2.6 (Generalized Montgomery identities). Given an elliptic<br />

curve E determined by the cubic<br />

gy 2 = x 3 + Cx 2 + Ax + B,<br />

and two points P1 =(x1,y1), P2 =(x2,y2), neither being O, denote by x±<br />

respectively the x-coordinates of P1 ± P2. Then if x1 = x2, we have<br />

x+x− = (x1x2 − A) 2 − 4B(x1 + x2 + C)<br />

(x1 − x2) 2 ,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!