AN EFFICIENT MULTIPLICATION ALGORITHM USING
BINOMIAL RESIDUE REPRESENTATION
Yin Li
Institute of Information Security, Shanghai jiaotong University, Shanghai 200240, China
Christophe Negre
Team DALI/ELIAUS, University of Perpignan, France
Keywords:
Finite Field, Multiplication, Montgomery, Binomial residue representation.
Abstract: In this paper, we propose an extension of the algorithm proposed by Bajard, Imbert and Negre in (Bajar et al.,
2006), refered as BIN algorithm. We use binomial residue representation of field elements instead of the
Lagrange representation of (Bajar et al., 2006). Specifically, every elements in F
p
k
is represented by a set
of residue modulo fixed binomials. We propose two versions of our algorithm, one in general form with a
sub-quadratic complexity equal to O(k
1.5
) operations in F
p
. The second one is optimized with the use of FFT.
In this case the cost is O(klog(k)) operations in F
p
. For fields GF(p
k
) suitable for elliptic curve cryptography
our algorithm roughly improves the time delay of (Bajar et al., 2006) by 45%.
1 INTRODUCTION
Efficient implementation of finite field arithmetic is
an important pre-requisite for cryptography and cod-
ing theory (Lidl and Niederreiter, 1994). Specifically
this is the case for elliptic curve cryptography (ECC),
proposed independently by Koblitz (Koblitz, 1987)
and Miller (Miller, 1986). In ECC, the most used and
also the most costly field operations is the multiplica-
tion.
During the past few years, more and more people
believe that elliptic curve defined over F
p
k
is better
than F
2
k
and F
p
in efficiency point of view in software
environment. Many works (Bailey and Paar, 1998;
Lim and Hwang, 2000) have shown that F
p
k
is a suit-
able choice for computer software implementation.
In 2006, Bajard, Imbert and Negre (Bajar et al.,
2006) proposed an efficient multiplication algorithm
for F
p
k
using Lagrange representation (we will refer
to it as the BIN algorithm). The BIN algorithm only
needs O(k) multiplications in F
p
. This algorithm is
very efficient in hardware, but in software, it is not so
efficient. Indeed it also needs O(k
2
logk) additions in
F
p
. When p has size of 32 bits which is an interesting
case in software environment, multiplication in F
p
is
only twice slower than addition in software platform.
So O(k
2
logk) additions cause too much time delay in
software implementation.
In this paper, we will use an extended form of La-
grange representation used in (Bajar et al., 2006), the
binomial residue representation, for field representa-
tion.
Using a strategy similar to BIN algorithm through
our binomial residue representation, we can reduce
the number of addition balanced by the cost of in-
creasing a few number of multiplications in F
p
.
Specifically, in our algorithm multiplications and ad-
ditions are only in sub-quadratic number. This en-
sures that our algorithm is faster in software imple-
mentation.
The rest of this paper is organized as follows. In
Section 2, we briefly recall the Lagrange representa-
tion and then give the definition of binomial residue
representation. In Section 3, we present the binomial
residue multiplication algorithm in a general and opti-
mized form. In Section 4 we evaluate the complexity
of our approach and compare it with other methods
for field multiplication. We then briefly conclude and
give some further perspectives of this work.
319
Li Y. and Negre C. (2008).
AN EFFICIENT MULTIPLICATION ALGORITHM USING BINOMIAL RESIDUE REPRESENTATION.
In Proceedings of the International Conference on Security and Cryptography, pages 319-324
DOI: 10.5220/0001924503190324
Copyright
c
SciTePress