Elliptic Curve Classroom (JAVA required) 2.2 Elliptic Curve Addition: An Algebraic Approach





Although the previous geometric descriptions of elliptic curves provides an excellent method of illustrating elliptic curve arithmetic, it is not a practical way to implement arithmetic computations. Algebraic formulae are constructed to efficiently compute the geometric arithmetic.



2.2.1 Adding distinct points P and Q

When P = (xP,yP) and Q = (xQ,yQ) are not negative of each other,

P + Q = R where

l = (yP - yQ) / (xP - xQ)

xR = l2 - xP - xQ

and

yR = -yP + l(xP - xR)

Note that l is the slope of the line through P and Q.


2.2.2 Doubling the point P

When yP is not 0,

2P = R where

l = (3xP2 + a) / (2yP )

xR = l2 - 2xP

and

yR = -yP + l(xP - xR)

Recall that a is one of the parameters chosen with the elliptic curve and that l is the slope of the line through P and Q.

[back][previous menu][next]




Certicom is a trademark of the Certicom Corp. © Copyright Certicom Corp. 1997. All rights reserved.

Comments or Questions about this site? Please contact info@certicom.ca