# Patent

## Title
Accelerating scalar multiplication on elliptic curve cryptosystems over prime fields

## Abstract

A method and apparatus for accelerating scalar multiplication in an elliptic curve cryptosystem (ECC) over prime fields is provided. Multiplication operations within an ECC point operation are identified and modified utilizing an equivalent point representation that inserts multiples of two. Algebraic substitutions of the multiplication operations with squaring operations and other cheaper field operations are performed. Scalar multiplication can also be protected against simple side-channel attacks balancing the number of multiplication operations and squaring operations and providing novel atomic structures to implement the ECC operation. In addition, a new coordinate system is defined to enable more effective operation of ECC to multiprocessor environments.

## Background
TECHNICAL FIELD
The present invention relates to security technology, specifically, it relates to the computation of point operations in elliptic curve scalar multiplication.
BACKGROUND
Elliptic curve cryptosystems (ECC) are public-key cryptosystems that have attracted increasing attention in recent years due to their shorter key length requirement in comparison with other public-key cryptosystems such as RSA.
Public-key cryptosystems make use of a pair of keys, called public and private keys, to perform cryptographic operations such as encryption/decryption of data and signing/verification of digital signatures. In particular for ECC, private keys are scalar values that are kept in secret, and public keys are points on the elliptic curve that are made public. Given a secret scalar d and points P and dP on a elliptic curve, where dP is a multiple of the point P, the elliptic curve discrete logarithm problem (ECDLP) is defined as the problem of determining d, with P and dP known.
ECC can be defined over different finite fields. Most important finite fields used to date to implement this cryptosystem have been binary, prime and extension fields. Prime fields are denoted by Fp, where p is a large prime and also represents the number of elements of the field.
For the case of prime fields, the generic equation to represent an elliptic curve is given by:

E:y2=x3+ax+b 

Where: a,bεFp and Δ=4a3+27b2≠0

