Misplaced Pages

Itoh–Tsujii inversion algorithm

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

The Itoh–Tsujii inversion algorithm is used to invert elements in a finite field. It was introduced in 1988, first over GF(2) using the normal basis representation of elements, however, the algorithm is generic and can be used for other bases, such as the polynomial basis. It can also be used in any finite field GF(p).

The algorithm is as follows:

Input: A ∈ GF(p)
Output: A
  1. r ← (p − 1)/(p − 1)
  2. compute A in GF(p)
  3. compute A = A · A
  4. compute (A) in GF(p)
  5. compute A = (A) · A
  6. return A

This algorithm is fast because steps 3 and 5 both involve operations in the subfield GF(p). Similarly, if a small value of p is used, a lookup table can be used for inversion in step 4. The majority of time spent in this algorithm is in step 2, the first exponentiation. This is one reason why this algorithm is well suited for the normal basis, since squaring and exponentiation are relatively easy in that basis.

See also

References

  • T. Itoh and S. Tsujii. A Fast Algorithm for Computing Multiplicative Inverses in GF(2) Using Normal Bases. Information and Computation, 78:171–177, 1988.
Categories: