This page uses content from Wikipedia and is licensed under CC BY-SA.

In 1998 Gerhard Frey firstly proposed using **trace zero varieties** for cryptographic purpose. These varieties are subgroups of the divisor class group on a low genus hyperelliptic curve defined over a finite field. These groups can be used to establish asymmetric cryptography using the discrete logarithm problem as cryptographic primitive.

Trace zero varieties feature a better scalar multiplication performance than elliptic curves. This allows a fast arithmetic in this groups, which can speed up the calculations with a factor 3 compared with elliptic curves and hence speed up the cryptosystem.

Another advantage is that for a groups of cryptographically relevant size, the order of the group can simply be calculated using the characteristic polynomial of the Frobenius endomorphism. This is not the case, for example, in elliptic curve cryptography when the group of points of an elliptic curve over a prime field is used for cryptographic purpose.

However to represent an element of the trace zero variety more bits are needed compared with elements of elliptic or hyperelliptic curves. Another disadvantage, is the fact, that it is possible to reduce the security of the TZV of ^{1}/_{6}^{th} of the bit length using cover attack.

A hyperelliptic curve *C* of genus *g* over a prime field where *q* = *p*^{n} (*p* prime) of odd characteristic is defined as

where *f* monic, deg(*f*) = 2*g* + 1 and deg(*h*) ≤ g. The curve has at least one -rational Weierstraßpoint.

The Jacobian variety of *C* is for all finite extension isomorphic to the ideal class group . With the *Mumford's representation* it is possible to represent the elements of with a pair of polynomials *[u, v]*, where *u*, *v* ∈ .

The *Frobenius endomorphism* σ is used on an element *[u, v]* of to raise the power of each coefficient of that element to *q*: σ(*[u, v]*) = [*u*^{q}(x), v^{q}(x)]. The characteristic polynomial of this endomorphism has the following form:

where a_{i} in ℤ

With the *Hasse–Weil theorem* it is possible to receive the group order of any extension field by using the complex roots τ_{i} of χ(*T*):

Let *D* be an element of the of *C*, then it is possible to define an endomorphism of , the so-called *trace of D*:

Based on this endomorphism one can reduce the Jacobian variety to a subgroup *G* with the property, that every element is of trace zero:

*G* is the kernel of the trace endomorphism and thus *G* is a group, the so-called **trace zero (sub)variety** (TZV) of .

The intersection of *G* and is produced by the *n*-torsion elements of . If the greatest common divisor the intersection is empty and one can compute the group order of *G*:

The actual group used in cryptographic applications is a subgroup *G _{0}* of

There exist three different cases of cryptograpghical relevance for TZV:^{[3]}

*g*= 1,*n*= 3*g*= 1,*n*= 5*g*= 2,*n*= 3

The arithmetic used in the TZV group *G _{0}* based on the arithmetic for the whole group , But it is possible to use the

- For
*g*= 1,*n*= 3: - For
*g*= 1,*n*= 5: - For
*g*= 2,*n*= 3:

Knowing this, it is possible to replace any scalar multiplication *mD (|m| ≤ l/2)* with:

With this trick the multiple scalar product can be reduced to about 1/(*n* − 1)^{th} of doublings necessary for calculating *mD*, if the implied constants are small enough.^{[4]}^{[5]}

The security of cryptographic systems based on trace zero subvarieties according to the results of the papers^{[6]}^{[7]}
comparable to the security of hyper-elliptic curves of low genus *g' * over , where *p' * ~ (*n* − 1)(*g/g' *) for *|G|* ~128 bits.

For the cases where *n* = 3, *g* = 2 and *n* = 5, *g* = 1 it is possible to reduce the security for at most 6 bits, where *|G|* ~ 2^{256}, because one can not be sure that *G* is contained in a Jacobian of a curve of genus 6. The security of curves of genus 4 for similar fields are far less secure.

The attack published in^{[8]}
shows, that the DLP in trace zero groups of genus 2 over finite fields of characteristic diverse than 2 or 3 and a field extension of degree 3 can be transformed into a DLP in a class group of degree 0 with genus of at most 6 over the base field. In this new class group the DLP can be attacked with the index calculus methods. This leads to a reduction of the bit length ^{1}/_{6}^{th}.

**^**G. Frey and T. Lange: "Mathematical background of public key cryptography"**^**T. Lange: "Trace zero subvariety for cryptosystems"**^**R. M. Avanzi and E. Cesena: "Trace zero varieties over fields of characteristic 2 for cryptographic applications"**^**R. M. Avanzi and E. Cesena: "Trace zero varieties over fields of characteristic 2 for cryptographic applications"**^**T. Lange: "Trace zero subvariety for cryptosystems"**^**T. Lange: "Trace zero subvariety for cryptosystems"**^**R. M. Avanzi and E. Cesena: "Trace zero varieties over fields of characteristic 2 for cryptographic applications"**^**C. Diem and J. Scholten: "An attack on a trace-zero cryptosystem"

- G. Frey and T. Lange: "Mathematical background of public key cryptography", Technical report, 2005
^{[better reference needed]} - R. M. Avanzi and E. Cesena: "Trace zero varieties over fields of characteristic 2 for cryptographic applications", Technical report, 2007
^{[better reference needed]} - T. Lange: "Trace zero subvariety for cryptosystems", Technical report, 2003, [eprint.iacr.org], 2003
^{[better reference needed]} - C. Diem and J. Scholten: "An attack on a trace-zero cryptosystem"
^{[better reference needed]} - M. Wienecke: "Cryptography on Trace-Zero Varieties", ITS-Seminar paper, [archive.is], 2008
- A. V. Sutherland: "101 useful trace zero varieties", [www-math.mit.edu], 2007