Other variants of elliptic curve forms that also use prime fields can be found in the literature. Some examples are: Hessian and Jacobi forms, elliptic curves of degree 2⁄3 isogenies, among others.
The central and most time-consuming operation in ECC is scalar multiplication, generically represented by dP. Computing this operation involves performing addition of points, and doubling, tripling or quintupling (or similar) of a point. These operations are referred to as ECC point operations and their efficient execution is fundamental to the acceleration of the computation of scalar multiplication.
Side-channel information, such as power dissipation and electromagnetic emission, leaked by real-world devices has been shown to be highly useful for revealing private keys and effectively breaking the otherwise mathematically-strong ECC cryptosystem.
There are two main strategies to these attacks: simple (SSCA) and differential (DSCA) side-channel attacks. SSCA is based on the analysis of a single execution trace of a scalar multiplication to guess the secret key by revealing the sequence of operations used in the execution of ECC point arithmetic.
Extensive research has been carried out to yield effective countermeasures to deal with SSCA. Among them, side-channel atomicity dissolves point operations into small homogenous blocks, known as atomic blocks, which cannot be distinguished from one another through simple side-channel analysis because each one contains the same pattern of basic field operations. Furthermore, atomic blocks are made sufficiently small to make this approach inexpensive. For example the structure M-A-N-A (field multiplication, addition, negation, addition) has been proposed to build SSCA-protected point operations over prime fields.
However, the main drawback of the traditional M-A-N-A structure is that it relies on the assumption that field multiplication and squaring are indistinguishable from each other. In software implementations, timing and power consumption have been shown to be quite different for these operations, making them directly distinguishable through power analysis. Hardware platforms can be thought to be invulnerable to this attack when one hardware multiplier executes both field squarings and multiplications. However, some studies suggest that higher-order DSCA attacks can reveal differences between those operations by detecting data dependent information through observation of multiple sample times in the power trace.
In recent years a new paradigm has arisen in the design concept with the appearance of multiprocessor/parallel architectures, which can execute several operations simultaneously. This topic is becoming increasingly important since single processor design is reaching its limit in terms of clock frequency.
Similarly to other systems, ECC can be adapted to parallel architectures at different algorithmic levels. In particular, efforts to parallelize ECC formulae at the point arithmetic level have been shown to significantly reduce the time-complexity of scalar multiplication. However, the high number of expensive multiplications appearing in current point formulae limits the acceleration possible by taking advantage of multiple processing units in parallel implementations. In fact, given the fixed number of field squarings and multiplications in a given ECC point operation, the number of processing units that can be used effectively is limited to a maximum of 3.
Therefore there is a need for improving ECC point arithmetic to further accelerate and effectively protect scalar multiplication on elliptic curve cryptosystems over prime fields.
SUMMARY
The disclosure provides a method for accelerating scalar multiplication by replacing expensive field multiplications by squarings and other cheaper operations such as field addition and subtraction in ECC point operations over a prime field.
In accordance with one aspect there is provided a method of accelerating scalar multiplication in an elliptic curve cryptosystem (ECC) over prime fields, the method comprising the steps of: a) identifying multiplication operations within an ECC point operation; b) determining if multiplication operations in the ECC point operation are even or odd multiplications; c) modifying the ECC point operation if the chosen multiplication operations are odd, with an equivalent point representation utilizing multiples of two; and d) performing algebraic substitutions of the multiplication operations with squaring operations and other cheaper field operations such as addition, subtraction and multiplication or division by a small constant.
In accordance with another aspect there is provided an apparatus for performing scalar multiplications on an elliptic curve cryptosystem, the apparatus comprising: a memory; a processor for performing the steps of: a) identifying multiplication operations within an ECC point operation; b) determining if multiplication operations in the ECC point operation are even or odd multiplications; c) modifying the ECC point operation if the chosen multiplication operations are odd, with an equivalent point representation utilizing multiples of two; and d) performing algebraic substitutions of the multiplication operations with squaring operations and other cheaper field operations such as addition, subtraction and multiplication or division by a small constant.
In accordance with yet another aspect there is provided a computer readable medium containing instructions for accelerating scalar multiplication in an elliptic curve cryptosystem (ECC) over prime fields, the instructions which when executed by a processor perform the steps of: a) identifying multiplication operations within an ECC point operation; b) determining if multiplication operations in the ECC point operation are even or odd multiplications; c) modifying the ECC point operation if the chosen multiplication operations are odd, with an equivalent point representation utilizing multiples of two; and d) performing algebraic substitutions of the multiplication operations with squaring operations and other cheaper field operations such as addition, subtraction and multiplication or division by a small constant.
A further aspect provides for protecting scalar multiplication against simple side-channel attacks that can exploit distinctions between field multiplications and squarings to reveal the private key by balancing the number or multiplication operations and squaring operations and providing novel atomic structures to implement ECC point operations.
A further aspect provides for implementing scalar multiplication in parallel/multiprocessor devices that is fast and effectively utilizes multiple processing units by defining a new coordinate system for implementing ECC point operations.
Other aspects and features will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiment of the invention in conjunction with the accompanying figures.



BRIEF DESCRIPTION OF THE DRAWINGS
Further features and advantages will become apparent from the following detailed description, taken in combination with the appended drawings, in which:
FIG. 1 is a flow diagram showing the method of replacing multiplication by squarings and other cheaper field operations;
FIG. 2 is a flow diagram showing the method of protecting against simple side-channel attacks;
FIG. 3 is a flow diagram showing the method of implementing ECC point operations in parallel/multiprocessor devices with or without protection against simple side-channel attacks;
FIG. 4 is a block diagram of a multiprocessor implementation;
FIG. 5 is a block diagram illustrating an execution environment;



