# Patent

## Title
Finite field serial-serial multiplication/reduction structure and method

## Abstract

A method or cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver includes the step of providing a finite filed serial-serial multiplication/reduction structure wherein an initial delay and clock-cycle are inherently independent of word length and wherein input operands are serially entered one digit at a time and the output result is computed serially one digit at a time, wherein the digit size can be one bit or more. As disclosed, the multiplication structure is scalable and a serial transfer reduces the bus width needed to transfer data back and forth between memory and a multiplication/reduction step. A finite field multiplication structure in which an operand multiplication and a finite field reduction are formulated as a serial-serial computation is also disclosed.

## Background
A. BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to high-radix finite field multiplication methods and architectures, which constitutes an integral operation in cryptographic systems.
2. Field Multiplication in Cryptography
Due to the security requirements of data transfer and digitization, the current need for cryptography for data security mechanism is ever growing. The basic principle of cryptography is that a plaintext is converted into a ciphertext through encryption using a particular encryption key. When a receiver receives the ciphertext, decryption with a key that is related to the encryption key can recover the plaintext. Because the data is transferred or stored as ciphertext, data security is achieved since an adversary cannot interpret the ciphertext.
In particular, public-key cryptography enables secure communication between users that have not previously agreed upon any shared keys. This is most often done using a combination of symmetric and asymmetric cryptography: public-key techniques are used to establish user identity and a common symmetric key, and a symmetric encryption algorithm are used for the encryption and decryption of the actual messages. The former operation is called key agreement. Prior establishment is necessary in symmetric cryptography, which uses algorithms for which the same key is used to encrypt and decrypt a message. Public-key cryptography, in contrast, is based on key pairs. A key pair consists of a private key and a public key. As the names imply, the private key is kept private by its owner, while the public key is made public (and typically associated to its owner in an authentic manner). In asymmetric encryption, the encryption step is performed using the public key, and decryption using the private key. Thus the encrypted message can be sent along an insecure channel with the assurance that only the intended recipient can decrypt it.
The use of cryptographic key pairs is disclosed in the U.S. Patent of Hellman U.S. Pat. No. 4,200,770 which is incorporated herein in its entirety by reference. The Hellman patent also disclosed the application of key pairs to the problem of key agreement over an insecure communication channel. The algorithms specified in the aforementioned patent relies for their security on the difficulty of the mathematical problem of finding a discrete logarithm.
In order to undermine the security of a discrete-logarithm based crypto-algorithm, an adversary must be able to perform the inverse of finite field exponentiation (i.e., solve a discrete logarithm problem). There are mathematical methods for finding a discrete logarithm (e.g., the Number Field Sieve), but these algorithms would take an unreasonably long time using sophisticated computers when certain conditions are met in the specification of the crypto algorithm.
In particular, it is necessary for the used numbers involved to be large enough. The larger the numbers used, the more time and computing power is required to find the discrete logarithm and break the cryptosystem. On the other hand, very large numbers lead to very long public keys and transmissions of cryptographic data. The use of very large numbers also requires large amounts of time and computational power in order to perform the crypto algorithm. Thus, cryptographers are always looking for ways to minimize the size of the numbers involved, and the time and power required, in performing the encryption and/or authentication algorithms. The payoff for finding such a method is that cryptography can be done faster, cheaper, and in devices that do not have large amounts of computational power (e.g., hand-held smart-cards).
A discrete-logarithm based crypto-algorithm can be performed in any mathematical setting in which certain algebraic rules hold true. In mathematical language, the setting must be a finite cyclic group. The choice of the group is critical in a cryptographic system. The discrete logarithm problem may be more difficult in one group than in another for which the numbers are of comparable size. The more difficult the discrete logarithm problem, the smaller the numbers that are required to implement the crypto-algorithm while maintaining the same level of security. Working with smaller numbers is easier, more efficient and requires less storage compared to working with larger numbers. So, by choosing the right group, a user may be able to work with smaller numbers, make a faster cryptographic system, and get the same, or better, cryptographic strength than from another cryptographic system that uses larger numbers.
A method of adapting discrete-logarithm based algorithms to the setting of elliptic curves was disclosed independently by V. Miller, in “Use of elliptic curves in cryptography” on Advances in Cryptology—CRYPTO'85, LMCS 218, pp. 417-426, (1986) and by N. Koblitz, “A Course in Number Theory and Cryptography,” (1987). It appears that finding discrete logarithms in this kind of group is particularly difficult. Thus elliptic curve-based crypto algorithms can be implemented using much smaller numbers than in a finite-field setting of comparable cryptographic strength. Hence, the use of elliptic curve cryptography is an improvement over finite-field based public-key cryptography. The Elliptic Curve Cryptosystem relies upon the difficulty of the Elliptic Curve Discrete Logarithm Problem (ECDLP) to provide its effectiveness as a cryptosystem. Using multiplicative notation, the problem can be described as: given points B and Q in the group, find a number k such that Bk=Q; where k is called the discrete logarithm of Q to the base B. Using additive notation, the problem becomes: given two points B and Q in the group, find a number k such that kB=Q.
In an Elliptic Curve Cryptosystem, the integer k is kept private and is often referred to as the secret key. The point Q together with the base point B are made public and are referred to as the public key. The security of the system, thus, relies upon the difficulty of deriving the secret k, knowing the public points B and Q. The main factor that determines the security strength of such a system is the size of its underlying finite field. In a real cryptographic application, the underlying field is made so large that it is computationally infeasible to determine k in a straightforward way by computing all the multiples of B until Q is found.
The core of the elliptic curve geometric arithmetic is an operation called scalar multiplication which computes kB by adding together k copies of the point B. Scalar multiplication over elliptic curve is also referred to as exponentiation over elliptic curve.
Another well-known public key cryptosystem is Rivest, Shamir, Adleman (RSA) which is also based on the discrete logarithm problem of over the field GF(p). RSA requires field exponentiation over GF(p).
In what follows, field exponentiation is used to refer to scalar multiplication in elliptic curve cryptography, as well as finite field exponentiation in RSA cryptography.
A drawback of such cryptographic systems is that calculation of field exponentiation remains a daunting mathematical task even to an authorized receiver using a high speed computer. With the prevalence of public computer networks used to transmit confidential data for personal, business and governmental purposes, it is anticipated that most computer users will want cryptographic systems to control access to their data. Despite the increased security, the difficulty of finite field exponentiation calculations will substantially drain computer resources and degrade data throughput rates, and thus represents a major impediment to the widespread adoption of commercial cryptographic systems.
Accordingly, a critical need exists for an efficient finite field exponentiation method and apparatus to provide a sufficient level of communication security while minimizing the impact to computer system performance and data throughput rates.
Field exponentiation over an elliptic curve is heavily dependent on field multiplications. Point addition and doubling, which are the basic operations for exponentiation over an elliptic curve, require many field multiplication operations.
Field multiplication is also the basic operation used to compute field exponentiation in RSA cryptography, which is used in smart cards or other secure devices. RSA requires the rapid finite field multiplication of large integers, for example 512- or 1024-bits in length, in order to carry out finite field exponentiations.
Therefore, field multiplication is widely used in encryption/decryption, authentication, key distribution and many other applications such as those described above.
3. Prior Art of Field Multiplication:
Finite field multiplication can be described as follows. Given two elements, X and Y, that are members of a field, then X and Y, can be represented as polynomials,




  
    
      
        X
        =
        
          
            ∑
            
              i
              =
              0
            
            
              d
              -
              1
            
          
          ⁢
          
            
              x
              i
            
            ⁢
            
              μ
              i
            
          
        
      
    
    
      
        (
        1
        )
      
    
  
  
    
      
        Y
        =
        
          
            ∑
            
              i
              =
              0
            
            
              d
              -
              1
            
          
          ⁢
          
            
              y
              i
            
            ⁢
            
              μ
              i
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




where

    
    
        (i) in case of GF(p), μ=2r is the radix and xi,yi are radix-2r digits which could also be represented in redundant form, and
        (ii) in the case of GF(pm), μ=αr, α is the root of the generator polynomial, and xi and yi are digit polynomials of X and Y respectively and whose coefficients are elements of Zp.
    
    


The field multiplication of X and Y is given by,

R=XY mod G(μ)   (3)

where





  
    
      
        
          G
          ⁡
          
            (
            μ
            )
          
        
        =
        
          
            ∑
            
              i
              =
              0
            
            d
          
          ⁢
          
            
              g
              i
            
            ⁢
            
              μ
              i
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




where

    
    
        (i) in the case of GF(p), G(μ) is the modulus M and gi are radix-2r digits which could also be represented in redundant form, and
        (ii) in the case of GF(pm), G(μ) is the generator polynomial, and gi is a digit polynomial of G(μ) with coefficients that are elements of Zp.
    
    


Finite field multiplication consists of two stages: operand multiplication and field reduction. Several field multiplication algorithms have been proposed. It is well known that field reduction after operand multiplication is not as efficient as reduction during multiplication. In the later, the final result of field multiplication is obtained by applying corrections to partial products as they are generated and accumulated.
Field reduction of the generated partial products can be carried out iteratively starting form the most significant digit or the least significant digit.
Montgomery multiplication is a famous reduction-during-multiplication algorithm, which starts from the least significant position. The original Montgomery algorithm was proposed for GF(p) and is based on binary representation of the elements of the field. However, it has been generalized for other fields as well as for higher radix representation of the elements of the field.
In Montgomery multiplication, each digit of the operand X, starting with the least significant digit, is multiplied with the digits of the operand Y. The field reduction is carried from the least significant digit, since the least significant digits are generated first. The algorithm can be described using the following iteration,

Rl−1=(xl−1Y+μ−1Rl−2)mod G(μ)   (5)

The final field multiplication result of Montgomery algorithm has the form,

R=XYμ−d mod G(μ)   (6)

The factor μ−d is inherent in all least significant digit first algorithms, because field reduction starting from the least significant digit is equivalent to a division by μ−1 in each iteration as shown in equation (5).
Least-significant-digit-first algorithms are more natural for GF(p) due to the carry propagation from the least to most significant digits. However, these algorithms are not usually used for GF(pm) since there is no carry propagation between digit's significance. For GF(pm), most-significant-digit-first algorithms are more efficient since they do not result in any additional scaling factor such as that in equation (6), and produce the final un-scaled result at the end of the multiplication algorithm.
Least-significant-digit-first and most-significant-digit-first algorithms can be implemented using a variety of structures. Most of the existing structures are effectively based on different time-space mapping of the dataflow diagrams. The dataflow consists of nodes and edges. The nodes represent functional units and the edges represent flow of data between nodes.
It should be noted that for GF(pm), the carry edges do not exist since there is no carry propagation between digit's significance.
On one end of the spectrum, an array of processing elements is used, where each processing element performs the computation of a single node in graphs such as those shown in FIG. 1. Such realizations are usually referred to as parallel implementations.
Parallel finite-field multipliers have been reported in the U.S. Patent of Geong, U.S. Pat. No. 6,151,393 and in the published applications of Chen et al., Number 2002/0184281 and Glaser et al., Number 2003/0009503 each of which is incorporated herein in its entirety.
Parallel implementations are not efficient for large word-lengths such as those encountered in cryptography due to the huge area and high power requirements.
The other end of the spectrum is to use one processing element to implement the operation of all the nodes in the graphs such as those in FIG. 1. Such realizations are usually referred to as serial implementations. Serial implementations are not efficient for large word lengths such as those encountered in cryptography due to their long execution time.
Other variations of the basic serial finite field multiplication algorithms have also been proposed where a digit of one operand is multiplied by a block of another operand as shown in the published patent applications of Chin-Long Chen et al., Numbers 2002/0116429, 2002/0116430 and 2002/0110240 each of which is incorporated herein in its entirety. A single digit-block multiplier is used to carry out the complete multiplication in a serial fashion. Usually, the block size is larger than the digit size to speed up the computations of the basic serial multiplier. As a consequence, such multiplication algorithms require different bus-widths between the memory module and the digit-block multiplier module.
Another implementation style is mapping dataflow graphs such as those in FIG. 1 into a linear array of processing elements. The mapping can be done in one of two ways: (i) by projecting along the vertical axis to obtain the serial-parallel implementation as disclosed in an article by M. C. Mekhallalati, M. K. Ibrahim, and A. S. Ashur, entitled “Radix Modular Multiplication Algorithm” published in the Journal of Circuits and Systems, and Computers, Vol. 6, No. 5, pages 547-567, 1996. or (ii) by projecting along the horizontal-axis to obtain the serial-serial implementation as disclosed by A. F. Tenca, and C. K. Koc, in “A Scalable Architecture for Montgomery Multiplication” in Cryptographic Hardware and Embedded Systems, Lecture Notes in Computer Science No. 1717, pages 94-108, Springer Verlag, Berlin, Germany, 1999 each of which are incorporated herein in their entirety by reference.
It is well know that using more than one processing element gives a better trade-off between area and time than the parallel or serial realization.
In serial-parallel structures, the digits of one of the input operands are fed serially while the digits of the other input operand must be fed in parallel. The reason is that the digits of one of the operands are all required at every cycle.
Serial-parallel realizations have been reported in the above mentioned patents and articles.
In addition, serial-parallel structures have been reported in the U.S. Pat. No. 5,414,651 of Kassels entitled “Arithmetic Unit for Multiplying Long Integers Modulo M and R.S.A. Converter Provided With Such Multiplication Device” and U.S. Pat. No. 6,377,969 of Orlando et al. entitled “Method for Multiplication in Galois Fields Using Programmable Circuits” both of which are incorporated herein in their entirety by reference.
The advantage of the serial-parallel realization is that the first digit of the product needed to perform field reduction is obtained after an initial delay of one cycle. Defining the initial delay as the number of cycles required before the first digit of the result needed for field reduction is obtained, it is clear that the serial-parallel realization inherently has an initial delay which is independent of the word length. The drawbacks of the serial-parallel realizations are as follows:

    
    
        (i) it requires parallel loading of the digits of one of the operands, since the digits of one of the operands are all required at every cycle. It is significant to note that the use of parallel transfer of data back and forth from memory and the multiplication structures is a major drawback for large word lengths such as those encountered in cryptography. The reason is that parallel loading for large wordlenghs requires large bus-widths which are costly in area and have a significant impact on the execution time.
        (ii) it also has to support serial loading of the other operand and hence the hardware must support buses with different bus-widths between the memory module and the multiplier module; one being for parallel communication and one for serial communication.
    
    


The major advantage of serial-serial implementations based on dataflow such as those in FIG. 1 is that all the operand communications are serial in nature and hence no parallel loading is needed.
It should be noted that both serial multiplication structures and serial-serial multiplication realizations require only serial communication for all operands and hence require busses with the same bus width. Serial-serial multipliers have the advantage of requiring less number of memory accesses than their serial counterparts. Also, to achieve the same execution time, the bus width of the serial multiplier needs to be higher than that needed in the serial-serial multiplier. Both of these features make serial-serial multiplier ideal for low power devices such as smart cards.
It should be noted that the serial-parallel multipliers in the aforementioned patents can be modified by loading the operand whose digits are needed at every cycle serially one digit at a time into a serial-in-parallel-out register. The drawback is that this will incur an initial delay prior to the commencement of the multiplication operation, which is dependant on the word length. The structures disclosed in the U.S. Patent of Monier, U.S. Pat. No. 5,742,534 and Walby U.S. Pat. No. 4,797,848 use a serial-in-parallel-out register. Such structures incur an initial delay prior to the commencement of the multiplication operation which is dependent on the word length.
The structures in these patents suffer from the same drawback in that the use of a serial-in-parallel-out registers will incur an initial delay prior to the commencement of the multiplication operation, which is dependant on the word length.
Serial-serial structures that do not require all the digits of all the operands in every cycle have been proposed. This can be achieved by folding the structure in FIG. 1 along the horizontal axis. One such structure was reported in the aforementioned article by A. F. Tenca and C. K. Koc. However, such structures have a major drawback in that the initial delay and clock cycle are dependant on the word length of the operands. For large word lengths such as those in cryptography, this long initial delay and clock cycle represent a significant drawback.
The authors of the structure in the aforementioned A. F. Tenca and C. K. Koc article use extra pipelining registers to make the initial delay and the clock cycle independent of the word length. It is significant to note that the use of extra pipelining registers will significantly increase the hardware and will require additional clock cycles, which are proportional to the word length.
A serial-serial finite field reduction structure is disclosed in the U.S. Pat. No. 5,101,431 of Even for “Systolic Array for Modular Multiplication”. However, as disclosed therein, the initial delay and clock cycle are dependent on the word length of the operands. For large word lengths such as those in cryptography, the long initial delay and clock cycles are a draw back. The patent also discloses the use of extra pipelining registers to make the initial delay and the clock-cycle independent of the word length. It is significant to note that the use of extra pipelining registers will significantly increase the hardware and will require additional clock-cycles, which are proportional to the word length.
Another serial-serial structure is disclosed in a published patent application of Mellott et al. Number 2002/0161810 entitled “Method and Apparatus for Multiplication and/or Modular Reduction Processing.” In this structure the initial delay and clock-cycle are also dependent on the word-length. However, to reduce the effect of word length dependency, the inventors use a multi-port adder, which may be implemented for example as a tree adder. This will reduce the effect of word length dependency, but it will not eliminate it completely.
It is also significant to note that the use of a multi-port adder will lead to an irregular structure, and hence the structure is not systolic, i.e. it is not modular, and requires irregular communication
Therefore there is a need for a realization which (i) allows serial loading of all needed operands, and (ii) has an initial delay and clock cycle which are inherently independent of the word length.
It should also be noted that any new realization must allow for scalability, which is an additional requirement for the application of finite field multiplication in cryptography. Scalable multiplication structures are those that can be reused or replicated in order to generate long-precision results independently of the data path precision for which the unit was originally designed. Scalability is needed because the key lengths could be increased for higher security. Any cryptographic hardware such as smart cards should not become obsolete with a new key length.
B. SUMMARY OF THE INVENTION
In essence, the present invention contemplates a method or cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver. The method includes the step of providing a finite filed serial-serial multiplication/reduction structure wherein an initial delay and clock-cycle are inherently independent of word length and wherein input operands are serially entered one digit at a time and the output result is computed serially one digit at a time. The invention also contemplates a serial transfer for reducing the bus width needed to transfer data back and forth between memory and multiplication.
A mathematical description of finite field multiplication is outlined which is inherently and directly amenable for serial-serial implementation.
It should be noted that in serial-serial structures: (i) all the input operands are only needed serially, i.e. one digit at a time, and (ii) the output result is computed serially one digit at a time.
Defining the initial delay as the number of cycles required to obtain the first digit of the multiplication result needed for field reduction, the major advantage of the new formulation over the existing serial-serial ones is that it inherently has an initial delay and clock cycle which is independent of the operand word length. This is quite significant for cryptography which requires large word lengths, because the security of cryptosystems is usually proportional to the word length of the operands.
The structures in this invention are the first finite field serial-serial multiplication/reduction structure where the initial delay and the clock cycle are inherently independent of the word length. It is inherent in that this independence of the word length is achieved without:

    1—the need for extra pipeline registers
    2—the need for an irregular adder structure
    3—the need for serial-in-parallel-out register for the input operand
    4—the need for parallel-in-serial-out register for the output operand


