Research Article

Reconfigurable Architecture for Elliptic Curve Cryptography Using FPGA

Algorithm 3

Montgomery scalar multiplication algorithm.
  Input: with ,
      (GF( )).
  Output: .
(1) Set , , , ;
(2) for to 0 do
(3) if then
(4)   ;
    ( ;
(5) else
(6)  ( ;
     ;
(7) end if
(8) end for
(9) ;
(10) return ;