It should be noted that throughout the appended drawings, like features are identified by like reference numerals.
DETAILED DESCRIPTION
Embodiments are described below, by way of example only, with reference to FIGS. 1-5. A system and method are provided for accelerating ECC point operations over prime fields by flexibly replacing multiplications by squarings and other cheaper field operations according to a given implementation.
Different environments and/or applications establish constraints and provide execution advantages according to their particular characteristics. Examples of different settings are implementations requiring side-channel attack-resistance and sequential or parallel/multiprocessor-based implementations. In terms of ECC over prime fields, the performance in those different settings is strongly determined by the required number of field operations such as multiplication, squaring and addition/subtraction to perform ECC point operations.
Traditional ECC point operations present a fixed set of field operations that is not optimal for most applications. For instance, point addition on generic curves over prime fields require 8 field multiplications and 3 field squarings. To implement this operation using side-channel atomicity and the traditional M-A-N-A structure would require 11 atomic blocks (8+3) with the additional disadvantage of considering field multiplication and squaring equivalent from a side-channel attack-resistance point of view. As it can be seen, this is not only suboptimal in terms of time execution but also unsecured against potential simple side-channel attacks that are able to distinguish multiplication from squaring.
In the following, a method is described that flexibly replaces field multiplications with squarings according to a given application with the objective of reducing the time execution.
As per FIG. 1, block 110, the method involves to first identifying field multiplications a·b that can be replaced by 1, 2 or 3 squarings as given by:




  
    
      
        
          ab
          =
          
            
              1
              2
            
            ⁡
            
              [
              
                
                  
                    (
                    
                      a
                      +
                      b
                    
                    )
                  
                  2
                
                -
                
                  a
                  2
                
                -
                
                  b
                  2
                
              
              ]
            
          
        
        ,
        or
      
    
    
      
        (
        1
        )
      
    
  
  
    
      
        ab
        =
        
          
            1
            4
          
          ⁡
          
            [
            
              
                
                  (
                  
                    a
                    +
                    b
                  
                  )
                
                2
              
              -
              
                
                  (
                  
                    a
                    -
                    b
                  
                  )
                
                2
              
            
            ]
          
        
      
    
    
      
        (
        2
        )
      
    
  




Determining which multiplications fall in this category if we use (1) depends on the targeted application and if values a2, b2 or both pre-exist in the ECC point operation. For instance, in sequential implementations replacing one multiplication by one squaring is of benefit since the former is generally more time consuming than the latter. However, if 2 or 3 squarings replace one multiplication, then the execution becomes slower. Hence, in this setting both a2 and b2 should pre-exist in the ECC point operation to make practical the aforementioned substitution and essentially trade a·b for (a+b)2.
In the case of (2), operations (a+b)2 and (a−b)2 do not usually pre-exist in ECC point operations and thus, the trade is between one multiplication and two squarings. Note that this exchange could be advantageous if multiple processing units are available (FIG. 3) or if we need to balance the number of multiplications and squarings in SSCA-protected implementations (FIG. 2).
Referring to FIG. 1, at step 120, it is determined if some of the multiplications to be traded are not even (i.e., do not contain a multiple of 2 in their execution). If at least one of the multiplications is not even at decision block 130, the current point representation is replaced by an equivalent one that inserts the necessary multiple of 2 into the odd multiplication(s) step 140. The equivalent point is taken from the equivalence class for projective coordinates given by:

(X:Y:Z)={(λc,X,λd,Y,λZ):λεK*,c,dεZ+},

where λ=2t, tεZ+, to insert multiples of 2.
Once multiplications to be traded are even, at step 150 they are replaced by applying the following algebraic substitutions, which hold for prime fields:

2ab=(a+b)2−a2−b2  (3), or

4ab=(a+b)2−(a−b)2  (4)

