Introduction To Galois Field For AES
Introduction To Galois Field For AES
Introduction To Galois Field For AES
for AES
Overview
AES
Finite Field Prime Field
Overview
Application Extension
in AES Field
AES Overview
Plaintext,
128 bit
AES 128 bit
Ciphertext,
128/192/256 bit
Key,
AES Overview
• Symmetric key
• At least 10 rounds of encryption/decryption
• Four layers operation
• SubByte
• ShiftRow
• MixColumn
• AddRoundKey
• All internal operation of AES are based on finite field
Introduction to Finite
Field/Galois Field
Some Algebraic Concept
• Three basic algebraic concept
• Group
• Ring
• Field
Group,
Ring,
Field,
Group,
•A group is a set of elements together with an operation which
combines two elements of . A group has the following properties,
1. All element of form an additive group with the group operation and identity .
2. All element of except form a multiplicative group with the group operation
and identity .
3. When the two operation are mixed, the distributive law holds, i.e.
, for all
Finite Field in Cryptography
• Cryptography always work with finite field.
• Finite field is a field with finite elements.
• Also called as Galois Field.
• The size of field (the number of elements in such field) is called
cardinality or order.
Some example
•1. FF with 5 elements denoted as
2. FF with 11 elements denoted as
3. FF with 81 elements denoted as
4. FF with 256 elements denoted as
In general, finite field only exist with prime cardinality or prime power
cardinality.
, ,
In AES, we are interested with
Extension Field Arithmetic
•The
arithmetic is still modular, however, the method of computing are
very different.
1. Element representation
• Element in are represented as polynomial.
where and
2. Addition and Subtraction
• Use regular polynomial addition/subtraction where the coefficient are
computed in .
Extension Field Arithmetic
•3. Multiplication in
• Regular polynomial multiplication
• Coefficient in
• Reduction using long division
4. Inversion in
• The inverse must fulfilled
Application in AES
Construction of S-Box
Process of construction
Affine
inversion
transformation
Process of Construction
• Find the inverse