HOME

TheInfoList



OR:

In
geometry Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, the Hessian curve is a
plane curve In mathematics, a plane curve is a curve in a plane that may be a Euclidean plane, an affine plane or a projective plane. The most frequently studied cases are smooth plane curves (including piecewise smooth plane curves), and algebraic plane c ...
similar to folium of Descartes. It is named after the German mathematician Otto Hesse. This curve was suggested for application in
elliptic curve cryptography Elliptic-curve cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields. ECC allows smaller keys to provide equivalent security, compared to cryptosystems based on modula ...
, because arithmetic in this curve representation is faster and needs less memory than arithmetic in standard Weierstrass form.Cauchy-Desbove's Formulae: ''Hessian-elliptic Curves and Side-Channel Attacks'', Marc Joye and Jean-Jacques Quisquarter


Definition

Let K be a field and consider an
elliptic curve In mathematics, an elliptic curve is a smooth, projective, algebraic curve of genus one, on which there is a specified point . An elliptic curve is defined over a field and describes points in , the Cartesian product of with itself. If the ...
E in the following special case of Weierstrass form over K : Y^2+a_1 XY+a_3 Y=X^3 where the curve has
discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the zero of a function, roots without computing them. More precisely, it is a polynomial function of the coef ...
\Delta = \left(a_3^3 \left(a_1^3 - 27a_3\right)\right) = a_3^3 \delta. Then the point P=(0,0) has order 3. To prove that P=(0,0) has order 3, note that the tangent to E at P is the line Y=0 which intersects E with multiplicity 3 at P. Conversely, given a point P of order 3 on an elliptic curve E both defined over a field K one can put the curve into Weierstrass form with P=(0,0) so that the tangent at P is the line Y = 0. Then the equation of the curve is Y^2+a_1 XY+a_3 Y=X^3 with a_1,a_3\in K. To obtain the Hessian curve, it is necessary to do the following transformation: First let \mu denote a
root In vascular plants, the roots are the plant organ, organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often bel ...
of the polynomial T^3-\delta T^2+T+ a_3\delta^2=0. Then \mu=. Note that if K has a finite field of order q \equiv 2 \pmod, then every element of K has a unique
cube root In mathematics, a cube root of a number is a number that has the given number as its third power; that is y^3=x. The number of cube roots of a number depends on the number system that is considered. Every real number has exactly one real cub ...
; in general, \mu lies in an extension field of ''K''. Now by defining the following value D=\frac another curve, C, is obtained, that is birationally equivalent to E: C : x^3 + y^3 + z^3= 3Dxyz which is called ''cubic Hessian form'' (in
projective coordinates In mathematics, homogeneous coordinates or projective coordinates, introduced by August Ferdinand Möbius in his 1827 work , are a system of coordinates used in projective geometry, just as Cartesian coordinates are used in Euclidean geometry. T ...
) C : x^3 + y^3 + 1= 3Dxy in the ''affine plane'' (satisfying x=\frac and y=\frac ). Furthermore, D^3\ne1 (otherwise, the curve would be
singular Singular may refer to: * Singular, the grammatical number that denotes a unit quantity, as opposed to the plural and other forms * Singular or sounder, a group of boar, see List of animal names * Singular (band), a Thai jazz pop duo *'' Singula ...
). Starting from the Hessian curve, a birationally equivalent Weierstrass equation is given by v^2 = u^3 - 27D\left(D^3 + 8\right)u + 54\left(D^6 - 20 D^3 - 8\right), under the transformations: (x,y) = \left(\eta \left(u + 9D^2\right), - 1 + \eta\left(3D^3 - Dx -12\right)\right) and (u,v) = \left(-9D^2 + \varepsilon x, 3\varepsilon\left(y - 1\right)\right) where: \eta = \frac and \varepsilon = \frac


Group law

