Contents
XTR
In cryptography, XTR is an algorithm for public-key encryption. XTR stands for 'ECSTR', which is an abbreviation for Efficient and Compact Subgroup Trace Representation. It is a method to represent elements of a subgroup of a multiplicative group of a finite field. To do so, it uses the trace over GF(p^2) to represent elements of a subgroup of GF(p^6)^. From a security point of view, XTR relies on the difficulty of solving Discrete Logarithm related problems in the full multiplicative group of a finite field. Unlike many cryptographic protocols that are based on the generator of the full multiplicative group of a finite field, XTR uses the generator g of a relatively small subgroup of some prime order q of a subgroup of GF(p^6)^. With the right choice of q, computing Discrete Logarithms in the group, generated by g, is, in general, as hard as it is in GF(p^6)^* and thus cryptographic applications of XTR use GF(p^2) arithmetics while achieving full GF(p^6) security leading to substantial savings both in communication and computational overhead without compromising security. Some other advantages of XTR are its fast key generation, small key sizes and speed.
Fundamentals of XTR
XTR uses a subgroup, commonly referred to as XTR subgroup or just XTR group, of a subgroup called XTR supergroup, of the multiplicative group of a finite field GF(p^6) with p^6 elements. The XTR supergroup is of order p^2-p+1, where p is a prime such that a sufficiently large prime q divides p^2-p+1. The XTR subgroup has now order q and is, as a subgroup of GF(p^6)^*, a cyclic group with generator g. The following three paragraphs will describe how elements of the XTR supergroup can be represented using an element of GF(p^2) instead of an element of GF(p^6) and how arithmetic operations take place in GF(p^2) instead of in GF(p^6).
Arithmetic operations in GF(p^2)
Let p be a prime such that p ≡ 2 mod 3 and p2 - p + 1 has a sufficiently large prime factor q. Since p2 ≡ 1 mod 3 we see that p generates and thus the third cyclotomic polynomial is irreducible over GF(p). It follows that the roots \alpha and \alpha^p form an optimal normal basis for GF(p^2) over GF(p) and Considering that p ≡ 2 mod 3 we can reduce the exponents modulo 3 to get The cost of arithmetic operations is now given in the following Lemma labeled Lemma 2.21 in "An overview of the XTR public key system": Lemma
Traces over GF(p^2)
The trace in XTR is always considered over GF(p^2). In other words, the conjugates of over GF(p^2) are h, h^{p^2} and h^{p^4} and the trace of h is their sum: Note that since Consider now the generator g of the XTR subgroup of a prime order q. Remember that is a subgroup of the XTR supergroup of order p^2-p+1, so. In the following section we will see how to choose p and q, but for now it is sufficient to assume that q>3. To compute the trace of g note that modulo p^2-p+1 we have and thus The product of the conjugates of g equals 1, i.e., that g has norm 1. The crucial observation in XTR is that the minimal polynomial of g over GF(p^2) simplifies to which is fully determined by Tr(g). Consequently, conjugates of g, as roots of the minimal polynomial of g over GF(p^2), are completely determined by the trace of g. The same is true for any power of g: conjugates of g^n are roots of polynomial and this polynomial is completely determined by Tr(g^n). The idea behind using traces is to replace in cryptographic protocols, e.g. the Diffie–Hellman key exchange by and thus obtaining a factor of 3 reduction in representation size. This is, however, only useful if there is a quick way to obtain Tr(g^n) given Tr(g). The next paragraph gives an algorithm for the efficient computation of Tr(g^n). In addition, computing Tr(g^n) given Tr(g) turns out to be quicker than computing g^n given g.
Algorithm for the quick computation of Tr(g^n) given Tr(g)
A. Lenstra and E. Verheul give this algorithm in their paper titled The XTR public key system in. All the definitions and lemmas necessary for the algorithm and the algorithm itself presented here, are taken from that paper. Definition For c in GF(p^2) define Definition Let denote the, not necessarily distinct, roots of F(c,X) in GF(p^6) and let n be in \mathbb{Z}. Define Properties of c_n and F(c,X) Lemma Let be given. Definition Let. Algorithm 1 for computation of S_n(c) given n and c When these iterations finish, k=m and. If n is even use to compute.
Parameter selection
Finite field and subgroup size selection
In order to take advantage of the above described representations of elements with their traces and furthermore ensure sufficient security, that will be discussed below, we need to find primes p and q, where p denotes the characteristic of the field GF(p^6) with and q is the size of the subgroup, such that q divides p^2-p+1. We denote with P and Q the sizes of p and q in bits. To achieve security comparable to 1024-bit RSA, we should choose 6P about 1024, i.e. and Q can be around 160. A first easy algorithm to compute such primes p and q is the next Algorithm A: Algorithm A Algorithm A is very fast and can be used to find primes p that satisfy a degree-two polynomial with small coefficients. Such p lead to fast arithmetic operations in GF(p). In particular if the search for k is restricted to k=1, which means looking for an r such that both are prime and such that, the primes p have this nice form. Note that in this case r must be even and. On the other hand, such p may be undesirable from a security point of view because they may make an attack with the Discrete Logarithm variant of the Number Field Sieve easier. The following Algorithm B doesn't have this disadvantage, but it also doesn't have the fast arithmetic modulo p Algorithm A has in that case. Algorithm B
Subgroup selection
In the last paragraph we have chosen the sizes p and q of the finite field GF(p^6) and the multiplicative subgroup of GF(p^6)^*, now we have to find a subgroup of for some such that. However, we do not need to find an explicit, it suffices to find an element such that c=Tr(g) for an element of order q. But, given Tr(g), a generator g of the XTR (sub)group can be found by determining any root of which has been defined above. To find such a c we can take a look at property 5 of F(c,\ X) here stating that the roots of F(c,\ X) have an order dividing p^2-p+1 if and only if F(c,\ X) is irreducible. After finding such c we need to check if it really is of order q, but first we focus on how to select such that F(c,\ X) is irreducible. An initial approach is to select randomly which is justified by the next lemma. Lemma: For a randomly selected the probability that is irreducible is about one third. Now the basic algorithm to find a suitable Tr(g) is as follows: Outline of the algorithm It turns out that this algorithm indeed computes an element of GF(p^2) that equals Tr(g) for some of order q. More details to the algorithm, its correctness, runtime and the proof of the Lemma can be found in "An overview of the XTR public key system" in.
Cryptographic schemes
In this section it is explained how the concepts above using traces of elements can be applied to cryptography. In general, XTR can be used in any cryptosystem that relies on the (subgroup) Discrete Logarithm problem. Two important applications of XTR are the Diffie–Hellman key exchange and the ElGamal encryption. We will start first with Diffie–Hellman.
XTR-DH key agreement
We suppose that both Alice and Bob have access to the XTR public key data and intend to agree on a shared secret key K. They can do this by using the following XTR version of the Diffie–Hellman key exchange:
XTR ElGamal encryption
For the ElGamal encryption we suppose now that Alice is the owner of the XTR public key data (p,q,Tr(g)) and that she has selected a secret integer k, computed Tr(g^k) and published the result. Given Alice's XTR public key data, Bob can encrypt a message M, intended for Alice, using the following XTR version of the ElGamal encryption: Upon receipt of, Alice decrypts the message in the following way: The here described encryption scheme is based on a common hybrid version of the ElGamal encryption, where the secret key K is obtained by an asymmetric public key system and then the message is encrypted with a symmetric key encryption method Alice and Bob agreed to. In the more traditional ElGamal encryption the message is restricted to the key space, which would here be GF(p^2), because. The encryption in this case is the multiplication of the message with the key, which is an invertible operation in the key space GF(p^2). Concretely this means if Bob wants to encrypt a message M!\ ', first he has to convert it into an element M of GF(p^2) and then compute the encrypted message E as. Upon receipt of the encrypted message E Alice can recover the original message M by computing, where K^{-1} is the inverse of K in GF(p^2).
Security
In order to say something about the security properties of the above explained XTR encryption scheme, first it is important to check the security of the XTR group, which means how hard it is to solve the Discrete Logarithm problem there. The next part will then state the equivalency between the Discrete Logarithm problem in the XTR group and the XTR version of the discrete logarithm problem, using only the traces of elements.
Discrete logarithms in a general GF\left(p^t\right)
Let now be a multiplicative group of order \omega. The security of the Diffie–Hellman protocol in relies on the Diffie–Hellman (DH) problem of computing. We write. There are two other problems related to the DH problem. The first one is the Diffie–Hellman Decision (DHD) problem to determine if c=DH(a,b) for given and the second one is the Discrete Logarithm (DL) problem to find x=DL(a) for a given. The DL problem is at least as difficult as the DH problem and it is generally assumed that if the DL problem in is intractable, then so are the other two. Given the prime factorization of \omega the DL problem in can be reduced to the DL problem in all subgroups of with prime order due to the Pohlig–Hellman algorithm. Hence \omega can safely be assumed to be prime. For a subgroup of prime order \omega of the multiplicative group of an extension field GF(p^t) of GF(p) for some t, there are now two possible ways to attack the system. One can either focus on the whole multiplicative group or on the subgroup. To attack the multiplicative group the best known method is the Discrete Logarithm variant of the Number Field Sieve or alternatively in the subgroup one can use one of several methods that take operations in, such as Pollard's rho method. For both approaches the difficulty of the DL problem in depends on the size of the minimal surrounding subfield of and on the size of its prime order \omega. If itself is the minimal surrounding subfield of and \omega is sufficiently large, then the DL problem in is as hard as the general DL problem in. The XTR parameters are now chosen in such a way that p is not small, q is sufficiently large and cannot be embedded in a true subfield of GF(p^6), since and p^2-p+1 is a divisor of, but it does not divide and thus cannot be a subgroup of for. It follows that the DL problem in the XTR group may be assumed as hard as the DL problem in GF(p^6).
Security of XTR
Cryptographic protocols that are based on Discrete Logarithms can use many different types of subgroups like groups of points of elliptic curves or subgroups of the multiplicative group of a finite field like the XTR group. As we have seen above the XTR versions of the Diffie–Hellman and ElGamal encryption protocol replace using elements of the XTR group by using their traces. This means that the security of the XTR versions of these encryption schemes is no longer based on the original DH, DHD or DL problems. Therefore, the XTR versions of those problems need to be defined and we will see that they are equivalent (in the sense of the next definition) to the original problems. Definitions: After introducing the XTR versions of these problems the next theorem is an important result telling us the connection between the XTR and the non-XTR problems, which are in fact equivalent. This implies that the XTR representation of elements with their traces is, as can be seen above, faster by a factor of 3 than the usual representation without compromising security. Theorem The following equivalencies hold: This means that an algorithm solving either XTR-DL, XTR-DH or XTR-DHD with non-negligible probability can be transformed into an algorithm solving the corresponding non-XTR problem DL, DH or DHD with non-negligible probability and vice versa. In particular part ii. implies that determining the small XTR-DH key (being an element of GF(p^2)) is as hard as determining the whole DH key (being an element of GF(p^6) ) in the representation group.
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.