Twisted Hessian curves

Short description: Type of elliptic curve

In mathematics, twisted Hessian curves are a generalization of Hessian curves; they were introduced in elliptic curve cryptography to speed up the addition and doubling formulas and to have strongly unified arithmetic. In some operations (see the last sections), it is close in speed to Edwards curves. Twisted Hessian curves were introduced by Bernstein, Lange, and Kohel.[1]

## Contents

* 1 Definition
* 2 Group law
* 2.1 Addition formulas
* 2.2 Doubling formulas
* 3 Algorithms and examples
* 3.1 Addition
* 3.2 Doubling
* 4 See also
* 5 External links
* 6 References

## Definition

A Twisted Hessian curve of equation 10x3+y3+1=15xy

Let K be a field. The twisted Hessian form in affine coordinates is given by:

a⋅x3+y3+1=d⋅x⋅y

and in projective coordinates by

a⋅X3+Y3+Z3=d⋅X⋅Y⋅Z,

where x = X/Z and y = Y/Z and a,d ∈ K. These curves are birationally equivalent to Hessian curves, and Hessian curves are just the special case of twisted Hessian curves in which a = 1.

Considering the equation a * x3 \+ y3 \+ 1 = d * x * y, note that, if a has a cube root in K, then there exists a unique b such that a = b3; otherwise, it is necessary to consider an extension field of K, such as K(a1/3). Then, since b3x3 = ax3, defining t = bx, the following equation is needed (in Hessian form) to do the transformation:

t3+y3+1=d⋅x⋅y.

This means that twisted Hessian curves are birationally equivalent to elliptic curves in Weierstrass form.

## Group law

It is interesting to analyze the group law of the elliptic curve, defining the addition and doubling formulas (because the simple power analysis and differential power analysis attacks are based on the running time of these operations). In general, the group law is defined in the following way: if three points lies in the same line then they sum up to zero. So, by this property, the explicit formulas for the group law depend on the curve shape.

Let P = (x1, y1) be a point; its inverse is then −P = (x1/y1, 1/y1) in the plane. In projective coordinates, let P = (X : Y : Z) be a point; then −P = (X1/Y1 : 1/Y1 : Z) is its inverse. Furthermore, the neutral element in affine plane is θ = (0, −1), and in projective coordinates it is θ = (0 : −1 : 1).

In some applications of elliptic curves for cryptography and integer factorization, it is necessary to compute scalar multiples of P, say [n]P for some integer n, and they are based on the double-and-add method, so the addition and doubling formulas are needed. Using affine coordinates, the addition and doubling formulas for this elliptic curve are as follows.

### Addition formulas

Let P = (x1, y1) and Q = (x2, y2); then, R = P \+ Q = (x3, y3), where

x3=x1−y12⋅x2⋅y2a⋅x1⋅y1⋅x22−y2

y3=y1⋅y22−a⋅x12⋅x2a⋅x1⋅y1⋅x22−y2

### Doubling formulas

Let P = (x, y); then [2]P = (x1, y1), where

x1=x−y3⋅xa⋅y⋅x3−y

y1=y3−a⋅x3a⋅y⋅x3−y

## Algorithms and examples

Here some efficient algorithms of the addition and doubling law are given; they can be important in cryptographic computations, and the projective coordinates are used to this purpose.

### Addition

A=X1⋅Z2

B=Z1⋅Z2

C=Y1X2

D=Y1⋅Y2

E=Z1⋅Y2

F=a⋅X1⋅X2

X3=A⋅B−C⋅D

Y3=D⋅E−F⋅A

Z3=F⋅C−B⋅E

The cost of this algorithm is 12 multiplications, one multiplication by a constant, and 3 additions.

Example:

Let P1 = (1 : −1 : 1) and P2 = (−2 : 1 : 1) be points over a twisted Hessian curve with (a,d) = (2, −2). Then R = P1 \+ P2 is given by:

A=−1;B=−1;C=−1;D=−1;E=1;F=2;

x3=0
y3=−3
z3=−3

That is, R = (0 : −3 : −3).

### Doubling

D=X13

E=Y13

F=Z13

G=a⋅D

X3=X1⋅(E−F)

Y3=Z1⋅(G−E)

Z3=Y1⋅(F−G)

The cost of this algorithm is 3 multiplications, one multiplication by a constant, 3 additions, and 3 cubings. This is the best result obtained for this curve.

Example:

Let P = (1 : −1 : 1) be a point over the curve defined by (a,d) = (2, −2) as above; then, R = [2]P = (x3, y3, z3) is given by:

D=1;E=−1;F=1;G=−4;

x3=−2
y3=−3
z3=−5

That is, R = (−2 : −3 : 5).

## See also

* Table of costs of operations in elliptic curves

## External links

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

## References

1. ↑ "Twisted Hessian curves". http://hyperelliptic.org/EFD/g1p/auto-twistedhessian.html. Retrieved 28 February 2010.

* http://hyperelliptic.org/EFD/g1p/auto-twistedhessian.html

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Twisted Hessian curves. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Twisted_Hessian_curves&oldid=4155572"