It is interesting to analyze the group law of the elliptic curve, defining the addition and doubling formulas (because the SPA and DPA attacks are based on the running time of these operations). Furthermore, in this case, we only need to use the same procedure to compute the addition, doubling or subtraction of points to get efficient results, as said above. In general, the group law is defined in the following way: ''if three points lie in the same line then they sum up to zero''. So, by this property, the group laws are different for every curve. In this case, the correct way is to use the Cauchy-Desboves´ formulas, obtaining the point at infinity , that is, the
neutral element In mathematics, an identity element or neutral element of a binary operation is an element that leaves unchanged every element when the operation is applied. For example, 0 is an identity element of the addition of real numbers. This concept is use ...
(the inverse of is again). Let be a point on the curve. The line y = -x + (x_1+y_1) contains the point and the point at infinity . Therefore, is the third point of the intersection of this line with the curve. Intersecting the elliptic curve with the line, the following condition is obtained x_2-(x_1+y_1)\cdot x + x_1\cdot y_1=\theta Since x_1+y_1+D is non zero (because is distinct to 1), the -coordinate of is and the -coordinate of is , i.e., -P = (y_1,x_1) or in projective coordinates -P = (Y_1:X_1:Z_1). In some application of
elliptic curve cryptography Elliptic-curve cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields. ECC allows smaller keys to provide equivalent security, compared to cryptosystems based on modula ...
and the elliptic curve method of factorization ( ECM) it is necessary to compute the scalar multiplications of , say for some
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, and they are based on the double-and-add method; these operations need the addition and doubling formulas. Doubling Now, if P = (X_1:Y_1:Z_1) is a point on the elliptic curve, it is possible to define a "doubling" operation using Cauchy-Desboves´ formulae: =\left(Y_1 \cdot \left(X_1^3-Z_1^3\right) : X_1 \cdot \left(Z_1^3-Y_1^3\right) : Z_1 \cdot \left(Y_1^3-X_1^3\right)\right) Addition In the same way, for two different points, say P=(X_1 : Y_1 : Z_1) and Q=(X_2 : Y_2 : Z_2), it is possible to define the addition formula. Let denote the sum of these points, , then its coordinates are given by: R=\left(Y_1^2\cdot X_2\cdot Z_2-Y_2^2\cdot X_1\cdot Z_1 : X_1^2\cdot Y_2\cdot Z_2-X_2^2\cdot Y_1\cdot Z_1 : Z_1^2\cdot X_2\cdot Y_2-Z_2^2\cdot X_1\cdot Y_1\right)


Algorithms and examples

There is one
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
that can be used to add two different points or to double; it is given by Joye and Quisquater. Then, the following result gives the possibility the obtain the doubling operation by the addition: Proposition. Let be a point on a Hessian elliptic curve . Then: Furthermore, we have . Finally, contrary to other parameterizations, there is no subtraction to compute the negation of a point. Hence, this addition algorithm can also be used for subtracting two points and on a Hessian elliptic curve: To sum up, by adapting the order of the inputs according to equation (2) or (3), the addition algorithm presented above can be used indifferently for: Adding 2 (diff.) points, Doubling a point and Subtracting 2 points with only 12 multiplications and 7 auxiliary variables including the 3 result variables. Before the invention of Edwards curves, these results represent the fastest known method for implementing the elliptic curve scalar multiplication towards resistance against
side-channel attack In computer security, a side-channel attack is a type of security exploit that leverages information inadvertently leaked by a system—such as timing, power consumption, or electromagnetic or acoustic emissions—to gain unauthorized access to ...
s. For some
algorithms In mathematics and computer science, an algorithm () is a finite sequence of mathematically rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for per ...
protection against side-channel attacks is not necessary. So, for these doublings can be faster. Since there are many algorithms, only the best for the addition and doubling formulas is given here, with one example for each one:


Addition

Let and be two points distinct to . Assuming that then the algorithm is given by: : : : The cost needed is 8 multiplications and 3 additions readdition cost of 7 multiplications and 3 additions, depending on the first point. ;Example Given the following points in the curve for and , then if we have: : : : Then:


Doubling

Let be a point, then the doubling formula is given by: * * * * * * * The cost of this algorithm is ;Example If P=(-1:-1:1) is a point over the Hessian curve with parameter , then the coordinates of 2P=(X:Y:Z) are given by: That is, 2P=(-4:-2:0)


Extended coordinates

There is another coordinates system with which a Hessian curve can be represented; these new coordinates are called extended coordinates. They can speed up the addition and doubling. To have more information about operations with the extended coordinates see: http://hyperelliptic.org/EFD/g1p/auto-hessian-extended.html#addition-add-20080225-hwcd x and y are represented by X , Y , Z , XX , YY , ZZ , XY , YZ , XZ satisfying the following equations: * x=X/Z * y=Y/Z * XX=X\cdot X * YY=Y\cdot Y * ZZ=Z\cdot Z * XY=2\cdot X\cdot Y * YZ=2\cdot Y\cdot Z * XZ=2\cdot X\cdot Z


See also

*For more information about the running-time required in a specific case, see Table of costs of operations in elliptic curves * Twisted Hessian curves


External links

* http://hyperelliptic.org/EFD/g1p/index.html


Notes


References

* Otto Hesse (1844), "Über die Elimination der Variabeln aus drei algebraischen Gleichungen vom zweiten Grade mit zwei Variabeln", ''Journal für die reine und angewandte Mathematik'', 10, pp. 68–96 * * {{DEFAULTSORT:Hessian Form Of An Elliptic Curve Elliptic curves Elliptic curve cryptography