Professional Documents
Culture Documents
UNDER THE GUIDENCE Dr. D SRIDHARAN, Associate. Prof. Dept of ECE, CEG
2
CONTENTS
BINARY FIELD MULTIPLICATION EXAMPLE SAMPLE OUTPUT IN MATLAB BASE PAPER DESCRIPTION
BINARY FIELD
GF(2m) Finite Field of binary polynomials.
ai = {0, 1}.
GF(2m) -Elements can take 2m different values . Maximal term in a number in GF(2m) is xm-1 MATLAB code for generating Binary Field gf8 = gf([0:7],3); % Galois vector in GF(2^3)
4
m=3
Element of GF(8) 0 1 A A+1 A2 A2 + 1 A2 + A A2 + A + 1
5
m = 4; % Or choose any positive integer value of m. alph = gf(2,m) % Primitive element in GF(2^m) The output is alph = GF(2^4) array. Primitive polynomial = D^4+D+1 (19 decimal)
7
MODULO 11 MULTIPLICATION 0 1 2 3 4 5 6 7
0 5 1 4 2 7 3 6 0 6 7 1 5 3 2 4 0 7 5 2 1 6 4 3
9
0 1 2 3 4 5 6 7
0 0 0 0 0 0 0 0
0 1 2 3 4 5 6 7
0 2 4 6 3 1 7 5
0 3 6 5 7 4 1 2
0 4 3 7 6 2 5 1
INTRODUCTION TO ALGORITHM
In the recent past, subquadratic space complexity multipliers have been proposed for binary fields defined by irreducible trinomials and some specific pentanomials. pentanomials. For such multipliers, alternative irreducible
polynomials can also be used, in particular, nearly all one polynomials (NAOPs) seem to be better than pentanomials
10
12
QUADRINOMIAL APPROACH
Use a low weight composite, instead of irreducible Reduce the circuit requirement of the multiplier PastPast-Composite binomials of the form X^n+1 For reduced redundancy, such a binomial is X+1 chosen to be the product of X+1 and an allirreducible all-one polynomial (AOP) X+1 The multiplication of X+1 and an NAOP results in a polynomial of weight four
13
14
bl2
b0
bl1-1 ..
bl1
bl2-1
al1 al1-1 a0
al2 ..
al2-1 ..
..
15
REFERENCE
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL. 20, NO. 3, MARCH 2012 449 Toeplitz Matrix Approach for Binary Field Multiplication Using Quadrinomials . M. Anwar Hasan, Ashkan Hosseinzadeh Namin, and Christophe Negre O. Ahmadi and A. Menezes, Irreducible polynomials of maximum weight, Utilitas Math., vol. 72, pp. 111123, 2007.. W. Diffie and M. E. Hellman, New directions in cryptography, IEEE Trans. Inf.Theory, vol. 24, no. 6, pp. 644654, Nov. 1976. C. Doche, Redundant trinomials for finite fields of characteristic 2, in Proc. ACISP, 2005, pp. 122133. H. Fan and M. A. Hasan, A new approach to sub-quadratic space complexity parallel multipliers for extended binary fields, IEEE Trans.Comput., vol. 56, no. 2, pp. 224233, Sep. 2007. M. A. Hasan and C. Negre, Subquadratic space complexity multiplier for a class of binary fields using toeplitz matrix approach, in Proc. 19th IEEE Symp. Comput. Arithmet. (ARITH19), Jun. 2009, pp. 6775.
16
17
18