Finite Field Arithmetic
Groups, Rings, Fields
- Finite field is a set containing a finite number of elements
- This is sometimes called Galois Field
- Can; add, subtract, multiple and invert(divide)
- Fields are an extension to rings and groups
Groups
A group is a set of elements together with an operation that combines two elements of
- The operation is closed
- Operation is associative
- There is an element called a neutral element such that..
- For each there exists an element called the inverse of such that ...
- A group is abelian(commutative) if ...
Fields
A field is a set of elements with the following properties:
- All elements of form an additive group with the group operation + and the neutral element 0
- All elements of except 0 form a multiplicative group with the group operation (or -) ..
- ....
Always interest in Finite Fields, fields with a finite number of elements
Finite Fields
Finite field only exists if it has elements = prime = Positive Integer
Prime Fields
- Contains the integers {0,1,...,}
- All members of a prime field have a multiplicative inverse
Extension Fields
- In prime fields, the elements of integers
- Elements in extension fields GF() are polynomials of degree less than
GF()
- Add = XOR???
Inversion is performed in a similar way to prime fields
AES' Finite Field
- AES uses the extension field GF()/GF(254) for many of its operations
- Operations are the same as those in other GF() fields, using the irreducible polynomial ...
- Polynomials are typically represented as single bytes