The previous method to replace multiplications is applied to different settings as illustrated by FIGS. 2 and 3, and to every ECC point operation on a given elliptic curve. Specifically, FIG. 2 presents a methodology for the case where protection against SSCA needs to be implemented. The procedure is described in the following.
According to the particular application, at step 210 it is determined if SSCA protection is required. If at decision block 220 it is determined that protection is not to be implemented, then at step 230 the procedure depicted by FIG. 3 is executed to determine the architecture to be used.
If at decision block 220 it is determined that protection is to be implemented, then at block 240 the number of field multiplications and squarings found in an ECC point operation are counted.
At step 250, a balanced number of field multiplications and squarings should be determined in such a way that the minimum number of atomic blocks is required for the given ECC point operation. Such decisions should take into consideration the atomic structure to be used at step 260. For instance, the following new atomic structures: S-N-A-M-N-A-A (squaring-negation-addition-multiplication-negation-addition-addition) or S-N-A-A-M-N-A-A (squaring-negation-addition-addition-multiplication-negation-addition-addition) may be utilized. Note that squaring has been included into the atomic structure, which not only speeds up computations since squaring is usually faster than multiplication, but also protects against potential attacks that are able of distinguishing multiplication from squaring. At this step, the method detailed in FIG. 1 can be used to achieve the balanced number of multiplications and squarings. Thus, multiplications are traded by 1, 2 or 3 squarings according to the given ECC point operation.
For instance, for the point addition in generic elliptic curves traditionally containing 8 multiplications and 3 squarings:

X3=α2−β3−2X1β2 

Y3=α(X1β2−X3)−Y1β3 

Z3=Z1β

Where: α=Z13Y2−Y1, β=Z12X2−X1 

A balanced number of multiplications and squarings can be fixed at 6 and 6, respectively, by using the method in FIG. 1, which yields the following:

X3=α2−4β3−2θ

Y3=α(θ−X3)−8Y1β3 

Z3=(Z1+β)2−Z12−β2 

Where: α=Z13Y2−Y1, β=Z12X2−X1, θ=(X1+β2)2−(X1−β2)2 

In the previous example, the new point representation (4X3, 8Y3, 2Z3), equivalent to (X3, Y3, Z3), uses multiples of 2 and makes possible substitutions (3) and (4) for Z3 and θ, respectively.
Balancing and fixing the computing cost to 6 multiplications and 6 squarings makes the point addition require only 6 S-N-A-M-N-A-A atomic blocks in contrast to the original 11 M-A-N-A atomic blocks, which represents a significant reduction in execution time.
Final block 270 proceeds to the execution of the procedure in FIG. 3 to determine the architecture to be used.
FIG. 3 presents a methodology for speeding up ECC point operations according to whether a parallel/multiprocessor or sequential architecture is used. The procedure is described in the following.
According to the particular application, at step 310 it is determined if a sequential-style or a parallel/multiprocessor architecture will be used for the implementation.
If at decision block 320 the sequential architecture is chosen, then the methodology depicted by FIG. 1 is executed at step 330 to replace expensive multiplications by squarings. Note that step 330 is executed if and only if the method in FIG. 1 has not been used yet as in the case where the implementation does not use SSCA protection.
Final block 340 arranges field operations consecutively for each ECC point operation for their execution. If SSCA is implemented the execution follows the chosen atomic structure. As shown in FIG. 4, the ECC point operation 410 will be executed on a single processor 420.
If at decision block 320 the parallel architecture is chosen, then block 350 decides whether SSCA protection is being included as per FIG. 2.
If SSCA protection is not being included, at step 360 a new coordinate system given by (X, Y, Z, X2, Z2, Z3/Z4) is provided. This minimizes the number of field operations required in parallel architectures by passing repetitive values between ECC point operations.
At step 370, the method as per FIG. 1 is applied to minimize the cost of each ECC point operation using the new coordinate system. In this case, replacing multiplications by 1, 2 or 3 squarings allows the minimization or elimination of multiplications and maximizes the use of available processors. For instance, for the case of point addition discussed in the previous examples, the method of replacing multiplications by squarings modifies such operations to obtain:

X3=4α2−4β3−8X1β2 

Y3=2α(4X1β2−X3)−8Y1β3 

Z3=(Z1+β)2−Z12−β2 

Where: α=Z13Y2−Y1, β=Z12X2−X1, 2Y1β is computed as (Y1+β)2−Y12−β2, and 2α(4X1β2−X3) as (α+4X1β2−X3)2−α2−(4X1β2−X3)2.