This inherent word length independence of the initial delay and clock cycle has been achieved by describing both the operand multiplication and the field reduction as serial-serial computations in one formulation.
The resulting structures (i) give better trade-off than purely parallel or serial implementation with respect to time and area, (ii) do not require parallel loading and hence overcomes the limitation of serial-parallel structures, (iii) have an initial delay and clock cycle which is inherently independent of the word length and hence they do not suffer from the drawback of long initial delays and clock cycles inherent in existing serial-serial realizations.
It should be noted that existing serial-serial multipliers can be made to have an initial delay and clock cycle which is independent of the word length by the use of pipelining. However, it is significant to note that the use of extra pipelining registers will significantly increase the hardware and will require additional clock cycles, which are proportional to the word length.
The new description is scalable and applicable for any field. Moreover, it is applicable for both least-to-most or most-to-least computations.
Furthermore, one efficient systolic implementation is outlined.
Since the invention is applicable to both least-to-most and most-to-least, new bi-directional as well as hybrid algorithms and structures are also disclosed.



DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic illustration of different finite field reduction data flows;
FIG. 2 is a schematic illustration of a basic serial-serial finite field multiplier in accordance with the present invention;
FIG. 3 shows the general structure for a finite field multiplier cell in accordance with the present invention;
FIG. 4 illustrates an area-efficient serial-serial finite field multiplier in accordance with the present invention;
FIG. 5 illustrates two implementations of the input feeding circuit in accordance with the present invention;
FIG. 6 illustrates a serial-serial finite field multiplier as a systolic array in accordance with the present invention;
FIG. 7 illustrates a systolic serial-serial finite field multiplier cell for use in practicing the present invention;
FIG. 8 illustrates pipelining for a serial-serial finite field multiplier; and
FIG. 9 is a block diagram of a scalable serial-serial finite field multiplier.
FIG. 10 is a schematic illustration of the time-space mapping of finite field multiplication in accordance with the present invention.



DESCRIPTION OF THE PREFERRED EMBODIMENTS OF THE INVENTION
The present invention is particularly applicable to elliptic curve cryptography and more particularly to XZ Elliptic Curve Cryptography of the type disclosed in the co-pending application Ser. No. 10/790,677 filed on Mar. 3, 2004 and now issued as U.S. Pat. No. 7,739,546 on May 27, 2008, in the name of Mohammad Ibrahim and which is incorporated herein in its entirety by reference.
As contemplated in the earlier invention, an improved method for communicating securely over an insecure channel using elliptic curve cryptography. The improvement comprises applying projective coordinates in two stages. In a first of the two stages, a projective coordinate is used to embed extra message data bits in the Z coordinate. Then, in a second stage a projective coordinate is used to remove a division operation at each iteration and for randomizing the computation in order to provide a counter measure against differential power analysis.
In a preferred embodiment of the earlier invention, a method for encrypting or encoding and decrypting or decoding a message bit string in an information processing system is provided. The method includes the step of establishing an elliptic curve message point (XmYmZm) and embedding a message bit string into the elliptic curve message point. A shared key (k) and a base point (XbYbZb) are provided and the scalier multiplication (XbkYbkZbk)=k (XbYbZb) is computed. A cipher point (XcYcZc) is then computed using (XcYcZc)=(XmYmZm)+k (XbYbZb). Appropriate bits of the X-coordinate, Xc and the Z-coordinate Zc of the cipher point (XcYcZc) are then sent to a receiving party and the shared key k and base point (XbYbZb) are used in computing a scaller multiplication (XbkYbkZbk)=k (XbYbZb). Computing the message point (XmYmZm) using (XmYmZm)=(XcYcZc)+(−k (XbYbZb)) and recovering the message bit string from Xm and Zm completes the method.
The above encryption method includes the step of providing a finite filed serial-serial multiplication/reduction structure wherein an initial delay and clock-cycle are inherently independent of word length and wherein input operands are serially entered one digit at a time and the output result is computed serially one digit at a time.
1. Digit Serial-Serial Finite Field Multiplication—Basic Equation
Least-to-most finite field multiplication of two d-digit numbers can be performed using Montgomery algorithm, which implements the following formula:

R=XYμ−d mod*G(μ)   (7)

where





  
    
      
        X
        =
        
          
            ∑
            
              i
              =
              0
            
            
              d
              -
              1
            
          
          ⁢
          
            
              x
              i
            
            ⁢
            
              μ
              i
            
          
        
      
    
    
      
        (
        8
        )
      
    
  
  
    
      
        Y
        =
        
          
            ∑
            
              i
              =
              0
            
            
              d
              -
              1
            
          
          ⁢
          
            
              y
              i
            
            ⁢
            
              μ
              i
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




and A mod*M operation generates an output which is redundant to M but is limited to one bit additional to the word length. Rewriting X in terms of digits, the following is obtained:





  
    
      
        R
        =
        
          
            
              (
              
                
                  μ
                  
                    -
                    d
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      d
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      x
                      i
                    
                    ⁢
                    Y
                    ⁢
                    
                      
                    
                    ⁢
                    
                      μ
                      i
                    
                  
                
              
              )
            
            ⁢
            
              mod
              *
            
            ⁢
            
              G
              ⁡
              
                (
                μ
                )
              
            
          
          =
          
            
              [
              
                
                  μ
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  
                    
                      μ
                      
                        -
                        
                          (
                          
                            d
                            -
                            1
                          
                          )
                        
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          i
                          =
                          0
                        
                        
                          d
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          x
                          i
                        
                        ⁢
                        Y
                        ⁢
                        
                          
                        
                        ⁢
                        
                          μ
                          i
                        
                      
                    
                  
                  )
                
              
              ]
            
            ⁢
            
              mod
              *
            
            ⁢
            
              G
              ⁡
              
                (
                μ
                )
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




Let's denote R by Rd. Then,

Rd=(μ−1Rd−1)mod*G(μ)   (11)

where





  
    
      
        
          
            
              
                R
                
                  d
                  -
                  1
                
              
              =
              
                
                  μ
                  
                    -
                    
                      (
                      
                        d
                        -
                        1
                      
                      )
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      d
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      x
                      i
                    
                    ⁢
                    Y
                    ⁢
                    
                      
                    
                    ⁢
                    
                      μ
                      i
                    
                  
                
              
            
          
        
        
          
            
              =
              
                
                  
                    x
                    
                      d
                      -
                      1
                    
                  
                  ⁢
                  Y
                
                +
                
                  
                    μ
                    
                      -
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      
                        μ
                        
                          -
                          
                            (
                            
                              d
                              -
                              2
                            
                            )
                          
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            i
                            =
                            0
                          
                          
                            d
                            -
                            2
                          
                        
                        ⁢
                        
                          
                            x
                            i
                          
                          ⁢
                          Y
                          ⁢
                          
                            
                          
                          ⁢
                          
                            μ
                            i
                          
                        
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
                
                  
                    x
                    
                      d
                      -
                      1
                    
                  
                  ⁢
                  Y
                
                +
                
                  
                    μ
                    
                      -
                      1
                    
                  
                  ⁢
                  
                    R
                    
                      d
                      -
                      2
                    
                  
                
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




In general,




  
    
      
        
          
            
              
                R
                k
              
              =
              
                
                  μ
                  
                    -
                    
                      (
                      k
                      )
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    k
                  
                  ⁢
                  
                    
                      x
                      i
                    
                    ⁢
                    Y
                    ⁢
                    
                      
                    
                    ⁢
                    
                      μ
                      i
                    
                  
                
              
            
          
        
        
          
            
              =
              
                
                  
                    x
                    k
                  
                  ⁢
                  Y
                
                +
                
                  
                    μ
                    
                      -
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      
                        μ
                        
                          -
                          
                            (
                            
                              k
                              -
                              1
                            
                            )
                          
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            i
                            =
                            0
                          
                          
                            k
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            x
                            i
                          
                          ⁢
                          Y
                          ⁢
                          
                            
                          
                          ⁢
                          
                            μ
                            i
                          
                        
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
                
                  
                    x
                    k
                  
                  ⁢
                  Y
                
                +
                
                  
                    μ
                    
                      -
                      1
                    
                  
                  ⁢
                  
                    R
                    
                      k
                      -
                      1
                    
                  
                
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




Substituting for Rk−1, the following is obtained

Rk=xkY+μ−1Rk−1=xkY+μ−1(xk−1Y+μ−1Rk−2)   (14)

By repeating the substitution, we get the following

Rk=xkY+μ−1(xk−1Y+μ−1(xk−2Y+μ−1( . . . (xk−δR+1Y+μ−1Rk−δR) . . . )))   (15)

Taking out the least-significant digit of Rk−δR, which would be discarded anyway by the division, outside all parentheses, we get

Rk=xkY+μ−1(xk−1Y+μ−1(xk−2Y+μ−1( . . . (xk−δR+1Y+μ−1Rk−δR) . . . )))+μ−δRRk−δR[0]  (16)

Since all operations are performed mod G(μ), any term can be reduced mod G(μ) without disturbing the final result. It follows that

Rk=xkY+μ−1Rk−1+μ−δR mod G(μ)·Rk−δR[0]  (17)

If θ=μ−δθ mod G(μ), then by substituting in the last equation,

Rk=xkY+μ−1Rk−1+μδθ−δR θ·Rk−δR[0]  (18)

