In mathematics, the Jacobi curve is a representation of an elliptic curve different from the usual one defined by the Weierstrass equation. Sometimes it is used in cryptography instead of the Weierstrass form because it can provide a defence against simple and differential power analysis style (SPA) attacks; it is possible, indeed, to use the general addition formula also for doubling a point on an elliptic curve of this form: in this way the two operations become indistinguishable from some side-channel information. The Jacobi curve also offers faster arithmetic compared to the Weierstrass curve. The Jacobi curve can be of two types: the Jacobi intersection, that is given by an intersection of two surfaces, and the Jacobi quartic.
Elliptic Curves: Basics Given an elliptic curve, it is possible to do some "operations" between its points: for example one can add two points P and Q obtaining the point P + Q that belongs to the curve; given a point P on the elliptic curve, it is possible to "double" P, that means find [2]P = P + P (the square brackets are used to indicate [n]P, the point P added n times), and also find the negation of P, that means find –P. In this way, the points of an elliptic curve forms a group. Note that the identity element of the group operation is not a point on the affine plane, it only appears in the projective coordinates: then O = (0: 1: 0) is the "point at infinity", that is the neutral element in the group law. Adding and doubling formulas are useful also to compute [n]P, the n-th multiple of a point P on an elliptic curve: this operation is considered the most in elliptic curve cryptography. An elliptic curve E, over a field K can be put in the Weierstrass form y2 = x3 + ax + b, with a, b in K. What will be of importance later are point of order 2, that is P on E such that [2]P = O and P ≠ O. If P = (p, 0) is a point on E, then it has order 2; more generally the points of order 2 correspond to the roots of the polynomial f(x) = x3 + ax + b. From now on, we will use Ea,b to denote the elliptic curve with Weierstrass form y2 = x3 + ax + b. If Ea,b is such that the cubic polynomial x3 + ax + b has three distinct roots in K and b = 0 we can write Ea,b in the Legendre normal form:
Ea,b: y2 = x(x + 1)(x + j) In this case we have three points of order two: (0, 0), (–1, 0), (–j, 0). In this case we use the notation E[j]. Note that j can be expressed in terms of a, b.
Definition: Jacobi intersection An elliptic curve in P3(K) can be represented as the intersection of two quadric surfaces:
Q:{Q1(X0,X1,X2,X3)=0}∩{Q2(X0,X1,X2,X3)=0} It is possible to define the Jacobi form of an elliptic curve as the intersection of two quadrics. Let Ea,b be an elliptic curve in the Weierstrass form, we apply the following map to it:
Φ:(x,y)↦(X,Y,Z,T)=(x,y,1,x2) We see that the following system of equations holds:
𝐒:{X2−TZ=0Y2−aXZ−bZ2−TX=0 The curve E[j] corresponds to the following intersection of surfaces in P3(K):
𝐒1:{X2+Y2−T2=0kX2+Z2−T2=0. The "special case", E[0], the elliptic curve has a double point and thus it is singular. S1 is obtained by applying to E[j] the transformation:
ψ: E[j] → S1 (x,y)↦(X,Y,Z,T)=(−2y,x2−j,x2+2jx+j,x2+2x+j) O=(0:1:0)↦(0,1,1,1)
Group law For S1, the neutral element of the group is the point (0, 1, 1, 1), that is the image of O = (0: 1: 0) under ψ.
Addition and doubling Given P1 = (X1, Y1, Z1, T1) and P2 = (X2, Y2, Z2, T2), two points on S1, the coordinates of the point P3 = P1 + P2 are:
X3=T1Y2X1Z2+Z1X2Y1T2 Y3=T1Y2Y1T2−Z1X2X1Z2 Z3=T1Z1T2Z2−kX1Y1X2Y2 T3=(T1Y2)2+(Z1X2)2 These formulas are also valid for doubling: it sufficies to have P1 = P2. So adding or doubling points in S1 are operations that both require 16 multiplications plus one multiplication by a constant (k). It is also possible to use the following formulas for doubling the point P1 and find P3 = [2]P1:
X3=2Y1T1Z1X1 Y3=(T1Y1)2−(T1Z1)2+(Z1Y1)2 Z3=(T1Z1)2−(T1Y1)2+(Z1Y1)2 T3=(T1Z1)2+(T1Y1)2−(Z1Y1)2 Using these formulas 8 multiplications are needed to double a point. However, there are even more efficient “strategies” for doubling that require only 7 multiplications. In this way it is possible to triple a point with 23 multiplications; indeed [3]P1 can be obtained by adding P1 with [2]P1 with a cost of 7 multiplications for [2]P1 and 16 for P1 + [2]P1
Example of addition and doubling Let K = R or C and consider the case:
𝐒1:{X2+Y2−T2=04X2+Z2−T2=0 Consider the points P1=(1,3,0,2) and P2=(1,2,1,5): it is easy to verify that P1 and P2 belong to S1 (it is sufficient to see that these points satisfy both equations of the system S1). Using the formulas given above for adding two points, the coordinates for P3, where P3 = P1 + P2 are:
X3=T1Y2X1Z2+Z1X2Y1T2=4 Y3=T1Y2Y1T2−Z1X2X1Z2=415 Z3=T1Z1T2Z2−kX1Y1X2Y2=−83 T3=(T1Y2)2+(Z1X2)2=16 The resulting point is P3=(4,415,−83,16). With the formulas given above for doubling, it is possible to find the point P3 = [2]P1:
X3=2Y1T1Z1X1=0 Y3=(T1Y1)2−(T1Z1)2+(Z1Y1)2=12 Z3=(T1Z1)2−(T1Y1)2+(Z1Y1)2=−12 T3=(T1Z1)2+(T1Y1)2−(Z1Y1)2=12 So, in this case P3 = [2]P1 = (0, 12, –12, 12).
Negation Given the point P1 = (X1, Y1, Z1, T1) in S1, its negation is −P1 = (−X1, Y1, Z1, T1)
Addition and doubling in affine coordinates Given two affine points P1 = (x1, y1, z1) and P2 = (x2, y2, z2), their sum is a point P3 with coordinates:
x3=y2x1z2+z1x2y1(y22+(z1x2)2) y3=y2y1−z1x2x1z2(y22+(z1x2)2) z3=z1z2−ax1y1x2y2(y22+(z1x2)2) These formulas are valid also for doubling with the condition P1 = P2.
Extended coordinates There is another kind of coordinate system with which a point in the Jacobi intersection can be represented. Given the following elliptic curve in the Jacobi intersection form:
𝐒1:{x2+y2=1kx2+z2=1 the extended coordinates describe a point P = (x, y, z) with the variables X, Y, Z, T, XY, ZT, where:
x=X/T y=Y/T z=Z/T XY=X⋅Y ZT=Z⋅T Sometimes these coordinates are used, because they are more convenient (in terms of time-cost) in some specific situations. For more information about the operations based on the use of these coordinates see https://hyperelliptic.org/EFD/g1p/auto-jintersect-extended.html
Definition: Jacobi quartic
An elliptic curve in Jacobi quartic form can be obtained from the curve Ea,b in the Weierstrass form with at least one point of order 2. The following transformation f sends each point of Ea,b to a point in the Jacobi coordinates, where (X: Y: Z) = (sX: s2Y: sZ).
… excerpt ends here. Continue reading the full article.
