Advanced Information Security 4 Field Arithmetic Dr. Turki F. Al-Somani 2015
Module Outlines Finite Field Arithmetic Summary GF(p) Arithmetic GF(2m) Arithmetic Polynomial basis Normal basis Addition/subtraction Squaring Multiplication Inversion Summary
Finite Field Arithmetic In abstract algebra, a finite field is a field that contains only finitely many elements. Finite fields are important in number theory, algebraic geometry, Galois theory, coding theory, and cryptography.
Finite Field Arithmetic (contd.)
Finite Field Arithmetic (contd.)
Finite Field Arithmetic (contd.)
Finite Field Arithmetic (contd.)
Finite Field Arithmetic (contd.)
GF(2m) Arithmetic The finite GF(2m) field has particular importance in cryptography since it leads to particularly efficient hardware implementations. Elements of the field are represented in terms of a basis. Most implementations use either a Polynomial Basis or a Normal Basis. Normal basis is more suitable for hardware implementations than polynomial basis since operations are mainly comprised of rotation, shifting and exclusive- OR operations which can be efficiently implemented in hardware.
Polynomial Basis
Polynomial Basis
Normal Basis
Normal Basis (contd.)
Normal Basis (contd.)
Optimal Normal Basis An optimal normal basis (ONB) is one with the minimum number of terms, or equivalently, the minimum possible number of nonzero λij This value is 2m-1, and since it allows multiplication with minimum complexity, such a basis would normally lead to more efficient hardware implementations.
Optimal Normal Basis (Contd.) Note: Type 1 is circled.
Optimal Normal Basis Types Now CN=2n-1 Type I: Rule 2 means: for every i in the range [0, n-1], (2k mod n+1) must result in a unique integer in the range [1, n].
Cont. Type II: Rule 2a means that every 2k mod 2n+1, in the range [1 to 2n]. Therefore 2 is called the generator for all the possible locations in the 2n+1 field Rule 2b means that even if 2k does not generate every element in the range [1, 2n], however, half of points in the field of form by rule 2a can be hit. It is because SQR(2k) can be taken. The points generated by rule 2b are in the form of perfect squares.
ONB Type I & II (n ≤ 230)
Survey Paper (2006)
NB Multiplication Multiplication is more complicated than addition and squaring operations in finite field arithmetic. An efficient multiplier is highly needed and is the key for efficient finite field computations. Finite filed multipliers using normal basis can be classified into two main categories: 𝜆-matrix based multipliers Conversion based multipliers
𝜆-matrix based multipliers Massey and Omura Multiplier Hasan et. al. Multiplier Gao and Sobelman Multiplier Reyhani-Masoleh and Hasan Multiplier
Example: Type I
Example: Type II
Massey and Omura Multiplier
Hasan et. al. Multiplier
Gao and Sobelman Multiplier
Reyhani-Masoleh and Hasan Multiplier
Comparisons
Conversion based multipliers Sunar and Koc Multiplier Wu et. al. Multiplier
Sunar and Koc Multiplier
Wu et. al. Multiplier
Comparisons
Normal Basis Inversion Inversion algorithms: Standard algorithms Exponent Decomposing algorithms Exponent Grouping inversion algorithms
Standard Algorithms
Exponent Decomposing Algorithms
Exponent Decomposing Algorithms (contd.)
Exponent Decomposing Algorithms (contd.)
Exponent Grouping inversion Algorithms
Exponent Grouping inversion Algorithms (contd.)
Exponent Grouping inversion Algorithms (contd.)
Comparisons
Pipelining Paper (2009)
Pipelining Paper (2009)
UQU Pipelining Paper (2010)
Systolic Arrays Paper (2011)
IEEE VLSI Systolic Arrays Paper (2014)
Summary Efficient computations in finite fields and their architectures are important in many applications, including coding theory, computer algebra systems, and public-key cryptosystems (e.g., elliptic curve cryptosystems (ECC). The most commonly used basis are polynomial basis and normal basis. Normal basis is more suitable for hardware implementations than polynomial basis since operations in normal basis representation are mainly comprised of rotation, shifting and exclusive-ORing which can be efficiently implemented in hardware.
Thanks & Good Luck Next is: 5 ECC Cryptography Dr. Turki F. Al-Somani 2015