The introduction of the parameter δR is useful since it enables pipelining of the multiplication process, as will be described in detail later. It is noteworthy that this is not the only way to calculate the correction term θ. While other ways can be found in the literature, it should be clear that all the following equations are applicable to any method of correction term generation.
Unfolding this recurrence, and solving for R, we get




  
    
      
        
          
            
              R
              =
              
              ⁢
              
                
                  [
                  
                    
                      μ
                      
                        -
                        d
                      
                    
                    ⁡
                    
                      (
                      
                        
                          
                            μ
                            
                              -
                              
                                δ
                                R
                              
                            
                          
                          ⁢
                          XY
                        
                        +
                        
                          
                            μ
                            
                              
                                δ
                                θ
                              
                              -
                              
                                δ
                                R
                              
                            
                          
                          ⁢
                          θ
                          ⁢
                          
                            
                              ∑
                              
                                k
                                =
                                0
                              
                              
                                d
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                R
                                k
                                
                                  [
                                  0
                                  ]
                                
                              
                              ⁢
                              
                                μ
                                k
                              
                            
                          
                        
                      
                      )
                    
                  
                  ]
                
                ⁢
                
                  mod
                  *
                
                ⁢
                
                  G
                  ⁡
                  
                    (
                    μ
                    )
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  [
                  
                    
                      μ
                      
                        
                          -
                          d
                        
                        -
                        
                          δ
                          R
                        
                      
                    
                    ⁡
                    
                      (
                      
                        XY
                        +
                        
                          
                            μ
                            
                              δ
                              θ
                            
                          
                          ⁢
                          θ
                          ⁢
                          
                            
                              ∑
                              
                                k
                                =
                                0
                              
                              
                                d
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                R
                                k
                                
                                  [
                                  0
                                  ]
                                
                              
                              ⁢
                              
                                μ
                                k
                              
                            
                          
                        
                      
                      )
                    
                  
                  ]
                
                ⁢
                
                  mod
                  *
                
                ⁢
                
                  G
                  ⁡
                  
                    (
                    μ
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




Note that X, Y and θ can be rewritten as




  
    
      
        X
        =
        
          
            
              ∑
              
                i
                =
                0
              
              
                d
                -
                1
              
            
            ⁢
            
              
                x
                i
              
              ⁢
              
                μ
                i
              
            
          
          =
          
            
              μ
              
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  d
                  +
                  
                    δ
                    X
                  
                  -
                  1
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
                ⁢
                
                  μ
                  i
                
              
            
          
        
      
    
    
      
        (
        20
        )
      
    
  
  
    
      
        Y
        =
        
          
            
              ∑
              
                j
                =
                0
              
              
                d
                -
                1
              
            
            ⁢
            
              
                y
                j
              
              ⁢
              
                μ
                j
              
            
          
          =
          
            
              μ
              
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  d
                  +
                  
                    δ
                    Y
                  
                  -
                  1
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
                ⁢
                
                  μ
                  j
                
              
            
          
        
      
    
    
      
        (
        21
        )
      
    
  
  
    
      
        θ
        =
        
          
            
              ∑
              
                h
                =
                0
              
              
                d
                -
                1
              
            
            ⁢
            
              
                θ
                
                  [
                  h
                  ]
                
              
              ⁢
              
                μ
                h
              
            
          
          =
          
            
              μ
              
                -
                
                  δ
                  θ
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
        
      
    
    
      
        (
        22
        )
      
    
  




δθ, δX and δY are introduced to give the freedom for the operands to be supplied with different lag times, and they prove helpful also in the case of multi-precision multiplication. These δ's are governed by the following relationships:

δX,δY≧0

δR,δθ≧1

max(δX,δY)<min(δR,δθ)

δ=max(δR, δθ)

Through rewriting all words as digits, each of the two products can be decomposed in the following way.




  
    
      
        R
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
            
          
          ⁢
          
             
            
              (
              
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      d
                      +
                      
                        δ
                        X
                      
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      x
                      
                        i
                        -
                        
                          δ
                          X
                        
                      
                    
                    ⁢
                    
                      μ
                      
                        i
                        -
                        
                          δ
                          X
                        
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          j
                          =
                          0
                        
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          y
                          
                            j
                            -
                            
                              δ
                              Y
                            
                          
                        
                        ⁢
                        
                          μ
                          
                            j
                            -
                            
                              δ
                              Y
                            
                          
                        
                      
                    
                  
                
                +
                
                  
                    ∑
                    
                      h
                      =
                      0
                    
                    
                      d
                      +
                      
                        δ
                        θ
                      
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      θ
                      
                        [
                        
                          h
                          -
                          
                            δ
                            θ
                          
                        
                        ]
                      
                    
                    ⁢
                    
                      μ
                      h
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          0
                        
                        
                          d
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          R
                          k
                          
                            [
                            0
                            ]
                          
                        
                        ⁢
                        
                          μ
                          k
                        
                      
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        23
        )
      
    
  




which can be generalized to





  
    
      
        R
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
            
          
          ⁢
          
             
            
              (
              
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    
                      d
                      +
                      δ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      x
                      
                        i
                        -
                        
                          δ
                          X
                        
                      
                    
                    ⁢
                    
                      μ
                      
                        i
                        -
                        
                          δ
                          X
                        
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          j
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          y
                          
                            j
                            -
                            
                              δ
                              Y
                            
                          
                        
                        ⁢
                        
                          μ
                          
                            j
                            -
                            
                              δ
                              Y
                            
                          
                        
                      
                    
                  
                
                +
                
                  
                    ∑
                    
                      h
                      =
                      0
                    
                    
                      d
                      +
                      δ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      θ
                      
                        [
                        
                          h
                          -
                          
                            δ
                            θ
                          
                        
                        ]
                      
                    
                    ⁢
                    
                      μ
                      h
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          0
                        
                        
                          d
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          R
                          k
                          
                            [
                            0
                            ]
                          
                        
                        ⁢
                        
                          μ
                          k
                        
                      
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        24
        )
      
    
  




Equivalently,




  
    
      
        R
        =
        
          
            μ
            
              -
              1
            
          
          ⁢
          
             
            
              (
              
                
                  μ
                  
                    
                      -
                      d
                    
                    -
                    
                      δ
                      R
                    
                    +
                    1
                  
                
                ⁢
                
                   
                  
                    (
                    
                      
                        
                          
                            
                              
                                ∑
                                
                                  i
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  x
                                  
                                    i
                                    -
                                    
                                      δ
                                      X
                                    
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    i
                                    -
                                    
                                      δ
                                      X
                                    
                                  
                                
                                ⁢
                                
                                  
                                    ∑
                                    
                                      j
                                      =
                                      0
                                    
                                    
                                      d
                                      +
                                      δ
                                      -
                                      1
                                    
                                  
                                  ⁢
                                  
                                    
                                      y
                                      
                                        j
                                        -
                                        
                                          δ
                                          Y
                                        
                                      
                                    
                                    ⁢
                                    
                                      μ
                                      
                                        j
                                        -
                                        
                                          δ
                                          Y
                                        
                                      
                                    
                                  
                                
                              
                            
                            +
                          
                        
                      
                      
                        
                          
                            
                              ∑
                              
                                h
                                =
                                0
                              
                              
                                d
                                +
                                δ
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                θ
                                
                                  [
                                  
                                    h
                                    -
                                    
                                      δ
                                      θ
                                    
                                  
                                  ]
                                
                              
                              ⁢
                              
                                μ
                                h
                              
                              ⁢
                              
                                
                                  ∑
                                  
                                    k
                                    =
                                    0
                                  
                                  
                                    d
                                    -
                                    1
                                  
                                
                                ⁢
                                
                                  
                                    R
                                    k
                                    
                                      [
                                      0
                                      ]
                                    
                                  
                                  ⁢
                                  
                                    μ
                                    k
                                  
                                
                              
                            
                          
                        
                      
                    
                    )
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        25
        )
      
    
  




Denoting R by Rd+δR*, this becomes

Rd+δR*=μ−1Rd+δR−1*   (26)

where





  
    
      
        
          R
          
            d
            +
            
              δ
              R
            
            -
            1
          
          *
        
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
              +
              1
            
          
          ⁡
          
            (
            
              
                
                  ∑
                  
                    i
                    =
                    0
                  
                  
                    d
                    +
                    δ
                    -
                    1
                  
                
                ⁢
                
                  
                    x
                    
                      i
                      -
                      
                        δ
                        X
                      
                    
                  
                  ⁢
                  
                    μ
                    
                      i
                      -
                      
                        δ
                        X
                      
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        j
                        =
                        0
                      
                      
                        d
                        +
                        δ
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        y
                        
                          j
                          -
                          
                            δ
                            Y
                          
                        
                      
                      ⁢
                      
                        μ
                        
                          j
                          -
                          
                            δ
                            Y
                          
                        
                      
                    
                  
                
              
              +
              
                
                  ∑
                  
                    h
                    =
                    0
                  
                  
                    d
                    +
                    δ
                    -
                    1
                  
                
                ⁢
                
                  
                    θ
                    
                      [
                      
                        h
                        -
                        
                          δ
                          θ
                        
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    h
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        0
                      
                      
                        d
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        R
                        k
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                      ⁢
                      
                        μ
                        k
                      
                    
                  
                
              
            
            )
          
        
      
    
    
      
        (
        27
        )
      
    
  
  
    
      
        
          R
          
            d
            +
            
              δ
              R
            
            -
            1
          
          *
        
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
              +
              1
            
          
          ⁢
          
             
            
              (
              
                
                  
                    
                      
                        
                          x
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              X
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          y
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              Y
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            
                              2
                              ⁢
                              
                                (
                                
                                  d
                                  +
                                  δ
                                  -
                                  1
                                
                                )
                              
                            
                            -
                            
                              δ
                              X
                            
                            -
                            
                              δ
                              Y
                            
                          
                        
                      
                      +
                      
                        
                          x
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              X
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              X
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              j
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              y
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                            ⁢
                            
                              μ
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                          
                        
                      
                      +
                    
                  
                
                
                  
                    
                      
                        
                          y
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              Y
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            δ
                            -
                            
                              δ
                              Y
                            
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              i
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              x
                              
                                i
                                -
                                
                                  δ
                                  X
                                
                              
                            
                            ⁢
                            
                              μ
                              
                                i
                                -
                                
                                  δ
                                  X
                                
                              
                            
                          
                        
                      
                      +
                      
                        
                          ∑
                          
                            i
                            =
                            0
                          
                          
                            d
                            +
                            δ
                            -
                            2
                          
                        
                        ⁢
                        
                          
                            x
                            
                              i
                              -
                              
                                δ
                                X
                              
                            
                          
                          ⁢
                          
                            μ
                            
                              i
                              -
                              
                                δ
                                X
                              
                            
                          
                          ⁢
                          
                            
                              ∑
                              
                                j
                                =
                                0
                              
                              
                                d
                                +
                                δ
                                -
                                2
                              
                            
                            ⁢
                            
                              
                                y
                                
                                  j
                                  -
                                  
                                    δ
                                    Y
                                  
                                
                              
                              ⁢
                              
                                μ
                                
                                  j
                                  -
                                  
                                    δ
                                    Y
                                  
                                
                              
                            
                          
                        
                      
                      +
                    
                  
                
                
                  
                    
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              δ
                              -
                              
                                δ
                                θ
                              
                              -
                              1
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            d
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          μ
                          
                            
                              2
                              ⁢
                              
                                (
                                
                                  d
                                  -
                                  1
                                
                                )
                              
                            
                            +
                            δ
                            -
                            
                              δ
                              θ
                            
                          
                        
                      
                      +
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              δ
                              -
                              
                                δ
                                θ
                              
                              -
                              1
                            
                            ]
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            δ
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              0
                            
                            
                              d
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                            ⁢
                            
                              μ
                              k
                            
                          
                        
                      
                      +
                    
                  
                
                
                  
                    
                      
                        
                          R
                          
                            d
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              h
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              θ
                              
                                [
                                
                                  h
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              h
                            
                          
                        
                      
                      +
                      
                        
                          ∑
                          
                            h
                            =
                            0
                          
                          
                            d
                            +
                            δ
                            -
                            2
                          
                        
                        ⁢
                        
                          
                            θ
                            
                              [
                              
                                h
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            μ
                            h
                          
                          ⁢
                          
                            
                              ∑
                              
                                k
                                =
                                0
                              
                              
                                d
                                -
                                2
                              
                            
                            ⁢
                            
                              
                                R
                                k
                                
                                  *
                                  
                                    [
                                    0
                                    ]
                                  
                                
                              
                              ⁢
                              
                                μ
                                k
                              
                            
                          
                        
                      
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        28
        )
      
    
  
  
    
      
        
          R
          
            d
            +
            
              δ
              R
            
            -
            1
          
          *
        
        =
        
          
            
              x
              
                d
                +
                δ
                -
                
                  δ
                  X
                
                -
                1
              
            
            ⁢
            
              y
              
                d
                +
                δ
                -
                
                  δ
                  Y
                
                -
                1
              
            
            ⁢
            
              μ
              
                d
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
                -
                1
              
            
          
          +
          
            
              x
              
                d
                +
                δ
                -
                
                  δ
                  X
                
                -
                1
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                d
                +
                δ
                -
                
                  δ
                  Y
                
                -
                1
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  δ
                  -
                  
                    δ
                    θ
                  
                  -
                  1
                
                ]
              
            
            ⁢
            
              R
              
                d
                -
                1
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                d
                -
                1
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  δ
                  R
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  δ
                  -
                  
                    δ
                    θ
                  
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  d
                  -
                  2
                
              
              ⁢
              
                
                  R
                  k
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                d
                -
                1
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁡
            
              (
              
                
                  μ
                  
                    
                      -
                      d
                    
                    -
                    
                      δ
                      R
                    
                    +
                    2
                  
                
                ⁡
                
                  (
                  
                    
                      
                        ∑
                        
                          i
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          2
                        
                      
                      ⁢
                      
                        
                          x
                          
                            i
                            -
                            
                              δ
                              X
                            
                          
                        
                        ⁢
                        
                          μ
                          
                            i
                            -
                            
                              δ
                              X
                            
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              j
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              y
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                            ⁢
                            
                              μ
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                          
                        
                      
                    
                    +
                    
                      
                        ∑
                        
                          h
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          2
                        
                      
                      ⁢
                      
                        
                          θ
                          
                            [
                            
                              h
                              -
                              
                                δ
                                θ
                              
                            
                            ]
                          
                        
                        ⁢
                        
                          μ
                          h
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              0
                            
                            
                              d
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                            ⁢
                            
                              μ
                              k
                            
                          
                        
                      
                    
                  
                  )
                
              
              )
            
          
        
      
    
    
      
        (
        29
        )
      
    
  
  
    
      
        
          R
          
            d
            +
            
              δ
              R
            
            -
            1
          
          *
        
        =
        
          
            
              x
              
                d
                +
                δ
                -
                
                  δ
                  X
                
                -
                1
              
            
            ⁢
            
              y
              
                d
                +
                δ
                -
                
                  δ
                  Y
                
                -
                1
              
            
            ⁢
            
              μ
              
                d
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
                -
                1
              
            
          
          +
          
            
              x
              
                d
                +
                δ
                -
                
                  δ
                  X
                
                -
                1
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                d
                +
                δ
                -
                
                  δ
                  Y
                
                -
                1
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  δ
                  -
                  
                    δ
                    θ
                  
                  -
                  1
                
                ]
              
            
            ⁢
            
              R
              
                d
                -
                1
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                d
                -
                1
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  δ
                  R
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  δ
                  -
                  
                    δ
                    θ
                  
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  d
                  -
                  2
                
              
              ⁢
              
                
                  R
                  k
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                d
                -
                1
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  d
                  +
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              R
              
                d
                +
                
                  δ
                  R
                
                -
                2
              
              *
            
          
        
      
    
    
      
        (
        30
        )
      
    
  




In general,




  
    
      
        
          R
          g
          *
        
        =
        
          
            
              
                x
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    X
                  
                
              
              ⁢
              
                y
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    Y
                  
                
              
              ⁢
              
                μ
                
                  g
                  +
                  
                    2
                    ⁢
                    δ
                  
                  -
                  
                    δ
                    X
                  
                  -
                  
                    δ
                    Y
                  
                  -
                  
                    2
                    ⁢
                    
                      δ
                      R
                    
                  
                
              
            
            +
            
              
                x
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    X
                  
                
              
              ⁢
              
                μ
                
                  δ
                  -
                  
                    δ
                    X
                  
                  -
                  
                    δ
                    R
                  
                
              
              ⁢
              
                
                  ∑
                  
                    j
                    =
                    0
                  
                  
                    g
                    +
                    δ
                    -
                    
                      δ
                      R
                    
                    -
                    1
                  
                
                ⁢
                
                  
                    y
                    
                      j
                      -
                      
                        δ
                        Y
                      
                    
                  
                  ⁢
                  
                    μ
                    
                      j
                      -
                      
                        δ
                        Y
                      
                    
                  
                
              
            
            +
            
              
                y
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    Y
                  
                
              
              ⁢
              
                μ
                
                  δ
                  -
                  
                    δ
                    Y
                  
                  -
                  
                    δ
                    R
                  
                
              
              ⁢
              
                
                  ∑
                  
                    i
                    =
                    0
                  
                  
                    g
                    +
                    δ
                    -
                    
                      δ
                      R
                    
                    -
                    1
                  
                
                ⁢
                
                  
                    x
                    
                      i
                      -
                      
                        δ
                        X
                      
                    
                  
                  ⁢
                  
                    μ
                    
                      i
                      -
                      
                        δ
                        X
                      
                    
                  
                
              
            
            +
            
              
                θ
                
                  [
                  
                    g
                    +
                    δ
                    -
                    
                      δ
                      R
                    
                    -
                    
                      δ
                      θ
                    
                  
                  ]
                
              
              ⁢
              
                R
                
                  g
                  -
                  
                    δ
                    R
                  
                
                
                  *
                  
                    [
                    0
                    ]
                  
                
              
              ⁢
              
                μ
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    θ
                  
                  -
                  
                    2
                    ⁢
                    
                      δ
                      R
                    
                  
                
              
            
            +
            
              
                θ
                
                  [
                  
                    g
                    +
                    δ
                    -
                    
                      δ
                      R
                    
                    -
                    
                      δ
                      θ
                    
                  
                  ]
                
              
              ⁢
              
                μ
                
                  δ
                  -
                  
                    δ
                    R
                  
                
              
              ⁢
              
                
                  ∑
                  
                    k
                    =
                    0
                  
                  
                    g
                    -
                    
                      δ
                      R
                    
                    -
                    1
                  
                
                ⁢
                
                  
                    R
                    k
                    
                      *
                      
                        [
                        0
                        ]
                      
                    
                  
                  ⁢
                  
                    μ
                    k
                  
                
              
            
            +
            
              
                R
                
                  g
                  -
                  
                    δ
                    R
                  
                
                
                  *
                  
                    [
                    0
                    ]
                  
                
              
              ⁢
              
                μ
                
                  -
                  
                    δ
                    R
                  
                
              
              ⁢
              
                
                  ∑
                  
                    h
                    =
                    0
                  
                  
                    g
                    +
                    δ
                    -
                    
                      δ
                      R
                    
                    -
                    1
                  
                
                ⁢
                
                  
                    θ
                    
                      [
                      
                        h
                        -
                        
                          δ
                          θ
                        
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    h
                  
                
              
            
            +
            
              
                μ
                
                  -
                  1
                
              
              ⁢
              
                R
                
                  g
                  -
                  1
                
                *
              
              ⁢
              
                
              
              ⁢
              for
              ⁢
              
                
              
              ⁢
              0
            
          
          ≤
          g
          ≤
          
            d
            +
            δ
          
        
      
    
    
      
        (
        31
        )
      
    
  




This recurrence describes in general the finite field multiplication operation in which all operands are fed serially and the output is also obtained serially.
Equation (31) is a novel description of the multiplication operation. It formulates the two stages of the field multiplication, namely (i) the operand multiplication and (ii) the finite field reduction, as a serial-serial computation.
2. A Particular Implementation of a Serial-Serial GF(p) Multiplier
One embodiment of equation 31 is shown in this section for GF(p). This architecture is not the only possible implementation of equation 31. It is used to illustrate how it can be implemented in a serial-serial fashion.
As previously mentioned, in GF(p), G(μ) will denote the modulus M while μ will denote the radix 2r. Setting δX=δY=0, δθ=δR=1 and noting that the product of any two digits consists of two digits, i.e.

aibj=[aibj]H2r+[aibj]L   (32)

Equation (31) can be rewritten in GF(p) as follows.




  
    
      
        
          R
          g
          *
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          g
                        
                        ⁢
                        
                          y
                          g
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  
                    2
                    r
                  
                
                +
                
                  
                    [
                    
                      
                        x
                        g
                      
                      ⁢
                      
                        y
                        g
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              2
              gr
            
          
          +
          
            
              ∑
              
                j
                =
                0
              
              
                g
                -
                1
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            x
                            g
                          
                          ⁢
                          
                            y
                            j
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          x
                          g
                        
                        ⁢
                        
                          y
                          j
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                jr
              
            
          
          +
          
            
              ∑
              
                i
                =
                0
              
              
                g
                -
                1
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            x
                            i
                          
                          ⁢
                          
                            y
                            g
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          x
                          i
                        
                        ⁢
                        
                          y
                          g
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                jr
              
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          R
                          
                            g
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            
                              g
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  
                    2
                    r
                  
                
                +
                
                  
                    [
                    
                      
                        R
                        
                          g
                          -
                          1
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                      ⁢
                      
                        θ
                        
                          [
                          
                            g
                            -
                            1
                          
                          ]
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              2
              
                
                  (
                  
                    g
                    -
                    1
                  
                  )
                
                ⁢
                r
              
            
          
          +
          
            
              ∑
              
                k
                =
                0
              
              
                g
                -
                2
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              
                                g
                                -
                                1
                              
                              ]
                            
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          R
                          k
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            
                              g
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                kr
              
            
          
          +
          
            
              ∑
              
                h
                =
                0
              
              
                g
                -
                2
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            R
                            
                              g
                              -
                              1
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              h
                              ]
                            
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          R
                          
                            g
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            h
                            ]
                          
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                hr
              
            
          
          +
          
            
              2
              
                -
                r
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        33
        )
      
    
  