Although the previous example apparently derived a more expensive operation with a higher number of squarings, when performing final block 380 to distribute the field operations among the different processing units, the processor utilization can be maximized and the effective number of parallel multiplications minimized, as shown in the next table for the parallel point addition. Also, note that the number of processing units has been effectively increased to 4.










Addition: (X1, Y1, Z1, Z12, Z13) + (X2,


Y2) = (X3, Y3, Z3, X32, Z32, Z34)











Parallel






Operation
Processor1
Processor2
Processor3
Processor4





1. Multiplication
Z13 · Y2
Z12 · X2
Y12
*


2. Squaring
α2
(Z1 + β)2
(Y1 + β)2
β2


3. Multiplication
2β · 2β2
Z32
2Y1β · 4β2
2X1 · 2β2 =






4X1β2


4. Squaring
X32
Z34
(4X1β2 − X3)2
(α +






4X1β2 −






X3)2









A shown in FIG. 4, in the parallel/multiprocessor implementation ECC point formula 430 can be distributed across multiple processors, 432, 440, 450 and 460 by utilizing the new coordinate system and modifying the ECC point formula accordingly.
Referring to FIG. 5, it provides a computing environment 500 in which an elliptic curve cryptosystem may be implemented as computer software in the form of computer readable code executed. The computing environment may be any number of computing or computer based platforms such as mobile devices, personal computer, notebook computers, personal digital assistants, networking devices such as routers, or be resident in application specific processors devices such as smart cards, security cards or radio frequency identification (RFID) devices requiring security implementations.
The computer 502 comprises central processing unit (CPU) 504 and memory 506. The CPU may be a single processor or multiprocessor system. In addition a multiprocessor implementation of the elliptic curve cryptosystem may utilize more than one computing environment for execution of a parallel architecture. In various computing environments, main memory 506 and storage 512 can reside wholly on computer environment 500, or they may be distributed between multiple computers.
Input devices 510 such as a keyboard and mouse may be coupled to a bi-directional system bus of a computer 502. The keyboard and mouse are for introducing user input to a computer 502 and communicating that user input to processor 504 if required. Computer 502 may also include a communication interface 514. Communication interface 514 provides a two-way data communication coupling via a network link to a network 516 by wired or wireless connection or may provide an interface to other host device 518 by a direct radio frequency connection. In any such implementation, communication interface 514 sends and receives electrical, electromagnetic or optical signals which carry digital data streams representing various types of information.
Communication between the communication interface unit 514 and the network 516 or host 518 use electrical, electromagnetic or optical signals which carry digital data streams. The signals through the various networks and the signals on network link and through communication interface, which carry the digital data to and from computer, are exemplary forms of carrier waves transporting the information. The computer 502 may also be able to display the results of the computation to a user in the form of output devices 508.
The computer processor 504 or similar device may be programmed in the manner of method steps, or may be executed by an electronic system which is provided with means for executing these steps. The storage device 512 may include both fixed and removable media, such as magnetic, optical or magnetic optical storage systems, Random Access Memory (RAM), Read Only Memory (ROM) or any other available mass storage technology. The storage device or media may be programmed to execute such method steps. As well, electronic signals representing these method steps may also be transmitted via a communication network.
Application code may be embodied in any form of computer program product. A computer program product comprises a medium configured to store or transport computer readable code, or in which computer readable code may be embedded. Some examples of computer program products are CD-ROM disks, ROM cards, floppy disks, magnetic tapes, computer hard drives, servers on a network, and carrier waves.
The computer systems described above are for purposes of example only. An embodiment of the invention may be implemented in any type of computer system or programming or processing environment. It will be apparent to persons skilled in the art that a number of variations and modifications can be made without departing from the scope of the invention as defined in the claims.
The method steps of the invention may be embodied in sets of executable machine code stored in a variety of formats such as object code or source code. Such code is described generically herein as programming code, or a computer program for simplification. Clearly, the executable machine code or portions of the code may be integrated with the code of other programs, implemented as subroutines, plug-ins, add-ons, software agents, by external program calls, in firmware or by other techniques as known in the art.
The embodiments of the invention described above are intended to be illustrative only. The scope of the invention is therefore intended to be limited solely by the scope of the appended claims.

