In geometry, the Hessian curve is a plane curve similar to folium of Descartes. It is named after the German mathematician Otto Hesse.This curve was suggested for application in elliptic curve cryptography, because arithmetic in this curve representation is faster and needs less memory than arithmetic in standard Weierstrass form.[1]
Let
K
E
K
\Delta=
3 | |
\left(a | |
3 |
3 | |
\left(a | |
1 |
-27a3\right)\right)=
3 | |
a | |
3 |
\delta.
P=(0,0)
To prove that
P=(0,0)
E
P
Y=0
E
P
Conversely, given a point
P
E
K
P=(0,0)
P
Y=0
2+a | |
Y | |
1 |
XY+a3Y=X3
a1,a3\inK
To obtain the Hessian curve, it is necessary to do the following transformation:
First let
\mu
Then
Note that if
K
q\equiv2\pmod{3}
K
\mu
Now by defining the following value another curve, C, is obtained, that is birationally equivalent to E:
which is called cubic Hessian form (in projective coordinates)
in the affine plane (satisfying and ).
Furthermore,
D3\ne1
Starting from the Hessian curve, a birationally equivalent Weierstrass equation is given byunder the transformations: andwhere: and
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 (the inverse of is again). Let be a point on the curve. The line
y=-x+(x1+y1)
x2-(x1+y1) ⋅ x+x1 ⋅ y1=\theta
Since
x1+y1+D
-P=(y1,x1)
-P=(Y1:X1:Z1)
In some application of elliptic curve cryptography and the elliptic curve method of factorization (ECM) it is necessary to compute the scalar multiplications of, say for some integer, and they are based on the double-and-add method; these operations need the addition and doubling formulas.
Doubling
Now, if
P=(X1:Y1:Z1)
Addition
In the same way, for two different points, say
P=(X1:Y1:Z1)
Q=(X2:Y2:Z2)
There is one algorithm 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 attacks.
For some algorithms 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:
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.
Then:
Let be a point, then the doubling formula is given by:
The cost of this algorithm is
P=(-1:-1:1)
2P=(X:Y:Z)
That is,
2P=(-4:-2:0)
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
y
X,Y,Z,XX,YY,ZZ,XY,YZ,XZ
x=X/Z
y=Y/Z
XX=X ⋅ X
YY=Y ⋅ Y
ZZ=Z ⋅ Z
XY=2 ⋅ X ⋅ Y
YZ=2 ⋅ Y ⋅ Z
XZ=2 ⋅ X ⋅ Z