The maximum significance in Rg* is 2(g+1)r (except when g=d, where the maximum significance will be 2gr). Hence, Rg* will have (g+2) digits at most of which the higher will be always limited to 1-bit, i.e. its value will be at most 1. Moreover, Rd* (the final result) will be only one bit longer than the word length, which is a common feature in the output of least-to-most finite field multiplication algorithms. Then, equation (33) can be rewritten as




  
    
      
        
          
            ∑
            
              l
              =
              0
            
            
              g
              +
              1
            
          
          ⁢
          
            
              R
              g
              
                *
                
                  [
                  l
                  ]
                
              
            
            ⁢
            
              2
              lr
            
          
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          g
                        
                        ⁢
                        
                          y
                          g
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  
                    2
                    r
                  
                
                +
                
                  
                    [
                    
                      
                        x
                        g
                      
                      ⁢
                      
                        y
                        g
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              2
              gr
            
          
          +
          
            
              ∑
              
                j
                =
                0
              
              
                g
                -
                1
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            x
                            g
                          
                          ⁢
                          
                            y
                            j
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          x
                          g
                        
                        ⁢
                        
                          y
                          j
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                jr
              
            
          
          +
          
            
              ∑
              
                i
                =
                0
              
              
                g
                -
                1
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            x
                            i
                          
                          ⁢
                          
                            y
                            g
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          x
                          i
                        
                        ⁢
                        
                          y
                          g
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                ir
              
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          R
                          
                            g
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            
                              g
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  
                    2
                    r
                  
                
                +
                
                  
                    [
                    
                      
                        R
                        
                          g
                          -
                          1
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                      ⁢
                      
                        θ
                        
                          [
                          
                            g
                            -
                            1
                          
                          ]
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              2
              
                
                  (
                  
                    g
                    -
                    1
                  
                  )
                
                ⁢
                r
              
            
          
          +
          
            
              ∑
              
                k
                =
                0
              
              
                g
                -
                2
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              
                                g
                                -
                                1
                              
                              ]
                            
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          R
                          k
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            
                              g
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                kr
              
            
          
          +
          
            
              ∑
              
                h
                =
                0
              
              
                g
                -
                2
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        [
                        
                          
                            R
                            
                              g
                              -
                              1
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              h
                              ]
                            
                          
                        
                        ]
                      
                      H
                    
                    ⁢
                    
                      2
                      r
                    
                  
                  +
                  
                    
                      [
                      
                        
                          R
                          
                            g
                            -
                            1
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                        ⁢
                        
                          θ
                          
                            [
                            h
                            ]
                          
                        
                      
                      ]
                    
                    L
                  
                
                )
              
              ⁢
              
                2
                hr
              
            
          
          +
          
            
              2
              
                -
                r
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        34
        )
      
    
  




Using equation (34), a basic serial-serial finite field multiplier can be built. The block diagram of that multiplier, in which each cell works with a single significance at any given cycle, is shown in FIG. 2.
Each cell has five inputs and one output. Four of the five inputs are the broadcast lines while the fifth is the sum digit of the next higher cell. Meanwhile, each cell stores its carry digit and the higher digits of the products to be used in the next iteration. The function of each cell can be directly obtained by manipulating equation (34). Based on the assumption that cell s will store the values of xs, ys, θ[s] and Rs*[0], it is clear that at the ith cycle, only the first ith cells will be operational. Based on equation (34), cell s has one of five operation modes based on the iteration index g:
1. If s>g, then cell s would be idle.
2. If s=g, then cell s would accumulate the term of significance 2gr in equation (34), which is [xgyg]L, meaning the function of the cell can be defined as:

[Rg*[s]]carry2r+[Rg*[s]]sum=[xgyg]L   (35)

In addition, it will store xg and yg as its xs and ys, respectively.
3. If s=g−1, then the cell s would calculate the terms of significance 2g−1 in equation (34).

[Rg*[s]]carry2r+[Rg*[s]]sum=[xsyg]L+[xgys]L+[Rg−1*[0]θ[g−1]]L+[xg−1yg−1]H   (36)

In addition, it will store Rg−1*[0] and θ[g−1] as its Rs*[0] and θ[s], respectively.
4. If s=g−2, then the cell s would calculate the terms of significance 2g−2.




  
    
      
        
          
            
              
                [
                
                  R
                  g
                  
                    *
                    
                      [
                      s
                      ]
                    
                  
                
                ]
              
              carry
            
            ⁢
            
              2
              r
            
          
          +
          
            
              [
              
                R
                g
                
                  *
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            sum
          
        
        =
        
          
            
              [
              
                
                  x
                  s
                
                ⁢
                
                  y
                  g
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  x
                  g
                
                ⁢
                
                  y
                  s
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  R
                  s
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    
                      g
                      -
                      1
                    
                    ]
                  
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  R
                  
                    g
                    -
                    1
                  
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  x
                  s
                
                ⁢
                
                  y
                  
                    g
                    -
                    1
                  
                
              
              ]
            
            H
          
          +
          
            
              [
              
                
                  x
                  
                    g
                    -
                    1
                  
                
                ⁢
                
                  y
                  s
                
              
              ]
            
            H
          
          +
          
            
              
                
                  [
                  
                    
                      R
                      
                        g
                        -
                        2
                      
                      
                        *
                        
                          [
                          0
                          ]
                        
                      
                    
                    ⁢
                    
                      θ
                      
                        [
                        
                          g
                          -
                          2
                        
                        ]
                      
                    
                  
                  ]
                
                H
              
              ⁡
              
                [
                
                  R
                  
                    g
                    -
                    1
                  
                  
                    *
                    
                      [
                      s
                      ]
                    
                  
                
                ]
              
            
            carry
          
          +
          
            
              [
              
                R
                
                  g
                  -
                  1
                
                
                  *
                  
                    [
                    
                      s
                      +
                      1
                    
                    ]
                  
                
              
              ]
            
            sum
          
        
      
    
    
      
        (
        37
        )
      
    
  