## Claims

1. A method of accelerating scalar multiplication in an elliptic curve cryptosystem (ECC) over prime fields, the method comprising the steps of:
a) identifying multiplication operations within an ECC point operation that can be replaced by one field squaring and other cheaper field operations when applying algebraic substitutions;
b) determining if field multiplication operations in step a) are even or odd field multiplications;
c) modifying the ECC point operation with an equivalent point representation utilizing multiples of two if step b) identified odd field multiplications or keeping the ECC point operation unchanged if there is an efficient division by two available; and
d) performing algebraic substitutions of the field multiplication operations from step a) with field operations comprising the one field squaring operations and other cheaper field operations selected from addition, subtraction and multiplication or division by a small constant, wherein steps a)-d) are executed by a processor.

2. The method of claim 1 where scalar multiplication is defined by:


Q=dP 

where P and Q are points in E(Fp) of order q, and d is a secret scalar.

3. The method of claim 2 wherein at step c) the ECC point operation is modified using the equivalence class for projective coordinates:


(X:Y:Z)={(λc,X,λd,Y,λZ):λεK*,c,dεZ+},

where λ=2t, tεZ+, to insert multiples of 2.

4. The method of claim 3 wherein the algebraic substitutions are of the form 2ab=(a+b)2−a2−b2 or 4ab=(a+b)2−(a−b)2 to replace field multiplications by field squarings and other cheaper field operations or of the form ab=1/2[(a+b)2−a2−b2] if there is an efficient division by two available.

5. The method of claim 1 further comprising the step of:
determining the number of field multiplication operations and field squaring operations in the ECC point operation prior to step a);
wherein step a) further comprises:
identifying field multiplication operations within an ECC operation to be replaced by one, two or three field squarings using algebraic substitution such that the number of field multiplication operations and field squaring operations is balanced;
wherein step d) further comprises:
performing algebraic substitutions of the multiplication operations from step a) with field operations comprising one or more field squaring operations and other cheaper field operations to obtain the balanced number of field multiplications and field squarings.

6. The method of claim 5 further comprising the step of:
e) defining an atomic structure for execution of the ECC point operation wherein the atomic structure is defined to be resistant to simple side channel attacks (SSCA) by levelling power dissipation, electromagnetic emission or any other information leakage by the processor.

7. The method of claim 6 wherein the atomic structures to protect against SSCA are defined by performing the field operations of Squaring-Negation-Addition-Multiplication-Negation-Addition-Addition (S-N-A-M-N-A-A) or Squaring-Negation-Addition-Addition-Multiplication-Negation-Addition-Addition (S-N-A-A-M-N-A-A).

8. The method of claim 1, wherein the processor comprises a plurality of processors, and wherein prior to step a), the method further comprises the step of: defining a new coordinate system defined by (X, Y, Z, X2, Z2, Z3/Z4); and wherein the field operations are distributed to each one processor of the plurality of processors in respect of the defined coordinate system.

9. The method of claim 4 wherein the ECC point operations are on an elliptic curve defined by:


E:y2=x3+ax+b 

where: a,bεFp and Δ=4a3+27b2≠0.

10. The method of claim 1 wherein the ECC point operations are on a Hessian or Jacobi form.

11. The method of claim 1 wherein the ECC point operations are based upon elliptic curves with degree 2⁄3 isogenies.