5. If s<g−2, then the cell s would calculate the terms of significance 2s. {in general}




  
    
      
        
          
            
              
                [
                
                  R
                  g
                  
                    *
                    
                      [
                      s
                      ]
                    
                  
                
                ]
              
              carry
            
            ⁢
            
              2
              r
            
          
          +
          
            
              [
              
                R
                g
                
                  *
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            sum
          
        
        =
        
          
            
              [
              
                
                  x
                  s
                
                ⁢
                
                  y
                  g
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  x
                  g
                
                ⁢
                
                  y
                  s
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  R
                  s
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    
                      g
                      -
                      1
                    
                    ]
                  
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  R
                  
                    g
                    -
                    1
                  
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            L
          
          +
          
            
              [
              
                
                  x
                  s
                
                ⁢
                
                  y
                  
                    g
                    -
                    1
                  
                
              
              ]
            
            H
          
          +
          
            
              [
              
                
                  x
                  
                    g
                    -
                    1
                  
                
                ⁢
                
                  y
                  s
                
              
              ]
            
            H
          
          +
          
            
              [
              
                
                  R
                  s
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    
                      g
                      -
                      2
                    
                    ]
                  
                
              
              ]
            
            H
          
          +
          
            
              [
              
                
                  R
                  
                    g
                    -
                    2
                  
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  θ
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            H
          
          +
          
            
              [
              
                R
                
                  g
                  -
                  1
                
                
                  *
                  
                    [
                    s
                    ]
                  
                
              
              ]
            
            carry
          
          +
          
            
              [
              
                R
                
                  g
                  -
                  1
                
                
                  *
                  
                    [
                    
                      s
                      +
                      1
                    
                    ]
                  
                
              
              ]
            
            sum
          
        
      
    
    
      
        (
        38
        )
      
    
  




FIG. 3 shows the general structure for the finite field multiplier cell.
As can be seen only serial communications of the input and output operands are used. Also, it is clear that the first digit of the partial products is obtained after only one cycle.
3. Serial-Serial Finite Field Reduction
The same derivation illustrated above can be used to develop a serial-serial finite field reduction structure, i.e. a structure that reduces a given 2d-digits quantity with respect to a given finite field. In such case, the only inputs to the structure would be the quantity to be reduced, the reduction term and feedback digits of the result, as shown in the following formula. Moreover, the cell used will be the same except of the part that handles the digits of X and Y, which is no longer required. This reduces the cell by two multipliers, two registers and a multiplexer.
4. An Improved Implementation Using d/2 Cells
One possible enhancement of the structure is described here based on the transformation of time-space mappings. This is effectively another embodiment of equation (31).
The serial-serial finite field multiplier described above used d cells to multiply two d-digit numbers. The number of required cells can be reduced to d/2 without changing the internal design of the cell. This can be achieved for normal integer multiplication by exploiting the fact that the cells d/2, d/2+1, . . . up to d−1 are idle half of the cycles.
In this invention, we show that the same feature exists for field multiplication. As an example, Table 1 shows the multiplication of two 4-digit numbers. As can be seen, when the field multiplication is formulated as a serial-serial computation as in equation (31), again half the cells remain idle for half of the cycles.







TABLE 1







The Result Accumulation in A Serial-Serial Finite field Multiplier (d cells)












Cycle
Result
Cell 0
Cell 1
Cell 2
Cell 3





0
R0*[0]
x0y0





1
R1*[0]
x0y1 + x1y0 +
x1y1




R0*[0]θ[0]


2
R2*[0]
x0y2 + x2y0 +
x1y2 + x2y1 + R1*[0]θ[1]
x2y2




R0*[0]θ[1] + R1*[0]θ[0]


3
R3*[0]
x0y3 + x3y0 +
x1y2 + x2y1 +
x2y3 + x3y2 + R2*[0]θ[2]
x3y3




R0*[0]θ[2] + R2*[0]θ[0]
R1*[0]θ[2] + R2*[0]θ[1]


4
R4*[0]
R0*[0]θ[3] + R3*[0]θ[0]
R1*[0]θ[3] + R3*[0]θ[1]
R2*[0]θ[3] + R3*[0]θ[2]
R3*[0]θ[3]


5
R4*[1]
 
 
 
 


6
R4*[2]
 
 
 


7
R4*[3]
 
 


8
R4*[4]
 









Combining this fact with the fact that the multipliers of the lower d/2 cells are idle in the last d cycles, it can be seen that the higher d/2 cells are basically redundant. Table 2 shows how the same computation would look like on 2 cells only.







TABLE 2







The Result Accumulation in A Serial-Serial


Finite field Multiplier (d/2 cells)










Cycle
Result
Cell 0
Cell 1





0
R0*[0]
x0y0



1
R1*[0]
x0y1 + x1y0 + R0*[0]θ[0]
x1y1


2
R2*[0]
x0y2 + x2y0 + R0*[0]θ[1] +
x1y2 + x2y1 +




R1*[0]θ[0]
R1*[0]θ[1]


3
R3*[0]
x0y3 + x3y0 + R0*[0]θ[2] +
x1y2 + x2y1 +




R2*[0]θ[0]
R1*[0]θ[2] +





R2*[0]θ[1]


4
R4*[0]
x2y2 + R0*[0]θ[3] + R3*[0]θ[0]
R1*[0]θ[3] +





R3*[0]θ[1]


5
R4*[1]
x2y3 + x3y2 + R2*[0]θ[2]
x3y3


6
R4*[2]
R2*[0]θ[3] + R3*[0]θ[2]
R3*[0]θ[3]


7
R4*[3]
 
 


8
R4*[4]
 









Nonetheless, such configuration requires the higher halves of X, Y, θ and half of the truncated resulting bits to be supplied twice, which can be easily achieved by buffering them for d/2 cycles. This change needs to be done in order to reduce the multiplier area by  ̃50% as shown in FIG. 4.
5. Increasing the Utilization through Operation Multiplexing
In the previous section, the concept of utilizing idle cells by relocating the operations was introduced to enhance the area efficiency of the multiplier by reducing the number of required cells by 50%. The same concept can be generalized for higher gain in terms of area and time.
As can be noted by comparing the operations in Tables 1 and 2, the digits in the second half of the operand words are relocated to reduce the number of cells. This involves supplying these digits twice, which is achieved by using a d/2 shift register. The same concept can be applied to the second half, i.e. splitting it into two halves and supplying the last half twice. Although this will not reduce the number of required cells, it will result in a better utilization of the multiplier cells, as shown in Table 3.







TABLE 3







The Result Accumulation in a Serial-Serial


Modular Multiplier after (d/2 cells)










Cycle
Result
Cell 0
Cell 1





0
R0*[0]
x0y0



1
R1*[0]
x0y1 + x1y0 + R0*[0]θ[0]
x1y1


2
R2*[0]
x0y2 + x2y0 + R0*[0]θ[1] +
x1y2 + x2y1 +




R1*[0]θ[0]
R1*[0]θ[1]


3
R3*[0]
x0y3 + x3y0 + R0*[0]θ[2] +
x1y3 + x3y1 +




R2*[0]θ[0]
R1*[0]θ[2] +





R2*[0]θ[1]


4
R4*[0]
x2y2 + R0*[0]θ[3] + R3*[0]θ[0]
R1*[0]θ[3] +





R3*[0]θ[1]


5
R4*[1]
x2y3 + x3y2 + R2*[0]θ[2]
 


6
R4*[2]
x3y3 + R2*[0]θ[3] + R3*[0]θ[2]


7
R4*[3]
R3*[0]θ[3]


8
R4*[4]
 









This can be repetitively applied until the last relocated half becomes only one digit. This requires some digits to be supplied more than once. This can be achieved by using a set of shift registers of different lengths at the inputs. Clearly, the maximum total size of these shift registers is d−1. Another way is to have some feedback connections on the d/2 shift register. Both solutions are shown in FIG. 5.
The idle cells that resulted from relocation are useful when multiplexing more than one operation on the same multiplier. This can be achieved by feeding the operands of the next operation from the other side to utilize the idle cells. Table 4 shows an example of multiplexing operations on a serial-serial multiplier.
There is a trade-off between the number of cells required to perform the multiplexing of operations and the level of multiplexing achieved. On one extreme, if the number of cells of the original multiplier is doubled, a fully concurrent operation can be achieved since the multiplier will perform like two separate multipliers with no cells in common. On the other extreme, if no cells are added, all cells will be common to both multipliers and the multiplexing will be minimal. Table 4 shows a compromise between the two extremes in which d/4 cells are added, i.e. the total number of cells becomes 3d/4. This results in d/4 cells overlapping and  ̃1.5 gain in the throughput.







TABLE 4







Multiplexing three multiplication operations on a serial-serial multiplier (3d/4 cells)













Cycle
Result
Cell 0 (mul1)
Cell 1 (common)
Cell 0 (mul2)
Result
Cycle





0
R0*[0]
x0y0






1
R1*[0]
x0y1 + x1y0 +
x1y1




R0*[0]θ[0]


2
R2*[0]
x0y2 + x2y0 +
x1y2 + x2y1 +




R0*[0]θ[1] + R1*[0]θ[0]
R1*[0]θ[1]


3
R3*[0]
x0y3 + x3y0 +
x1y3 + x3y1 +




R0*[0]θ[2] + R2*[0]θ[0]
R1*[0]θ[2] + R2*[0]θ[1]


4
R4*[0]
x2y2 + R0*[0]θ[3] + R3*[0]θ[0]
R1*[0]θ[3] + R3*[0]θ[1]


5
R4*[1]
x2y3 + x3y2 + R2*[0]θ[2]
 
x0y0
R0*[0]
0


6
R4*[2]
x3y3 + R2*[0]θ[3] + R3*[0]θ[2]
x1y1
x0y1 + x1y0 +
R1*[0]
1






R0*[0]θ[0]


7
R4*[3]
R3*[0]θ[3]
x1y2 + x2y1 +
x0y2 + x2y0 +
R2*[0]
2





R1*[0]θ[1]
R0*[0]θ[1] + R1*[0]θ[0]


8
R4*[4]
 
x1y3 + x3y1 +
x0y3 + x3y0 +
R3*[0]
3





R1*[0]θ[2] + R2*[0]θ[1]
R0*[0]θ[2] + R2*[0]θ[0]





R1*[0]θ[3] + R3*[0]θ[1]
x2y2 + R0*[0]θ[3] + R3*[0]θ[0]
R4*[0]
4


0
R0*[0]
x0y0
 
x2y3 + x3y2 +
R4*[1]
5






R2*[0]θ[2]


1
R1*[0]
x0y1 + x1y0 +
x1y1
x3y3 +
R4*[2]
6




R0*[0]θ[0]

R2*[0]θ[3] + R3*[0]θ[2]


2
R2*[0]
x0y2 + x2y0 +
x1y2 + x2y1 +
R3*[0]θ[3]
R4*[3]
7




R0*[0]θ[1] + R1*[0]θ[0]
R1*[0]θ[1]


3
R3*[0]
x0y3 + x3y0 +
x1y3 + x3y1 +
 
R4*[4]
8




R0*[0]θ[2] + R2*[0]θ[0]
R1*[0]θ[2] + R2*[0]θ[1]


4
R4*[0]
x2y2 + R0*[0]θ[3] + R3*[0]θ[0]
R1*[0]θ[3] + R3*[0]θ[1]


5
R4*[1]
x2y3 + x3y2 +
 




R2*[0]θ[2]


6
R4*[2]
x3y3 + R2*[0]θ[3] + R3*[0]θ[2]


7
R4*[3]
R3*[0]θ[3]


8
R4*[4]
 









6. A Systolic Implementation of GF(p) Multiplier
One possible improvement and another embodiment for equation (31), is given in this section based on the application of the techniques of systolic arrays.
It is possible to make the design systolic by transforming each other delay to the broadcast lines. Then, each cell of the systolic array will encapsulate two multiplier cells. The adders of these two cells can be combined for more efficient operation. FIGS. 6 and 7 show the resulting structure and cell, respectively.
7. A Pipelined Implementation of GF(p) Multiplier
Another possible improvement of the structure is discussed in this section to increase the clock frequency through pipelining. Again, this is another embodiment which is based on equation (31).
The existence of the parameter δR in equation (31) indicates the possibility of delaying the correction for a number of cycles, which can help in pipelining the multiplier. When δR=1, the maximum possible number of stages without breaking the dependency would be 2. By increasing the value of δR, the dependency is relaxed since Rg* needs only the correction of Rg−δR*. Hence, the number of possible pipeline stages will increase. FIG. 8 illustrates this for δR=4.
While pipelining the multiplier cell, the pipelining stages can be applied to either digit multipliers or the first two digit adders of the cell architecture. Pipelining can also be used to multiplex several multiplication operations on the same multiplier at the same time.
8. A Design Trade-off Between the Number of Digit Multipliers and the Multiplication Time
In this section, a variety of cell architectures are discussed which give different trade-offs between time and area (and hence power consumption). These obviously result in different embodiments which are based on equation (31).
There exists a design trade-off between the number of digit multipliers needed in each cell and the number of cycles needed to perform multiplication. Since the computation in each consists of four digit multiplications, the following relationship holds between the number of digit multipliers, D, that are available in each cell, and the number of cycles, c, needed to compute the four digit multipliers:

Dc=4   (39)

In addition to the difference in performance, different implementations have different hardware and power requirements. In particular, the less the number of digit multipliers used inside each cell, the less the needed bus width. For example, if only one digit multiplier is used, then only one digit-wide bus line will be enough to transfer all the required operands.
9. Multiplier Cell Realization
The digit multipliers and digit adders used in the cells of the structures described in the previous sections can be realized using any of the available technologies and algorithms to reduce time, hardware or power dissipation. This includes, but is not limited to, carry-save arithmetic, signed-digit arithmetic in addition to redundant arithmetic in general.
Each cell realization would effectively lead to a different embodiment of equation (31).
10. Scalable Finite Field Multipliers—Basic Equation
In this section, it is shown that all the structures based on equation (31) are scalable.
Noting that θ[−1]=R−1[0]=0, the summations in equation (24) can be partitioned into blocks as follows




  
    
      
        
          
            
              R
              =
              
              ⁢
              
                
                  μ
                  
                    
                      -
                      d
                    
                    -
                    
                      δ
                      R
                    
                  
                
                (
                
                  
                    
                      ∑
                      
                        i
                        =
                        0
                      
                      
                        d
                        +
                        δ
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        x
                        
                          i
                          -
                          
                            δ
                            X
                          
                        
                      
                      ⁢
                      
                        μ
                        
                          i
                          -
                          
                            δ
                            X
                          
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            j
                            =
                            0
                          
                          
                            d
                            +
                            δ
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            y
                            
                              j
                              -
                              
                                δ
                                Y
                              
                            
                          
                          ⁢
                          
                            μ
                            
                              j
                              -
                              
                                δ
                                Y
                              
                            
                          
                        
                      
                    
                  
                  +
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  ∑
                  
                    h
                    =
                    0
                  
                  
                    d
                    +
                    δ
                    -
                    1
                  
                
                ⁢
                
                  
                    θ
                    
                      [
                      
                        h
                        -
                        
                          δ
                          θ
                        
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    h
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        0
                      
                      
                        d
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        R
                        k
                        
                          [
                          0
                          ]
                        
                      
                      ⁢
                      
                        μ
                        k
                      
                    
                  
                
              
              )
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  μ
                  
                    
                      -
                      d
                    
                    -
                    
                      δ
                      R
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      φ
                      =
                      0
                    
                    
                      
                        
                          d
                          +
                          δ
                        
                        ɛ
                      
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        τ
                        =
                        0
                      
                      
                        
                          
                            d
                            +
                            δ
                          
                          ɛ
                        
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        μ
                        
                          
                            (
                            
                              φ
                              +
                              τ
                            
                            )
                          
                          ⁢
                          ɛ
                        
                      
                      (
                      
                        
                          ∑
                          
                            i
                            =
                            0
                          
                          
                            ɛ
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            x
                            
                              i
                              -
                              
                                δ
                                X
                              
                              +
                              φɛ
                            
                          
                          ⁢
                          
                            
                              μ
                              
                                i
                                -
                                
                                  δ
                                  X
                                
                              
                            
                            ·
                          
                        
                      
                    
                  
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    ∑
                    
                      j
                      =
                      0
                    
                    
                      ɛ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      y
                      
                        j
                        -
                        
                          δ
                          Y
                        
                        +
                        τɛ
                      
                    
                    ⁢
                    
                      μ
                      
                        j
                        -
                        
                          δ
                          Y
                        
                      
                    
                  
                
                +
                
                  
                    ∑
                    
                      h
                      =
                      0
                    
                    
                      ɛ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      θ
                      
                        [
                        
                          h
                          -
                          
                            δ
                            θ
                          
                          +
                          φɛ
                        
                        ]
                      
                    
                    ⁢
                    
                      
                        μ
                        h
                      
                      ·
                      
                        
                          ∑
                          
                            k
                            =
                            
                              -
                              δ
                            
                          
                          
                            ɛ
                            -
                            δ
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            R
                            
                              k
                              +
                              τɛ
                            
                            
                              [
                              0
                              ]
                            
                          
                          ⁢
                          
                            μ
                            k
                          
                        
                      
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        40
        )
      
    
  




where ε represent the block size, while φ and τ are the indices to identify each multiplication block. The expression between parentheses in equation (40) is in fact the same as the expression in equations (23), which describes the whole multiplication operation. The summations signified by the outer summation's can be implemented in any way so long as the significance is taken into consideration. One possible implementation to implement the block in a serial-serial fashion, and the equation would look like:





  
    
      
        R
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
            
          
          ⁢
          
            
              ∑
              
                φ
                =
                0
              
              
                
                  
                    d
                    +
                    δ
                  
                  ɛ
                
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  τ
                  =
                  0
                
                
                  
                    
                      d
                      +
                      δ
                    
                    ɛ
                  
                  -
                  1
                
              
              ⁢
              
                
                  μ
                  
                    
                      (
                      
                        φ
                        +
                        τ
                      
                      )
                    
                    ⁢
                    ɛ
                  
                
                ⁡
                
                  (
                  
                    R
                    
                      ɛ
                      -
                      1
                    
                    
                      (
                      
                        φ
                        ,
                        τ
                      
                      )
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        41
        )
      
    
  




where





  
    
      
        
          R
          g
          
            (
            
              φ
              ,
              τ
            
            )
          
        
        =
        
          
            
              
                x
                
                  g
                  -
                  
                    δ
                    X
                  
                  +
                  φɛ
                
              
              ⁢
              
                y
                
                  g
                  -
                  
                    δ
                    Y
                  
                  +
                  τɛ
                
              
              ⁢
              
                μ
                
                  
                    2
                    ⁢
                    g
                  
                  -
                  
                    δ
                    X
                  
                  -
                  
                    δ
                    Y
                  
                
              
            
            +
            
              
                x
                
                  g
                  -
                  
                    δ
                    X
                  
                  +
                  φɛ
                
              
              ⁢
              
                μ
                
                  g
                  -
                  
                    δ
                    X
                  
                
              
              ⁢
              
                
                  ∑
                  
                    j
                    =
                    0
                  
                  
                    g
                    -
                    1
                  
                
                ⁢
                
                  
                    y
                    
                      j
                      -
                      
                        δ
                        Y
                      
                      +
                      τɛ
                    
                  
                  ⁢
                  
                    μ
                    
                      j
                      -
                      
                        δ
                        Y
                      
                    
                  
                
              
            
            +
            
              
                y
                
                  g
                  -
                  
                    δ
                    Y
                  
                  +
                  τɛ
                
              
              ⁢
              
                μ
                
                  g
                  -
                  
                    δ
                    Y
                  
                
              
              ⁢
              
                
                  ∑
                  
                    i
                    =
                    0
                  
                  
                    g
                    -
                    1
                  
                
                ⁢
                
                  
                    x
                    
                      i
                      -
                      
                        δ
                        X
                      
                      +
                      φɛ
                    
                  
                  ⁢
                  
                    μ
                    
                      i
                      -
                      
                        δ
                        X
                      
                    
                  
                
              
            
            +
            
              
                θ
                
                  [
                  
                    g
                    -
                    
                      δ
                      θ
                    
                    +
                    φɛ
                  
                  ]
                
              
              ⁢
              
                R
                
                  g
                  -
                  δ
                  +
                  τɛ
                
                
                  [
                  0
                  ]
                
              
              ⁢
              
                μ
                
                  
                    2
                    ⁢
                    g
                  
                  -
                  δ
                
              
            
            +
            
              
                θ
                
                  [
                  
                    g
                    -
                    
                      δ
                      θ
                    
                    +
                    φɛ
                  
                  ]
                
              
              ⁢
              
                μ
                g
              
              ⁢
              
                
                  ∑
                  
                    k
                    =
                    
                      -
                      δ
                    
                  
                  
                    g
                    -
                    1
                    -
                    δ
                  
                
                ⁢
                
                  
                    R
                    
                      k
                      +
                      τɛ
                    
                    
                      [
                      0
                      ]
                    
                  
                  ⁢
                  
                    μ
                    k
                  
                
              
            
            +
            
              
                R
                
                  g
                  -
                  δ
                  +
                  τɛ
                
                
                  [
                  0
                  ]
                
              
              ⁢
              
                μ
                
                  g
                  -
                  δ
                
              
              ⁢
              
                
                  ∑
                  
                    h
                    =
                    0
                  
                  
                    g
                    -
                    1
                  
                
                ⁢
                
                  
                    θ
                    
                      [
                      
                        h
                        -
                        
                          δ
                          θ
                        
                        +
                        φɛ
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    h
                  
                
              
            
            +
            
              
                μ
                
                  -
                  1
                
              
              ⁢
              
                R
                
                  g
                  -
                  1
                
                
                  (
                  
                    φ
                    ,
                    τ
                  
                  )
                
              
              ⁢
              
                
              
              ⁢
              for
              ⁢
              
                
              
              ⁢
              0
            
          
          ≤
          g
          ≤
          
            ɛ
            -
            1
          
        
      
    
    
      
        (
        42
        )
      
    
  




It should be noted that implementing the outer summations as a serial-serial accumulation is also novel. Equations (41) and (42) imply that the whole multiplication process can be defined as a set of multiplications of sub-words.
It should also be noted that while implementing a scalable finite field multiplier, it is possible to map the blocks to one or more block multipliers. The blocks can be evaluated and accumulated in any order provided that the accumulation mechanism takes care of the respective significance of the blocks. Also, the internal structure of each block multiplier is flexible itself, i.e. any multiplication algorithm can be used to implement the block multiplier, including serial-serial multiplication as already illustrated.
11. An Implementation of a Scalable Finite Field Multiplier
As an embodiment of equations (41) and (42), a scalable finite field multiplier consists of the following components: a memory, a serial-serial finite field multiplier and a digit-serial adder, as shown in FIG. 9. Operands, which can be of any size regardless of the multiplier size, are stored in the memory. To perform the field multiplication operation, operands are divided into sub-words that match the multiplier size. These sub-words are multiplied independently according to equation (42). Then, the results of these multiplications are accumulated according to equation (41) using the digit-serial adder. Furthermore, since a serial-serial multiplier and a digit-serial adder are used, data is transferred between all components one digit at a time. Hence, all buses are only one-digit wide.
This structure is particularly useful for situations where area is scarce, like on a smart card. For further reduction in area, and in order to support arbitrary precision requirements, the accumulation of partial result can be implemented in software.
12. Realizations of a GF(pm) Serial-Serial Multiplier
As indicated in section C-1, equation (31) is also applicable to GF(pm).
A GF(pm) serial-serial multiplier can be obtained using equation (31) by applying the same steps as done for GF(p). In fact, the cells of such multiplier will have the same structure as the abovementioned cells. The only difference will be in the arithmetic elements used in building the cell. In the case of GF(pm), all the arithmetic elements, i.e. digit multipliers and adders should be operating modulo-p. It is worth noting in this case that there are no carries from significance to the next due to module p operation, and hence the cell should be modified accordingly.
Moreover, any resultant serial-serial GF(pm) multiplier can be made systolic, pipelined and made scalable by the same methodology applied above for GF(p) multiplication.
13. Universal Architecture for Finite Field Multipliers
The multiplication architecture is the same for all fields as can be deduced from the above sections. The architecture of the basic cell is also the same for all fields. The difference is in the functionality of the basic arithmetic elements in the cell. By designing arithmetic elements that can support the arithmetic operations of different fields, a universal cell, and hence a universal multiplier, can be built.
14. A Most-to-Least Serial-Serial GF(pm) Multiplier
Another embodiment of the invention is given in this section based on most-to-least significant digit computation.
Most-to-least Multiplication can be achieved by correcting for the most-significant digit of the partial sum, rather than the least-significant one. The left of the operation is in essence very similar to the least-to-most finite field multiplication, as illustrated in equation (43).




  
    
      
        R
        =
        
          
            (
            
              
                
                  
                    
                      
                        ∑
                        
                          i
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          x
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              j
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              1
                            
                          
                          ⁢
                          
                            y
                            
                              d
                              +
                              
                                δ
                                Y
                              
                              -
                              j
                              -
                              1
                            
                          
                        
                      
                    
                    +
                  
                
              
              
                
                  
                    
                      ∑
                      
                        h
                        =
                        0
                      
                      
                        d
                        +
                        δ
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        θ
                        
                          [
                          
                            d
                            +
                            
                              δ
                              θ
                            
                            -
                            h
                            -
                            1
                          
                          ]
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          -
                          h
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            0
                          
                          
                            d
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            R
                            k
                            
                              [
                              k
                              ]
                            
                          
                          ⁢
                          
                            μ
                            k
                          
                        
                      
                    
                  
                
              
            
            )
          
          
            [
            
              0
              :
              
                d
                +
                δ
                -
                1
              
            
            ]
          
        
      
    
    
      
        (
        43
        )
      
    
  




where

θ=μδθmod G(α)   (44)

In particular, for GF(pm), since there is no carry propagation between digits, the serial-serial most-to-least implementation of a GF(pm) is straight forward based on the abovementioned least-to-most implementation. As a recurrence, most-to-least serial-serial field multiplication would look like:




  
    
      
        
          
            
              
                R
                
                  d
                  +
                  δ
                
              
              =
              
              ⁢
              
                
                  (
                  
                    
                      
                        ∑
                        
                          i
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          x
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              j
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              1
                            
                          
                          ⁢
                          
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                          
                        
                      
                    
                    +
                    
                      
                        ∑
                        
                          h
                          =
                          0
                        
                        
                          d
                          +
                          δ
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              
                                δ
                                θ
                              
                              -
                              h
                              -
                              1
                            
                            ]
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            -
                            h
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              0
                            
                            
                              d
                              -
                              1
                            
                          
                          ⁢
                          
                            
                              R
                              k
                              
                                [
                                k
                                ]
                              
                            
                            ⁢
                            
                              μ
                              k
                            
                          
                        
                      
                    
                  
                  )
                
                
                  [
                  
                    0
                    :
                    
                      d
                      +
                      δ
                      -
                      1
                    
                  
                  ]
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          
                            
                              x
                              
                                
                                  δ
                                  X
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              y
                              
                                
                                  δ
                                  Y
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              μ
                              
                                
                                  δ
                                  x
                                
                                +
                                
                                  δ
                                  y
                                
                                -
                                
                                  2
                                  ⁢
                                  δ
                                
                              
                            
                          
                          +
                          
                            
                              x
                              
                                
                                  δ
                                  X
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              μ
                              
                                
                                  δ
                                  X
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  j
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  y
                                  
                                    d
                                    +
                                    
                                      δ
                                      Y
                                    
                                    -
                                    j
                                    -
                                    1
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    d
                                    +
                                    
                                      δ
                                      Y
                                    
                                    -
                                    j
                                    -
                                    1
                                  
                                
                              
                            
                          
                          +
                        
                      
                    
                    
                      
                        
                          
                            
                              y
                              
                                
                                  δ
                                  Y
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              μ
                              
                                
                                  δ
                                  Y
                                
                                -
                                δ
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  i
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  x
                                  
                                    d
                                    +
                                    
                                      δ
                                      X
                                    
                                    -
                                    i
                                    -
                                    1
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    d
                                    +
                                    
                                      δ
                                      X
                                    
                                    -
                                    i
                                    -
                                    1
                                  
                                
                              
                            
                          
                          +
                          
                            
                              ∑
                              
                                i
                                =
                                0
                              
                              
                                d
                                +
                                δ
                                -
                                2
                              
                            
                            ⁢
                            
                              
                                x
                                
                                  d
                                  +
                                  
                                    δ
                                    X
                                  
                                  -
                                  i
                                  -
                                  1
                                
                              
                              ⁢
                              
                                μ
                                
                                  d
                                  +
                                  
                                    δ
                                    X
                                  
                                  -
                                  i
                                  -
                                  
                                    1
                                    ⁢
                                    
                                      
                                        ∑
                                        
                                          j
                                          =
                                          0
                                        
                                        
                                          d
                                          +
                                          δ
                                          -
                                          2
                                        
                                      
                                      ⁢
                                      
                                        
                                          y
                                          
                                            d
                                            +
                                            
                                              δ
                                              Y
                                            
                                            -
                                            j
                                            -
                                            1
                                          
                                        
                                        ⁢
                                        
                                          μ
                                          
                                            d
                                            +
                                            
                                              δ
                                              Y
                                            
                                            -
                                            j
                                            -
                                            1
                                          
                                        
                                      
                                    
                                  
                                  +
                                
                              
                            
                          
                        
                      
                    
                    
                      
                        
                          
                            
                              θ
                              
                                [
                                
                                  
                                    δ
                                    θ
                                  
                                  -
                                  δ
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                d
                                -
                                1
                              
                              
                                [
                                
                                  d
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                δ
                                -
                                1
                              
                            
                          
                          +
                          
                            
                              θ
                              
                                [
                                
                                  
                                    δ
                                    θ
                                  
                                  -
                                  δ
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                -
                                δ
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  k
                                  =
                                  0
                                
                                
                                  d
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  R
                                  k
                                  
                                    [
                                    k
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  k
                                
                              
                            
                          
                          +
                          
                            
                              R
                              
                                d
                                -
                                1
                              
                              
                                [
                                
                                  d
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  h
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  θ
                                  
                                    [
                                    
                                      d
                                      +
                                      
                                        δ
                                        θ
                                      
                                      -
                                      h
                                      -
                                      1
                                    
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    d
                                    -
                                    h
                                    -
                                    1
                                  
                                
                              
                            
                          
                          +
                        
                      
                    
                    
                      
                        
                          
                            ∑
                            
                              h
                              =
                              0
                            
                            
                              d
                              +
                              δ
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  h
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                h
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  k
                                  =
                                  0
                                
                                
                                  d
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  R
                                  k
                                  
                                    [
                                    k
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  k
                                
                              
                            
                          
                        
                      
                    
                  
                  )
                
                
                  [
                  
                    0
                    :
                    
                      d
                      +
                      δ
                      -
                      1
                    
                  
                  ]
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    x
                    
                      
                        δ
                        X
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    y
                    
                      
                        δ
                        Y
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    μ
                    
                      
                        δ
                        x
                      
                      +
                      
                        δ
                        Y
                      
                      -
                      
                        2
                        ⁢
                        δ
                      
                    
                  
                
                +
                
                  
                    x
                    
                      
                        δ
                        X
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    μ
                    
                      
                        δ
                        X
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        j
                        =
                        0
                      
                      
                        d
                        +
                        δ
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        y
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          j
                          -
                          1
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          j
                          -
                          1
                        
                      
                    
                  
                
                +
                
                  
                    y
                    
                      
                        δ
                        Y
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    μ
                    
                      
                        δ
                        Y
                      
                      -
                      δ
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        i
                        =
                        0
                      
                      
                        d
                        +
                        δ
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        x
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          i
                          -
                          1
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          i
                          -
                          1
                        
                      
                    
                  
                
                +
                
                  
                    θ
                    
                      [
                      
                        
                          δ
                          θ
                        
                        -
                        δ
                      
                      ]
                    
                  
                  ⁢
                  
                    R
                    
                      d
                      -
                      1
                    
                    
                      [
                      
                        d
                        -
                        1
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      -
                      δ
                      -
                      1
                    
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    ∑
                    
                      h
                      =
                      0
                    
                    
                      d
                      +
                      δ
                      -
                      2
                    
                  
                  ⁢
                  
                    
                      θ
                      
                        [
                        
                          d
                          +
                          
                            δ
                            θ
                          
                          -
                          h
                          -
                          1
                        
                        ]
                      
                    
                    ⁢
                    
                      μ
                      
                        d
                        -
                        h
                        -
                        1
                      
                    
                  
                
                +
                
                  μ
                  ⁢
                  
                    
                  
                  ⁢
                  
                    R
                    
                      d
                      +
                      δ
                      -
                      1
                    
                  
                  ⁢
                  
                    θ
                    
                      [
                      
                        
                          δ
                          θ
                        
                        -
                        δ
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      -
                      δ
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        0
                      
                      
                        d
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        R
                        k
                        
                          [
                          k
                          ]
                        
                      
                      ⁢
                      
                        μ
                        k
                      
                    
                  
                
                +
                
                  
                    R
                    
                      d
                      -
                      1
                    
                    
                      [
                      
                        d
                        -
                        1
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      -
                      1
                    
                  
                
              
            
          
        
      
    
    
      
        (
        45
        )
      
    
  




In general,




  
    
      
        
          
            
              
                R
                g
              
              =
              
              ⁢
              
                
                  (
                  
                    
                      
                        ∑
                        
                          i
                          =
                          0
                        
                        
                          g
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          x
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            i
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              j
                              =
                              0
                            
                            
                              g
                              -
                              1
                            
                          
                          ⁢
                          
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                          
                        
                      
                    
                    +
                    
                      
                        ∑
                        
                          h
                          =
                          0
                        
                        
                          g
                          -
                          1
                        
                      
                      ⁢
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              
                                δ
                                θ
                              
                              -
                              h
                              -
                              1
                            
                            ]
                          
                        
                        ⁢
                        
                          μ
                          
                            d
                            -
                            h
                            -
                            1
                          
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              0
                            
                            
                              g
                              -
                              δ
                              -
                              1
                            
                          
                          ⁢
                          
                            
                              R
                              k
                              
                                [
                                k
                                ]
                              
                            
                            ⁢
                            
                              μ
                              k
                            
                          
                        
                      
                    
                  
                  )
                
                
                  [
                  
                    0
                    :
                    
                      g
                      -
                      1
                    
                  
                  ]
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              μ
                              
                                
                                  2
                                  ⁢
                                  
                                    (
                                    
                                      d
                                      -
                                      g
                                    
                                    )
                                  
                                
                                +
                                
                                  δ
                                  X
                                
                                +
                                
                                  δ
                                  y
                                
                              
                            
                          
                          +
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  j
                                  =
                                  0
                                
                                
                                  g
                                  -
                                  2
                                
                              
                              ⁢
                              
                                y
                                
                                  d
                                  +
                                  
                                    δ
                                    Y
                                  
                                  -
                                  j
                                  -
                                  
                                    1
                                    ⁢
                                    
                                      μ
                                      
                                        d
                                        +
                                        
                                          δ
                                          Y
                                        
                                        -
                                        j
                                        -
                                        1
                                      
                                    
                                  
                                  +
                                
                              
                            
                          
                        
                      
                    
                    
                      
                        
                          
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  i
                                  =
                                  0
                                
                                
                                  g
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  x
                                  
                                    d
                                    +
                                    
                                      δ
                                      X
                                    
                                    -
                                    i
                                    -
                                    1
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    d
                                    +
                                    
                                      δ
                                      X
                                    
                                    -
                                    i
                                    -
                                    1
                                  
                                
                              
                            
                          
                          +
                          
                            
                              ∑
                              
                                i
                                =
                                0
                              
                              
                                g
                                -
                                2
                              
                            
                            ⁢
                            
                              
                                x
                                
                                  d
                                  +
                                  
                                    δ
                                    X
                                  
                                  -
                                  i
                                  -
                                  1
                                
                              
                              ⁢
                              
                                μ
                                
                                  d
                                  +
                                  
                                    δ
                                    X
                                  
                                  -
                                  i
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  ∑
                                  
                                    j
                                    =
                                    0
                                  
                                  
                                    g
                                    -
                                    2
                                  
                                
                                ⁢
                                
                                  
                                    y
                                    
                                      d
                                      +
                                      
                                        δ
                                        Y
                                      
                                      -
                                      j
                                      -
                                      1
                                    
                                  
                                  ⁢
                                  
                                    μ
                                    
                                      d
                                      +
                                      
                                        δ
                                        Y
                                      
                                      -
                                      j
                                      -
                                      1
                                    
                                  
                                
                              
                            
                          
                          +
                        
                      
                    
                    
                      
                        
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                δ
                                -
                                1
                              
                            
                          
                          +
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                g
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  k
                                  =
                                  0
                                
                                
                                  g
                                  -
                                  δ
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  R
                                  k
                                  
                                    [
                                    k
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  k
                                
                              
                            
                          
                          +
                          
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                g
                                -
                                δ
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  h
                                  =
                                  0
                                
                                
                                  g
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  θ
                                  
                                    [
                                    
                                      d
                                      +
                                      
                                        δ
                                        θ
                                      
                                      -
                                      h
                                      -
                                      1
                                    
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    d
                                    -
                                    h
                                    -
                                    1
                                  
                                
                              
                            
                          
                          +
                        
                      
                    
                    
                      
                        
                          
                            ∑
                            
                              h
                              =
                              0
                            
                            
                              g
                              -
                              2
                            
                          
                          ⁢
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  h
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              μ
                              
                                d
                                -
                                h
                                -
                                1
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  k
                                  =
                                  0
                                
                                
                                  g
                                  -
                                  δ
                                  -
                                  2
                                
                              
                              ⁢
                              
                                
                                  R
                                  k
                                  
                                    [
                                    k
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  k
                                
                              
                            
                          
                        
                      
                    
                  
                  )
                
                
                  [
                  
                    0
                    :
                    
                      g
                      -
                      1
                    
                  
                  ]
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    x
                    
                      d
                      +
                      
                        δ
                        X
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    y
                    
                      d
                      +
                      
                        δ
                        Y
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    μ
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            d
                            -
                            g
                          
                          )
                        
                      
                      +
                      
                        δ
                        X
                      
                      +
                      
                        δ
                        Y
                      
                    
                  
                
                +
                
                  
                    x
                    
                      d
                      +
                      
                        δ
                        X
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      +
                      
                        δ
                        X
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        j
                        =
                        0
                      
                      
                        g
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        y
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          j
                          -
                          1
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          j
                          -
                          1
                        
                      
                    
                  
                
                +
                
                  
                    y
                    
                      d
                      +
                      
                        δ
                        Y
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      +
                      
                        δ
                        Y
                      
                      -
                      g
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        i
                        =
                        0
                      
                      
                        g
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        x
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          i
                          -
                          1
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          i
                          -
                          1
                        
                      
                    
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    θ
                    
                      [
                      
                        d
                        +
                        
                          δ
                          θ
                        
                        -
                        g
                      
                      ]
                    
                  
                  ⁢
                  
                    R
                    
                      g
                      -
                      δ
                      -
                      1
                    
                    
                      [
                      
                        g
                        -
                        δ
                        -
                        1
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      -
                      δ
                      -
                      1
                    
                  
                
                +
                
                  
                    θ
                    
                      [
                      
                        d
                        +
                        
                          δ
                          θ
                        
                        -
                        g
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      d
                      -
                      g
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        0
                      
                      
                        g
                        -
                        δ
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        R
                        k
                        
                          [
                          k
                          ]
                        
                      
                      ⁢
                      
                        μ
                        k
                      
                    
                  
                
                +
                
                  
                    R
                    
                      g
                      -
                      δ
                      -
                      1
                    
                    
                      [
                      
                        g
                        -
                        δ
                        -
                        1
                      
                      ]
                    
                  
                  ⁢
                  
                    μ
                    
                      g
                      -
                      δ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        h
                        =
                        0
                      
                      
                        g
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        θ
                        
                          [
                          
                            d
                            +
                            
                              δ
                              θ
                            
                            -
                            h
                            -
                            1
                          
                          ]
                        
                      
                      ⁢
                      
                        μ
                        
                          d
                          -
                          h
                          -
                          1
                        
                      
                    
                  
                
                +
                
                  μ
                  ⁢
                  
                    
                  
                  ⁢
                  
                    R
                    
                      g
                      -
                      1
                    
                  
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  where
                  ⁢
                  
                    
                  
                  ⁢
                  0
                
                ≤
                g
                ≤
                
                  d
                  +
                  δ
                
              
            
          
        
      
    
    
      
        (
        46
        )
      
    
  




15. A Generalized Bi-Directional Equation for Serial-Serial Field Multiplication
The equations that describe serial-serial field multiplication can be merged in one equation that can be interpreted in both directions, least-to-most and most-to-least. This can be achieved using a parameter ρ which indicates least-to-most when it is −1 and most-to-least when it is 1, as shown in equation (47).




  
    
      
        R
        =
        
          
            [
            
              
                μ
                
                  
                    
                      
                        δ
                        R
                      
                      +
                      d
                    
                    2
                  
                  ⁢
                  
                    (
                    
                      ρ
                      -
                      1
                    
                    )
                  
                
              
              ⁡
              
                (
                
                  
                    
                      
                        
                          
                            
                              
                                ∑
                                
                                  i
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  x
                                  
                                    
                                      ρ
                                      ⁡
                                      
                                        (
                                        
                                          
                                            
                                              d
                                              -
                                              1
                                            
                                            2
                                          
                                          +
                                          
                                            δ
                                            X
                                          
                                          -
                                          i
                                        
                                        )
                                      
                                    
                                    +
                                    
                                      
                                        d
                                        -
                                        1
                                      
                                      2
                                    
                                  
                                
                                ⁢
                                
                                  
                                    μ
                                    
                                      
                                        ρ
                                        ⁡
                                        
                                          (
                                          
                                            
                                              
                                                d
                                                -
                                                1
                                              
                                              2
                                            
                                            +
                                            
                                              δ
                                              X
                                            
                                            -
                                            i
                                          
                                          )
                                        
                                      
                                      +
                                      
                                        
                                          d
                                          -
                                          1
                                        
                                        2
                                      
                                    
                                  
                                  ·
                                
                              
                            
                          
                        
                        
                          
                            
                              
                                
                                  ∑
                                  
                                    j
                                    =
                                    0
                                  
                                  
                                    d
                                    +
                                    δ
                                    -
                                    1
                                  
                                
                                ⁢
                                
                                  
                                    y
                                    
                                      
                                        ρ
                                        ⁡
                                        
                                          (
                                          
                                            
                                              
                                                d
                                                -
                                                1
                                              
                                              2
                                            
                                            +
                                            
                                              δ
                                              Y
                                            
                                            -
                                            j
                                          
                                          )
                                        
                                      
                                      +
                                      
                                        
                                          d
                                          -
                                          1
                                        
                                        2
                                      
                                    
                                  
                                  ⁢
                                  
                                    μ
                                    
                                      
                                        ρ
                                        ⁡
                                        
                                          (
                                          
                                            
                                              
                                                d
                                                -
                                                1
                                              
                                              2
                                            
                                            +
                                            
                                              δ
                                              Y
                                            
                                            -
                                            j
                                          
                                          )
                                        
                                      
                                      +
                                      
                                        
                                          d
                                          -
                                          1
                                        
                                        2
                                      
                                    
                                  
                                
                              
                              +
                            
                          
                        
                      
                    
                  
                  
                    
                      
                        
                          
                            
                              
                                ∑
                                
                                  h
                                  =
                                  0
                                
                                
                                  d
                                  +
                                  δ
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  θ
                                  
                                    
                                      ρ
                                      ⁡
                                      
                                        (
                                        
                                          
                                            
                                              d
                                              -
                                              1
                                            
                                            2
                                          
                                          +
                                          
                                            δ
                                            θ
                                          
                                          -
                                          h
                                        
                                        )
                                      
                                    
                                    +
                                    
                                      
                                        d
                                        -
                                        1
                                      
                                      2
                                    
                                  
                                
                                ⁢
                                
                                  μ
                                  
                                    
                                      ρ
                                      ⁡
                                      
                                        (
                                        
                                          
                                            
                                              d
                                              -
                                              1
                                            
                                            2
                                          
                                          -
                                          h
                                        
                                        )
                                      
                                    
                                    +
                                    
                                      
                                        d
                                        -
                                        1
                                      
                                      2
                                    
                                  
                                
                              
                            
                          
                        
                        
                          
                            
                              
                                ∑
                                
                                  k
                                  =
                                  0
                                
                                
                                  d
                                  -
                                  1
                                
                              
                              ⁢
                              
                                
                                  R
                                  k
                                  
                                    [
                                    
                                      
                                        k
                                        2
                                      
                                      ⁢
                                      
                                        (
                                        
                                          ρ
                                          +
                                          1
                                        
                                        )
                                      
                                    
                                    ]
                                  
                                
                                ⁢
                                
                                  μ
                                  k
                                
                              
                            
                          
                        
                      
                    
                  
                
                )
              
            
            ]
          
          
            [
            
              0
              :
              
                d
                +
                δ
                -
                1
              
            
            ]
          
        
      
    
    
      
        (
        47
        )
      
    
  




As a result, the same structure can be used to implement most-to-least computation or least-to-most computation.
16. Hybrid Most-to-Least and Least-to-Most Serial-Serial Field Multiplication
It is possible to mix the most-to-least and the least-to-most computation in one formulation when implementing a scalable field multiplication. This would result in the two multiplication algorithms meeting in the middle of the multiplication operation.
FIG. 10 illustrates the time-space mapping of the multiplication and reduction operations of finite field multiplication to achieve inherent serial-serial behavior. It shows the finite field multiplication operation of two operands X=x3x2x1x0 and Y=y3y2y1y0. The multiplication part of the finite field multiplication operation is shown by the hollow circles, while the reduction part is shown by the black circles. The thick lines show the time-space mapping by separating the operations performed in different time cycles. In each of the cycles, each column indicates the operations performed simultaneously on a single cell.
While the invention has been described in connection with its preferred embodiments, it should be recognized that changes and modifications made be made therein without departing from the scope of the appended claims.

## Claims

1. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver in which an operand multiplication and a field reduction are formulated as a serial-serial computation, wherein the formula for least-to-most significant digit first multiplication is:




  
    
      
        
          R
          g
          *
        
        =
        
          
            
              x
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              y
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              μ
              
                g
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              x
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  R
                  k
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




wherein the formula for most-to-least significant digit first multiplication is:




  
    
      
        
          R
          g
        
        =
        
          
            
              x
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              y
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      d
                      -
                      g
                    
                    )
                  
                
                +
                
                  δ
                  X
                
                +
                
                  δ
                  Y
                
              
            
          
          +
          
            
              x
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              μ
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  y
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
              
            
          
          +
          
            
              y
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              μ
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  x
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  R
                  k
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                g
                -
                δ
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      d
                      +
                      
                        δ
                        θ
                      
                      -
                      h
                      -
                      1
                    
                    ]
                  
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




wherein the formula for least-to-most significant digit first reduction is:




  
    
      
        
          R
          g
          *
        
        =
        
          
            W
            
              [
              g
              ]
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  R
                  k
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




wherein the formula for most-to-least significant digit first reduction is:




  
    
      
        
          R
          g
        
        =
        
          
            W
            
              [
              
                
                  2
                  ⁢
                  d
                
                +
                δ
                -
                g
              
              ]
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  R
                  k
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                g
                -
                δ
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      d
                      +
                      
                        δ
                        θ
                      
                      -
                      h
                      -
                      1
                    
                    ]
                  
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




wherein 0≦g≦d+δ, xi and yi are the ith digits of the input operands to be multiplied, θ[i] is the ith digit of the reduction polynomial, W is the 2d-digits quantity to be reduced and W[g] is the gth digit of W, and wherein the computation for d+δ+1≦g≦2d+δ is formulated in an identical fashion except that the resultant feedback digits are not fed back but used as the output of the structure.

2. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 1, wherein any input is fed serially one digit at a time and an output is obtained serially one digit at a time and wherein a digit can consist of one bit or a group of bits.

3. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 2, which is implemented either as a pure hardware unit, or as a program stored on a computer readable storage device and executed on a digital computer, or a combination of both.

4. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 3, which is optimized by exploiting different trade-offs that result from varying the digit size.

5. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 4, wherein the result of each digit multiplication is split into high- and low-significance digits, and wherein least-to-most significant digit first multiplication is implemented according to the formula:




  
    
      
        
          R
          g
          *
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              X
                            
                            -
                            
                              δ
                              R
                            
                          
                        
                        ⁢
                        
                          y
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              Y
                            
                            -
                            
                              δ
                              R
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        x
                        
                          g
                          +
                          δ
                          -
                          
                            δ
                            X
                          
                          -
                          
                            δ
                            R
                          
                        
                      
                      ⁢
                      
                        y
                        
                          g
                          +
                          δ
                          -
                          
                            δ
                            Y
                          
                          -
                          
                            δ
                            R
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  X
                                
                                -
                                
                                  δ
                                  R
                                
                              
                            
                            ⁢
                            
                              y
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                X
                              
                              -
                              
                                δ
                                R
                              
                            
                          
                          ⁢
                          
                            y
                            
                              j
                              -
                              
                                δ
                                Y
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                i
                                -
                                
                                  δ
                                  X
                                
                              
                            
                            ⁢
                            
                              y
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  Y
                                
                                -
                                
                                  δ
                                  R
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              i
                              -
                              
                                δ
                                X
                              
                            
                          
                          ⁢
                          
                            y
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                Y
                              
                              -
                              
                                δ
                                R
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                θ
                              
                              -
                              
                                δ
                                R
                              
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            
                              δ
                              R
                            
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              θ
                            
                            -
                            
                              δ
                              R
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          
                            δ
                            R
                          
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  g
                                  +
                                  δ
                                  -
                                  
                                    δ
                                    θ
                                  
                                  -
                                  
                                    δ
                                    R
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  θ
                                
                                -
                                
                                  δ
                                  R
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                
                  -
                  
                    δ
                    R
                  
                
                ⁢
                
                  
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  h
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                
                                  δ
                                  R
                                
                              
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                h
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            
                              g
                              -
                              
                                δ
                                R
                              
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




wherein most-to-least significant digit first multiplication is implemented according to the formula:




  
    
      
        
          R
          g
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            g
                          
                        
                        ⁢
                        
                          y
                          
                            d
                            +
                            
                              δ
                              Y
                            
                            -
                            g
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        x
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          g
                        
                      
                      ⁢
                      
                        y
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          g
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      d
                      -
                      g
                    
                    )
                  
                
                +
                
                  δ
                  X
                
                +
                
                  δ
                  Y
                
              
            
          
          +
          
            
              μ
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              d
                              +
                              
                                δ
                                X
                              
                              -
                              g
                            
                          
                          ⁢
                          
                            y
                            
                              d
                              +
                              
                                δ
                                Y
                              
                              -
                              j
                              -
                              1
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
              
            
          
          +
          
            
          
          ⁢
          
            
              μ
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                i
                                -
                                1
                              
                            
                            ⁢
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                g
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              d
                              +
                              
                                δ
                                X
                              
                              -
                              i
                              -
                              1
                            
                          
                          ⁢
                          
                            y
                            
                              d
                              +
                              
                                δ
                                Y
                              
                              -
                              g
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
              
            
          
          +
          
            
          
          ⁢
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              
                                δ
                                θ
                              
                              -
                              g
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          
                            [
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                
                ⁢
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            d
                            +
                            
                              δ
                              θ
                            
                            -
                            g
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          δ
                          -
                          1
                        
                        
                          [
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          ]
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
          
          ⁢
          
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                  
                  ⁢
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                [
                                k
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                g
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              [
                              k
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
          
          ⁢
          
            
              μ
              
                
                  g
                  -
                  δ
                  -
                  1
                
                ⁢
                
                  
                
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  h
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                h
                                -
                                1
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            
                              [
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        6
        )
      
    
  




wherein least-to-most significant digit first reduction is implemented according to the formula:




  
    
      
        
          R
          g
          *
        
        =
        
          
            W
            
              [
              g
              ]
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                R
                              
                              -
                              
                                δ
                                θ
                              
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            
                              δ
                              R
                            
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              R
                            
                            -
                            
                              δ
                              θ
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          
                            δ
                            R
                          
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  g
                                  +
                                  δ
                                  -
                                  
                                    δ
                                    R
                                  
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  R
                                
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              R
                              
                                g
                                -
                                
                                  δ
                                  R
                                
                              
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                            ⁢
                            
                              θ
                              
                                [
                                
                                  h
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            R
                            
                              g
                              -
                              
                                δ
                                R
                              
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              
                                h
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              
                μ
                ⁢
                
                  
                
              
              
                -
                1
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




wherein most-to-least significant digit first reduction is implemented according to the formula:




  
    
      
        
          R
          g
          *
        
        =
        
          
            W
            
              [
              
                
                  2
                  ⁢
                  d
                
                +
                δ
                -
                g
              
              ]
            
          
          +
          
            
              (
              
                
                  
                    
                      ⌊
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              
                                δ
                                θ
                              
                              -
                              g
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          
                            [
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            ]
                          
                        
                      
                      ⌋
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    ⌊
                    
                      
                        θ
                        
                          [
                          
                            d
                            +
                            
                              δ
                              θ
                            
                            -
                            g
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          δ
                          -
                          1
                        
                        
                          [
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          ]
                        
                      
                    
                    ⌋
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                [
                                k
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                g
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              [
                              k
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                g
                -
                δ
                -
                1
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  h
                                  -
                                  1
                                
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            R
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            
                              [
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              ]
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                h
                                -
                                1
                              
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




for 0≦g≦d+δ, wherein the computation for d+δ+1≦g≦2d+δ is formulated in an identical fashion except that the resultant feedback digits are not fed back but used as the output of the structure.

6. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 5, wherein the result is divided into digits that are obtained by accumulating digits of the same significance in the right-hand side of the equation, wherein least-to-most significant digit first multiplication is implemented according to the formula:




  
    
      
        
          
            ∑
            
              l
              =
              0
            
            
              g
              +
              1
            
          
          ⁢
          
            
          
          ⁢
          
            
              R
              g
              
                *
                
                  [
                  l
                  ]
                
              
            
            ⁢
            
              μ
              l
            
          
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              X
                            
                            -
                            
                              δ
                              R
                            
                          
                        
                        ⁢
                        
                          y
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              Y
                            
                            -
                            
                              δ
                              R
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        x
                        
                          g
                          +
                          δ
                          -
                          
                            δ
                            X
                          
                          -
                          
                            δ
                            R
                          
                        
                      
                      ⁢
                      
                        y
                        
                          g
                          +
                          δ
                          -
                          
                            δ
                            Y
                          
                          -
                          
                            δ
                            R
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  X
                                
                                -
                                
                                  δ
                                  R
                                
                              
                            
                            ⁢
                            
                              y
                              
                                j
                                -
                                
                                  δ
                                  Y
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                X
                              
                              -
                              
                                δ
                                R
                              
                            
                          
                          ⁢
                          
                            y
                            
                              j
                              -
                              
                                δ
                                Y
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                i
                                -
                                
                                  δ
                                  X
                                
                              
                            
                            ⁢
                            
                              y
                              
                                g
                                -
                                δ
                                -
                                
                                  δ
                                  Y
                                
                                -
                                
                                  δ
                                  R
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              i
                              -
                              
                                δ
                                X
                              
                            
                          
                          ⁢
                          
                            y
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                Y
                              
                              -
                              
                                δ
                                R
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                θ
                              
                              -
                              
                                δ
                                R
                              
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            
                              δ
                              R
                            
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              θ
                            
                            -
                            
                              δ
                              R
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          
                            δ
                            R
                          
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  g
                                  +
                                  δ
                                  -
                                  
                                    δ
                                    θ
                                  
                                  -
                                  
                                    δ
                                    R
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  θ
                                
                                -
                                
                                  δ
                                  R
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  h
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                
                                  δ
                                  R
                                
                              
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                h
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            
                              g
                              -
                              
                                δ
                                R
                              
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




wherein most-to-least significant digit first multiplication is implemented according to the formula:




  
    
      
        
          
            ∑
            
              l
              =
              0
            
            
              g
              +
              1
            
          
          ⁢
          
            
          
          ⁢
          
            
              R
              g
              
                [
                l
                ]
              
            
            ⁢
            
              μ
              l
            
          
        
        =
        
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          x
                          
                            d
                            +
                            
                              δ
                              X
                            
                            -
                            g
                          
                        
                        ⁢
                        
                          y
                          
                            d
                            +
                            
                              δ
                              Y
                            
                            -
                            g
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        x
                        
                          d
                          +
                          
                            δ
                            X
                          
                          -
                          g
                        
                      
                      ⁢
                      
                        y
                        
                          d
                          +
                          
                            δ
                            Y
                          
                          -
                          g
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      d
                      -
                      g
                    
                    )
                  
                
                +
                
                  δ
                  X
                
                +
                
                  δ
                  Y
                
              
            
          
          +
          
            
              μ
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                g
                              
                            
                            ⁢
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                j
                                -
                                1
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            x
                            
                              d
                              +
                              
                                δ
                                X
                              
                              -
                              g
                            
                          
                          ⁢
                          
                            y
                            
                              d
                              +
                              
                                δ
                                Y
                              
                              -
                              j
                              -
                              1
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
              
            
          
          +
          
            
          
          ⁢
          
            
              μ
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              x
                              
                                d
                                +
                                
                                  δ
                                  X
                                
                                -
                                i
                                -
                                1
                              
                            
                            ⁢
                            
                              y
                              
                                d
                                +
                                
                                  δ
                                  Y
                                
                                -
                                g
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      
                        
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                    
                    ⁢
                    
                      
                        [
                        
                          
                            x
                            
                              d
                              +
                              
                                δ
                                X
                              
                              -
                              i
                              -
                              1
                            
                          
                          ⁢
                          
                            y
                            
                              d
                              +
                              
                                δ
                                Y
                              
                              -
                              g
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
              
            
          
          +
          
            
          
          ⁢
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              d
                              +
                              
                                δ
                                θ
                              
                              -
                              g
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          
                            [
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            ]
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            d
                            +
                            
                              δ
                              θ
                            
                            -
                            g
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          δ
                          -
                          1
                        
                        
                          [
                          
                            g
                            -
                            δ
                            -
                            1
                          
                          ]
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                [
                                k
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                g
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              [
                              k
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                g
                -
                δ
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  h
                                  -
                                  1
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                d
                                +
                                
                                  δ
                                  θ
                                
                                -
                                h
                                -
                                1
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            
                              g
                              -
                              δ
                              -
                              1
                            
                            
                              [
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




wherein least-to-most significant digit first reduction is implemented according to the formula:




  
    
      
        
          
            ∑
            
              l
              =
              0
            
            
              g
              +
              1
            
          
          ⁢
          
            
          
          ⁢
          
            
              R
              g
              
                *
                
                  [
                  l
                  ]
                
              
            
            ⁢
            
              μ
              l
            
          
        
        =
        
          
            W
            
              [
              g
              ]
            
          
          +
          
            
              (
              
                
                  
                    
                      [
                      
                        
                          θ
                          
                            [
                            
                              g
                              +
                              δ
                              -
                              
                                δ
                                R
                              
                              -
                              
                                δ
                                θ
                              
                            
                            ]
                          
                        
                        ⁢
                        
                          R
                          
                            g
                            -
                            
                              δ
                              R
                            
                          
                          
                            *
                            
                              [
                              0
                              ]
                            
                          
                        
                      
                      ]
                    
                    H
                  
                  ⁢
                  μ
                
                +
                
                  
                    [
                    
                      
                        θ
                        
                          [
                          
                            g
                            +
                            δ
                            -
                            
                              δ
                              R
                            
                            -
                            
                              δ
                              θ
                            
                          
                          ]
                        
                      
                      ⁢
                      
                        R
                        
                          g
                          -
                          
                            δ
                            R
                          
                        
                        
                          *
                          
                            [
                            0
                            ]
                          
                        
                      
                    
                    ]
                  
                  L
                
              
              )
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  g
                                  +
                                  δ
                                  -
                                  
                                    δ
                                    R
                                  
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              k
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            θ
                            
                              [
                              
                                g
                                +
                                δ
                                -
                                
                                  δ
                                  R
                                
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                          ⁢
                          
                            R
                            k
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  (
                  
                    
                      
                        
                          [
                          
                            
                              R
                              
                                g
                                -
                                
                                  δ
                                  R
                                
                              
                              
                                *
                                
                                  [
                                  0
                                  ]
                                
                              
                            
                            ⁢
                            
                              θ
                              
                                [
                                
                                  h
                                  -
                                  
                                    δ
                                    θ
                                  
                                
                                ]
                              
                            
                          
                          ]
                        
                        H
                      
                      ⁢
                      μ
                    
                    +
                    
                      
                        [
                        
                          
                            R
                            
                              g
                              -
                              
                                δ
                                R
                              
                            
                            
                              *
                              
                                [
                                0
                                ]
                              
                            
                          
                          ⁢
                          
                            θ
                            
                              [
                              
                                h
                                -
                                
                                  δ
                                  θ
                                
                              
                              ]
                            
                          
                        
                        ]
                      
                      L
                    
                  
                  )
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




wherein most-to-least significant digit first reduction is implemented according to the formula:




  
    
      
        
          
            
              
                
                  ∑
                  
                    l
                    =
                    0
                  
                  
                    g
                    +
                    1
                  
                
                ⁢
                
                  
                
                ⁢
                
                  
                    R
                    g
                    
                      [
                      l
                      ]
                    
                  
                  ⁢
                  
                    μ
                    l
                  
                
              
              =
              
                
                  W
                  
                    [
                    
                      
                        2
                        ⁢
                        d
                      
                      +
                      δ
                      -
                      g
                    
                    ]
                  
                
                +
                
                  
                    (
                    
                      
                        
                          
                            [
                            
                              
                                θ
                                
                                  [
                                  
                                    d
                                    +
                                    
                                      δ
                                      θ
                                    
                                    -
                                    g
                                  
                                  ]
                                
                              
                              ⁢
                              
                                R
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                
                                  [
                                  
                                    g
                                    -
                                    δ
                                    -
                                    1
                                  
                                  ]
                                
                              
                            
                            ]
                          
                          H
                        
                        ⁢
                        μ
                      
                      +
                      
                        
                          [
                          
                            
                              θ
                              
                                [
                                
                                  d
                                  +
                                  
                                    δ
                                    θ
                                  
                                  -
                                  g
                                
                                ]
                              
                            
                            ⁢
                            
                              R
                              
                                g
                                -
                                δ
                                -
                                1
                              
                              
                                [
                                
                                  g
                                  -
                                  δ
                                  -
                                  1
                                
                                ]
                              
                            
                          
                          ]
                        
                        L
                      
                    
                    )
                  
                  ⁢
                  
                    μ
                    
                      d
                      -
                      δ
                      -
                      1
                    
                  
                
                +
                
                  
                    μ
                    
                      d
                      -
                      g
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        0
                      
                      
                        g
                        -
                        δ
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        (
                        
                          
                            
                              
                                [
                                
                                  
                                    θ
                                    
                                      [
                                      
                                        d
                                        +
                                        
                                          δ
                                          θ
                                        
                                        -
                                        g
                                      
                                      ]
                                    
                                  
                                  ⁢
                                  
                                    R
                                    k
                                    
                                      [
                                      k
                                      ]
                                    
                                  
                                
                                ]
                              
                              H
                            
                            ⁢
                            μ
                          
                          +
                          
                            
                              [
                              
                                
                                  θ
                                  
                                    [
                                    
                                      d
                                      +
                                      
                                        δ
                                        θ
                                      
                                      -
                                      g
                                    
                                    ]
                                  
                                
                                ⁢
                                
                                  R
                                  k
                                  
                                    [
                                    k
                                    ]
                                  
                                
                              
                              ]
                            
                            L
                          
                        
                        )
                      
                      ⁢
                      
                        μ
                        k
                      
                    
                  
                
                +
                
                  
                    μ
                    
                      g
                      -
                      δ
                      -
                      1
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        h
                        =
                        0
                      
                      
                        g
                        -
                        2
                      
                    
                    ⁢
                    
                      
                        (
                        
                          
                            
                              
                                [
                                
                                  
                                    R
                                    
                                      g
                                      -
                                      δ
                                      -
                                      1
                                    
                                    
                                      [
                                      
                                        g
                                        -
                                        δ
                                        -
                                        1
                                      
                                      ]
                                    
                                  
                                  ⁢
                                  
                                    θ
                                    
                                      [
                                      
                                        d
                                        +
                                        
                                          δ
                                          θ
                                        
                                        -
                                        h
                                        -
                                        1
                                      
                                      ]
                                    
                                  
                                
                                ]
                              
                              H
                            
                            ⁢
                            μ
                          
                          +
                          
                            
                              [
                              
                                
                                  R
                                  
                                    g
                                    -
                                    δ
                                    -
                                    1
                                  
                                  
                                    [
                                    
                                      g
                                      -
                                      δ
                                      -
                                      1
                                    
                                    ]
                                  
                                
                                ⁢
                                
                                  θ
                                  
                                    [
                                    
                                      d
                                      +
                                      
                                        δ
                                        θ
                                      
                                      -
                                      h
                                      -
                                      1
                                    
                                    ]
                                  
                                
                              
                              ]
                            
                            L
                          
                        
                        )
                      
                      ⁢
                      
                        μ
                        
                          d
                          -
                          h
                          -
                          1
                        
                      
                    
                  
                
                +
                
                  μ
                  ⁢
                  
                    
                  
                  ⁢
                  
                    R
                    
                      g
                      -
                      1
                    
                  
                
              
            
          
          
            
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




for 0≦g≦d+δ, wherein the computation for d+δ+1≦g≦2d+δ is formulated in an identical fashion except that the resultant feedback digits are not fed back but used as the output of the structure.

7. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 6, which includes architecture for time-space mappings using d cells to multiply two d-digit numbers and reducing the number of required cells to d/2 without changing the internal design of the cell.

8. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 7, in which a universal cell is used to build a multiplier that performs field multiplication in different fields such as GF(p), GF(2m) and GF(pm).

9. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 8, which is implemented as a systolic array wherein the array consists of similar cells that are laid out in regular pattern with localized inter-cell communication.

10. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 9, which includes inserting pipelining registers to improve performance by increasing clock frequency, reducing power consumption, and/or ensure localized interconnections.

11. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 10, in which pipelining registers are used to multiplex more than one multiplication operation on the same structure.

12. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 11, in which two operations are performed simultaneously in opposite directions on the same serial-serial field multiplication structure.

13. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 12, wherein different trade-offs between time and area can be provided by allowing for changing the number of digit multipliers in any cell to reduce the area at the cost of increasing the execution time.

14. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 2, which is scalable, wherein least-to-most significant digit first multiplication/reduction is implemented according to the formula:




  
    
      
        R
        =
        
          
            μ
            
              
                -
                d
              
              -
              
                δ
                R
              
            
          
          ⁢
          
            
              ∑
              
                φ
                =
                0
              
              
                
                  
                    d
                    +
                    δ
                  
                  ɛ
                
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  τ
                  =
                  0
                
                
                  
                    
                      d
                      +
                      δ
                    
                    ɛ
                  
                  -
                  1
                
              
              ⁢
              
                
                  μ
                  
                    
                      (
                      
                        φ
                        +
                        τ
                      
                      )
                    
                    ⁢
                    ɛ
                  
                
                ⁡
                
                  (
                  
                    R
                    
                      ɛ
                      -
                      1
                    
                    
                      (
                      
                        φ
                        ,
                        τ
                      
                      )
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




wherein Rg(φ,τ), 0≦g≦ε−1, is given for multiplication by the following equation,




  
    
      
        
          R
          g
          
            (
            
              φ
              ,
              τ
            
            )
          
        
        =
        
          
            
              x
              
                g
                -
                
                  δ
                  X
                
                +
                φɛ
              
            
            ⁢
            
              y
              
                g
                -
                
                  δ
                  Y
                
                +
                τɛ
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  g
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
              
            
          
          +
          
            
              x
              
                g
                -
                
                  δ
                  X
                
                +
                φɛ
              
            
            ⁢
            
              μ
              
                g
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                    +
                    τɛ
                  
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                g
                -
                
                  δ
                  Y
                
                +
                τɛ
              
            
            ⁢
            
              μ
              
                g
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                    +
                    φɛ
                  
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  -
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  g
                
                -
                δ
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  -
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              μ
              g
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  
                    -
                    δ
                  
                
                
                  g
                  -
                  1
                  -
                  δ
                
              
              ⁢
              
                
                  R
                  
                    k
                    +
                    τɛ
                  
                  
                    [
                    0
                    ]
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                g
                -
                δ
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                      +
                      φɛ
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              
                (
                
                  φ
                  ,
                  τ
                
                )
              
            
          
        
      
    
    
      
        (
        14
        )
      
    
  




wherein Rg(φ,τ), 0≦g≦ε−1, is given for reduction by the following equation,




  
    R
    g
    
      (
      
        φ
        ,
        τ
      
      )
    
  
  =
  
    
      V
      
        [
        
          g
          +
          
            
              (
              
                τ
                +
                φ
              
              )
            
            ⁢
            ɛ
          
        
        ]
      
    
    +
    
      
        θ
        
          [
          
            g
            -
            
              δ
              θ
            
            +
            φɛ
          
          ]
        
      
      ⁢
      
        R
        
          g
          -
          δ
          +
          τɛ
        
        
          [
          0
          ]
        
      
      ⁢
      
        μ
        
          
            2
            ⁢
            g
          
          -
          δ
        
      
    
    +
    
      
        θ
        
          [
          
            g
            -
            
              δ
              θ
            
            +
            φɛ
          
          ]
        
      
      ⁢
      
        μ
        g
      
      ⁢
      
        
          ∑
          
            k
            =
            
              -
              δ
            
          
          
            g
            -
            1
            -
            δ
          
        
        ⁢
        
          
            R
            
              k
              +
              τɛ
            
            
              [
              0
              ]
            
          
          ⁢
          
            μ
            k
          
        
      
    
    +
    
      
        R
        
          g
          -
          δ
          +
          τɛ
        
        
          [
          0
          ]
        
      
      ⁢
      
        μ
        
          g
          -
          δ
        
      
      ⁢
      
        
          ∑
          
            h
            =
            0
          
          
            g
            -
            1
          
        
        ⁢
        
          
            θ
            
              [
              
                h
                -
                
                  δ
                  θ
                
                +
                φɛ
              
              ]
            
          
          ⁢
          
            μ
            h
          
        
      
    
    +
    
      
        μ
        
          -
          1
        
      
      ⁢
      
        
      
      ⁢
      
        R
        
          g
          -
          1
        
        
          (
          
            φ
            ,
            τ
          
          )
        
      
    
  




wherein most-to-least significant digit first multiplication/reduction is implemented according to the formula:




  
    
      
        R
        =
        
          
            ∑
            
              φ
              =
              0
            
            
              
                
                  d
                  +
                  δ
                
                ɛ
              
              -
              1
            
          
          ⁢
          
            
              ∑
              
                τ
                =
                0
              
              
                
                  
                    d
                    +
                    δ
                  
                  ɛ
                
                -
                1
              
            
            ⁢
            
              
                μ
                
                  
                    (
                    
                      φ
                      +
                      τ
                    
                    )
                  
                  ⁢
                  ɛ
                
              
              ⁡
              
                (
                
                  R
                  
                    ɛ
                    -
                    1
                  
                  
                    (
                    
                      φ
                      ,
                      τ
                    
                    )
                  
                
                )
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




wherein Rg(φ,τ), 0≦g≦ε−1, is given for multiplication by the following equation,




  
    
      
        
          R
          g
          
            (
            
              φ
              ,
              τ
            
            )
          
        
        =
        
          
            
              x
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  X
                
                +
                φɛ
              
            
            ⁢
            
              y
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  X
                
                +
                τɛ
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      ɛ
                      -
                      1
                      -
                      g
                    
                    )
                  
                
                +
                
                  δ
                  X
                
                +
                
                  δ
                  Y
                
              
            
          
          +
          
            
              x
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  X
                
                +
                φɛ
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  X
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  y
                  
                    ɛ
                    -
                    1
                    -
                    j
                    +
                    
                      δ
                      X
                    
                    +
                    τɛ
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    j
                    +
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  Y
                
                +
                τɛ
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
                +
                
                  δ
                  Y
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  x
                  
                    ɛ
                    -
                    1
                    -
                    i
                    +
                    
                      δ
                      x
                    
                    +
                    φɛ
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    i
                    +
                    
                      δ
                      x
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  ɛ
                  -
                  1
                  -
                  g
                  +
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              R
              
                ɛ
                -
                1
                -
                g
                +
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      ɛ
                      -
                      1
                      -
                      g
                    
                    )
                  
                
                +
                δ
              
            
          
          +
          
            
              θ
              
                [
                
                  ɛ
                  -
                  1
                  -
                  g
                  +
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  R
                  
                    ɛ
                    -
                    1
                    -
                    k
                    +
                    δ
                    +
                    τɛ
                  
                  
                    [
                    0
                    ]
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    k
                    +
                    δ
                  
                
              
            
          
          +
          
            
              R
              
                ɛ
                -
                1
                -
                g
                +
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
                +
                δ
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      ɛ
                      -
                      1
                      -
                      h
                      +
                      
                        δ
                        θ
                      
                      +
                      φɛ
                    
                    ]
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    h
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              
                (
                
                  φ
                  ,
                  τ
                
                )
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




wherein Rg(φ,τ), 0≦g≦ε−1, is given for reduction by the following equation,




  
    
      
        
          R
          g
          
            (
            
              φ
              ,
              τ
            
            )
          
        
        =
        
          
            V
            
              [
              
                ɛ
                -
                1
                -
                g
                +
                
                  
                    (
                    
                      τ
                      +
                      φ
                    
                    )
                  
                  ⁢
                  ɛ
                
              
              ]
            
          
          +
          
            
              θ
              
                [
                
                  ɛ
                  -
                  1
                  -
                  g
                  +
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              R
              
                ɛ
                -
                1
                -
                g
                +
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      ɛ
                      -
                      1
                      -
                      g
                    
                    )
                  
                
                +
                δ
              
            
          
          +
          
            
              θ
              
                [
                
                  ɛ
                  -
                  1
                  -
                  g
                  +
                  
                    δ
                    θ
                  
                  +
                  φɛ
                
                ]
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  R
                  
                    ɛ
                    -
                    1
                    -
                    k
                    +
                    δ
                    +
                    τɛ
                  
                  
                    [
                    0
                    ]
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    k
                    +
                    δ
                  
                
              
            
          
          +
          
            
              R
              
                ɛ
                -
                1
                -
                g
                +
                δ
                +
                τɛ
              
              
                [
                0
                ]
              
            
            ⁢
            
              μ
              
                ɛ
                -
                1
                -
                g
                +
                δ
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      ɛ
                      -
                      1
                      -
                      h
                      +
                      
                        δ
                        θ
                      
                      +
                      φɛ
                    
                    ]
                  
                
                ⁢
                
                  μ
                  
                    ɛ
                    -
                    1
                    -
                    h
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              
                (
                
                  φ
                  ,
                  τ
                
                )
              
            
          
        
      
    
    
      
        (
        17
        )
      
    
  




wherein ε represent the block size and φ and τ are the indices to identify a block, wherein V[i]=W[i] when it is used in calculations for the first time and V[i]=0 otherwise, where W[i] is the ith digit of the number to be reduced, W, and wherein the outer two summations can be implemented in any way as long as the significance is taken into consideration.

15. A finite field multiplication/reduction structure in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 14, wherein the outer summations are implemented as a serial-serial accumulation.

16. A method for finite field multiplication in which an operand multiplication and a field reduction are calculated as a serial-serial multiplication, wherein the formula for least-to-most significant first computation is:




  
    
      
        
          R
          g
          *
        
        =
        
          
            
              x
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              y
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              μ
              
                g
                +
                
                  2
                  ⁢
                  δ
                
                -
                
                  δ
                  X
                
                -
                
                  δ
                  Y
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              x
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  X
                
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  X
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  y
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
                ⁢
                
                  μ
                  
                    j
                    -
                    
                      δ
                      Y
                    
                  
                
              
            
          
          +
          
            
              y
              
                g
                +
                δ
                -
                
                  δ
                  R
                
                -
                
                  δ
                  Y
                
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  Y
                
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  x
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
                ⁢
                
                  μ
                  
                    i
                    -
                    
                      δ
                      X
                    
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                g
                +
                δ
                -
                
                  δ
                  θ
                
                -
                
                  2
                  ⁢
                  
                    δ
                    R
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  
                    δ
                    θ
                  
                
                ]
              
            
            ⁢
            
              μ
              
                δ
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  R
                  k
                  
                    *
                    
                      [
                      0
                      ]
                    
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                
                  δ
                  R
                
              
              
                *
                
                  [
                  0
                  ]
                
              
            
            ⁢
            
              μ
              
                -
                
                  δ
                  R
                
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  +
                  δ
                  -
                  
                    δ
                    R
                  
                  -
                  1
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      h
                      -
                      
                        δ
                        θ
                      
                    
                    ]
                  
                
                ⁢
                
                  μ
                  h
                
              
            
          
          +
          
            
              μ
              
                -
                1
              
            
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
              *
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




and wherein the formula for most-to-least significant first computation is:




  
    
      
        
          R
          g
        
        =
        
          
            
              x
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              y
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              μ
              
                
                  2
                  ⁢
                  
                    (
                    
                      d
                      -
                      g
                    
                    )
                  
                
                +
                
                  δ
                  X
                
                +
                
                  δ
                  Y
                
              
            
          
          +
          
            
              x
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              μ
              
                d
                +
                
                  δ
                  X
                
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  j
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  y
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      Y
                    
                    -
                    j
                    -
                    1
                  
                
              
            
          
          +
          
            
              y
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              μ
              
                d
                +
                
                  δ
                  Y
                
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  x
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
                ⁢
                
                  μ
                  
                    d
                    +
                    
                      δ
                      X
                    
                    -
                    i
                    -
                    1
                  
                
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                δ
                -
                1
              
            
          
          +
          
            
              θ
              
                [
                
                  d
                  +
                  
                    δ
                    θ
                  
                  -
                  g
                
                ]
              
            
            ⁢
            
              μ
              
                d
                -
                g
              
            
            ⁢
            
              
                ∑
                
                  k
                  =
                  0
                
                
                  g
                  -
                  δ
                  -
                  2
                
              
              ⁢
              
                
                  R
                  k
                  
                    [
                    k
                    ]
                  
                
                ⁢
                
                  μ
                  k
                
              
            
          
          +
          
            
              R
              
                g
                -
                δ
                -
                1
              
              
                [
                
                  g
                  -
                  δ
                  -
                  1
                
                ]
              
            
            ⁢
            
              μ
              
                g
                -
                δ
                -
                1
              
            
            ⁢
            
              
                ∑
                
                  h
                  =
                  0
                
                
                  g
                  -
                  2
                
              
              ⁢
              
                
                  θ
                  
                    [
                    
                      d
                      +
                      
                        δ
                        θ
                      
                      -
                      h
                      -
                      1
                    
                    ]
                  
                
                ⁢
                
                  μ
                  
                    d
                    -
                    h
                    -
                    1
                  
                
              
            
          
          +
          
            μ
            ⁢
            
              
            
            ⁢
            
              R
              
                g
                -
                1
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver.

17. A finite field multiplication structure for use in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 16, which is implemented either as a pure hardware unit, as a program stored on a computer readable storage device and executed on a digital computer, or as a combination of both.

18. A finite field multiplication structure for use in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 17, wherein an operand multiplication and a field reduction are performed using two serial-serial multiplication structures.

19. A finite field multiplication structure for use in an XZ Elliptic curve cryptographic system for communicating securely over an insecure communication channel of the type which communicates a message from a transmitter to a receiver according to claim 17, wherein the computation of an operand multiplication and the computation of a field reduction are multiplexed or interleaved on a single serial-serial multiplication structure.