12. An apparatus for performing scalar multiplications on an elliptic curve cryptosystem, the apparatus comprising: a memory; a processor for performing the steps of:
a) identifying field multiplication operations within an ECC point operation that can be replaced by one field squaring and other cheaper field operations when applying algebraic substitutions;
b) determining if field multiplication operations in step a) are even or odd field multiplications;
c) modifying the ECC point operation with an equivalent point representation utilizing multiples of two if step b) identified odd field multiplications or keeping the ECC point operation unchanged if there is an efficient division by two available; and
d) performing algebraic substitutions of the field multiplication operations from step a) with field operations comprising the one field squaring operations and other cheaper field operations selected from addition, subtraction and multiplication or division by a small constant.

13. The apparatus of claim 12 where the scalar multiplications are defined by:
Q=dP where P and Q are points in E(F.sub.p) of order q, and d is a secret scalar.

14. The apparatus of claim 13 wherein at step c) the ECC point operation is modified using the equivalence class for projective coordinates:


(X:Y:Z)={(λc,X,λd,Y,λZ):λεK*,c,dεZ+},

where λ=2t, tεZ+, to insert multiples of 2.

15. The apparatus of claim 14 wherein the algebraic substitution is of the form 2ab=(a+b)2−a2−b2 or 4ab=(a+b)2−(a−b)2 to replace field multiplications by field squaring and other cheaper field operations or of the form ab=1/2[(a+b)2−a2−b2] if there is an efficient division by two available.

16. The apparatus of claim 12 wherein the processor further performs the steps of:
determining the number of field multiplication operations and squaring operations in the ECC point operation prior to step a);
wherein step a) further comprises:
identifying field multiplication operations within an ECC operation to be replaced by one, two or three field squarings using algebraic substitutions such that the number of field multiplication operations and field squaring operations are balanced;
wherein step d) further comprises:
performing algebraic substitutions of the multiplication operations with field squaring operations and other cheaper field operations to obtain the balanced number of field multiplications and field squarings.

17. The apparatus of claim 16 wherein the processor further performs the step of:
e) defining an atomic structure for execution of the ECC point operation wherein the atomic structure is defined to be resistant to simple side channel attacks (SSCA) by levelling power dissipation, electromagnetic emission or any other information leakage by processor.

18. The apparatus of claim 17 wherein the atomic structures to protect against SSCA are defined by performing the field operations of Squaring-Negation-Addition-Multiplication-Negation-Addition-Addition (S-N-A-M-N-A-A) or Squaring-Negation-Addition-Addition-Multiplication-Negation-Addition-Addition (S-N-A-A-M-N-A-A).

19. The apparatus of claim 12 wherein the processor comprises a plurality of processors, and wherein prior to step a), the processor performs the step of: defining a new coordinate system defined by (X, Y, Z, X2, Z2, Z3/Z4); and wherein the field operations are distributed to each one processor of the plurality of processors in respect of the defined coordinate system.

20. The apparatus of claim 12 wherein the ECC point operation is on an elliptic curve defined by:


E:y2=x3+ax+b 

where: a,bεFp and Δ=4a3+27b2≠0.

21. The apparatus of claim 12 wherein the ECC point operations are on a Hessian or Jacobi form.

22. The apparatus of claim 12 wherein the ECC point operations are based upon elliptic curves with degree 2⁄3 isogenies.

23. The apparatus of claim 12 wherein the apparatus is a mobile device.

24. The apparatus of claim 12 wherein the system is implemented in a smart card.

25. A computer readable memory containing instructions for accelerating scalar multiplication in an elliptic curve cryptosystem (ECC) over prime fields, the instructions which when executed by a processor perform the steps of:
a) identifying field multiplication operations within an ECC point operation that can be replaced by one field squaring and other cheaper field operations when applying algebraic substitutions;
b) determining if field multiplication operations in step a) are even or odd field multiplications;
c) modifying the ECC point operation with an equivalent point representation utilizing multiples of two if step b) identified odd field multiplications or keeping the ECC point operation unchanged if there is an efficient division by two available; and
d) performing algebraic substitutions of the field multiplication operations from step a) with field operations comprising the one field squaring operations and other cheaper field operations selected from addition, subtraction and multiplication or division by a small constant.