US20020057796A1 - Method for accelerating cryptographic operations on elliptic curves - Google Patents

Method for accelerating cryptographic operations on elliptic curves Download PDF

Info

Publication number
US20020057796A1
US20020057796A1 US09/931,013 US93101301A US2002057796A1 US 20020057796 A1 US20020057796 A1 US 20020057796A1 US 93101301 A US93101301 A US 93101301A US 2002057796 A1 US2002057796 A1 US 2002057796A1
Authority
US
United States
Prior art keywords
point
representation
components
elliptic curve
scalar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US09/931,013
Inventor
Robert Lambert
Robert Gallant
Scott Vanstone
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Certicom Corp
Malikie Innovations Ltd
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CA002257008A external-priority patent/CA2257008C/en
Application filed by Individual filed Critical Individual
Priority to US09/931,013 priority Critical patent/US20020057796A1/en
Assigned to CERTICOM CORP. reassignment CERTICOM CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GALLANT, ROBERT, LAMBERT, ROBERT J., VANSTONE, SCOTT A.
Publication of US20020057796A1 publication Critical patent/US20020057796A1/en
Priority to US11/095,542 priority patent/US7995752B2/en
Assigned to MALIKIE INNOVATIONS LIMITED reassignment MALIKIE INNOVATIONS LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BLACKBERRY LIMITED
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
    • G06F7/72Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic
    • G06F7/724Finite field arithmetic
    • G06F7/725Finite field arithmetic over elliptic curves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves
    • H04L9/3073Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing

Definitions

  • This invention relates to a method for performing computations in cryptographic systems utilizing elliptic curves.
  • a public-key data communication system may be used to transfer information between a pair of correspondents. At least part of the information exchanged is enciphered by a predetermined mathematical operation by the sender and the recipient may perform a complementary mathematical operation to decipher the information.
  • Each correspondent has a private key and a public key that is mathematically related to the private key.
  • the relationship is such that it is not feasible to determine the private key from knowledge of the public key.
  • the keys are used in he transfer of data, either to encrypt data that is to be transferred or to attach a signature to allow verification of the authenticity of the data.
  • a common key may also be generated by combining one parties public key with the other parties private key. It is usual in such cases to generate new private and corresponding public keys for each communication session, usually referred to as session keys or ephemeral keys, to avoid the long-term keys of the parties being compromised.
  • the exchange of messages and generation of the public keys may therefore involve significant computation involving exponentiation when the cryptographic system utilizes in Z*p, the finite field of integers mod p where p is a prime or the analogous operation of point multiplication when the system utilizes an elliptic curve.
  • an ephemeral key pair is obtained by generating a secret integer, k and performing a point multiplication in the seed point Q to provide the ephemeral public key kQ.
  • the generation of a common ephemeral session key will require multiplication of a public key k a Q, which is a point on the curve, with a secret integer kb of the other correspondent so that point multiplication is again required.
  • a signature component s has the form:—
  • P is a point on the underlying curve which is a predefined parameter of the system
  • k is a random integer selected as a short term private or session key
  • a is the long term private key of the sender
  • e is a secure hash, such as the SHA-1 hash function, of a message m and the short term public key R;
  • n is the order of the curve.
  • ECC Elliptic curve cryptography
  • the present invention represents the scalar k as a combination of components k i and an integer ⁇ derived from an endomonphisim in the underlying curve.
  • the method is based on the observation that, given an elliptic curve (EC) having complex multiplication mapping over a finite field, there is an ⁇ , which is he solution to aquadratic, for which the complex multiplication mapping is equivalent to multiplying a point Q by ⁇ . It will often be less computationally expensive to compute ⁇ Q via the complex multiplication map, compared to treating ⁇ as a integer and performing the EC multiplication. In practice, point multiplication by other scalars (not just ⁇ ) is required. It is also shown how the multiplication mapping may be used to compute other multiples of the point.
  • EC elliptic curve
  • FIG. 1 is a schematic diagram of a communication system
  • FIG. 2 is a flow chart showing the steps of implementing a first embodiment of the present invention.
  • FIG. 3 is a flow chart showing the steps of providing parameters required to implement the method of FIG. 2.
  • a data communication system 10 includes a pair of correspondents, designated as a sender 12 , and a recipient 14 , connected by a communication channel 16 .
  • Each of the correspondents 12 , 14 includes a cryptographic processor 18 , 20 respectively that may process digital information and prepare it for transmission through the channel 16 as will be described below.
  • Each of the correspondents 12 , 14 also includes a computational unit 19 , 21 respectively to perform mathematical computations related to the cryptographic processors 18 , 20 .
  • the processors 18 , 20 maybe embodied in an integrated circuit incorporated in the processor or may be implemented as instructions encoded on a data carrier to implement a predetermined protocol in conjunction with a general purpose processor.
  • a general purpose processor For the purpose of illustration it will be assumed that the correspondent 12 is in the form of a smart card having a dedicated processor 18 with relatively limited computing power.
  • the processor 20 may be a central server communicating with the card by channel 16 and channel 16 may be a wireless communication channel if preferred.
  • the cryptographic processors 18 implement an elliptic curve cryptographic system, of ECC, and one of the functions of the cryptographic processor 18 is to perform point multiplications of the form k ⁇ Q, where k is an integer and Q a point on the underlying elliptic curve, so that they may be used as a key pair k, kQ in a cryptographic scheme.
  • cryptographic computations such as the multiplication of an elliptic curve point by a scalar value are computationally expensive.
  • FIG. 2 A method for accelerating scalar multiplication of an elliptic curve point Q(xy) is shown in FIG. 2 and indicated generally by the numeral 50 .
  • the subject algorithm increases the speed at which the processors 12 can for example sign and verify messages for specific classes of elliptic curves.
  • the method is based on the observation that given the general equation for an elliptic curve E:
  • FIG. 2 a flow chart of a general embodiment for accelerating point multiplication on an elliptic curve, is shown by numeral 50 .
  • the system parameters are first selected.
  • an underlying elliptic curve E is selected to have certain characteristics.
  • the generalized elliptic curve (1) may be expressed in the following form:
  • mapping function ⁇ (x,y) ⁇ ( ⁇ x, y), simply maps one set of points on the curve to another set of points on the curve.
  • ⁇ (Q) ⁇ Q for all points Q(x,y) of interest on the elliptic curve, E.
  • This integer ⁇ may be found by noting that ⁇ 3 ⁇ 1 mod n, where n is the number of points on the elliptic curve E over F p i.e. the number of points on E(F p ).
  • a seed point Q is selected and the system parameters E, p, Q, ⁇ , ⁇ (Q), and ⁇ are stored in the card 12 , as indicated at 52 , at manufacture time for use by the cryptographic processor 18 .
  • n is the number of points on E(F p ) and k 0 and k 1 are integers.
  • the point k ⁇ Q then becomes:
  • the value of k may be chosen at random and in these cases, rather than select k it is possible to select values for k 0 and k 1 at random, having a length of [log 2 (n)]/2 not including sign bits, (i.e. the length of the k 1 's are chosen to be at least one half the length k) and then calculate the value for k using equation (3).
  • the right side of equation (4) can be calculated quickly using an algorithm analogous to the “Simultaneous Multiple Exponentiation” as described in the “Handbook of Applied Cryptography” (HAC) by Menezes et.
  • Algorithm 1 Simultaneous Multiple Addition INPUT group elements g 0 , g 1 , ..., g l ⁇ 1 and non negative t-bit integers e 0 , e 1 , ..., e l ⁇ 1 .
  • OUTPUT g 0 e 0 + g 1 e 1 + ... + g l ⁇ 1 e l ⁇ 1 .
  • G I has to be determined and accordingly I l through I t have to be found as indicated at 60.
  • step three All the components needed to complete the algorithm are available and the iteration of step three is performed as shown at 62.
  • I i I 1 which from table 3 is equal to 1.
  • G I 1 is therefore G 1 which from table 2 is Q.
  • Each iteration requires a point doubling (A+A) and a point addition (A+G I 1 ) although in some cases the value of G I 1 may be 0 that will reduce the computation.
  • this method will require a number of point doubles equal to max ⁇ log 2 (k i ) ⁇ , and almost as many point additions.
  • the number of point additions can be reduced using windowing (Alg. 14.85 HAC) and exponent recoding techniques. Since the value of i and G i can be precomputed, the point additions are easily performed by retrieving the appropriate precomputed element G I from table 2. Once kP has been computed, it maybe used as the correspondents 12 ephemeral public key in encrypting or signing transmissions over the channel 16 .
  • mapping ⁇ ′ (x, y) ⁇ ( ⁇ x, ⁇ y). If (x,y) is on the curve, then ⁇ ′(x,y) is also on the curve. In this case ⁇ 4 ⁇ 1 mod n (n is still the number of points on E(F p )), and therefore ⁇ can be calculated.
  • the equation for k in this embodiment is the same as in the first embodiment and is represented by:
  • a i and b i are numbers smaller than n. It is preferable that a i and b i are as small as possible, however, the present method has advantages even when a i and b i are not minimal.
  • the pair, a i and b i where a i and b i are both small, can be viewed as a vector, u i with a smnall Euclidean length, Typically the method described below produces k 0 and k 1 having representations one half the size of the original k.
  • kQ can be computed efficiently by utilizing precomputed, short vector representations to obtain an expression of the form:
  • the next task is to find a small representation for the multiple k.
  • the appropriate z 0 and z 1 are calculated by converting the basis of v into the basis ⁇ u 0 , u 1 ⁇ .
  • the conversion between basis involves matrix multiplication.
  • the fractions f 0 and f 1 may be precomputed to enough precision so that this operation may be effected only with multiplication. It should be noted that the computations leading to these fractions do not depend upon k, therefore they can be computed once when the elliptic curve is chosen as a system parameter, and do not need to be recalculated for each k. Similarly the vectors v, u 0 and u 1 may be precomputed and stored.
  • Other vectors near to z will also be useful, therefore rounding could be replaced with floor or ceiling functions or some other approximation.
  • the value kQ is then calculated as v 0 ′Q+v 1 ′ ⁇ Q. This value can be calculated using simultaneous point addition as described above, with enhanced efficiency obtained from the use of non-adjacent form (NAF) recoding as described above and as described in H.A.C. 14.7 at page 627, Thus, even where k is predetermined, values of k 0 and k 1 can be computed and used with the mapping function to obtain a value of kQ and hus he key pair k, kQ.
  • NAF non-adjacent form
  • a small vector equivalent (three-dimensional row) can be obtained in a similar way to the two-dimensional case.
  • One particularly beneficial technique permits tables built for one component of the multiplication, say k 0 , to be reused for other components k 1 etc. This is accomplished by transforming the computed table elements by applying the mapping ⁇ as required.
  • the components ki may be recoded from the binary representation to the signed binary representation having less non-zero bits.
  • This recoding can take the Non-Adjacent-Form (NAF), where every 1 or ⁇ 1 bit in the representation if k i is non-adjacent to another non-zero in the signed binary string. This recoding is described in H.A.C. 14.7 p. 627.
  • a table can be constructed to aid in computing k i ⁇ i P.
  • a NAF windowing table precomputes certain short-bit length multiples of ⁇ i P.
  • the width of the window determines the size of the table. As k i has been recordedto have no adjacent non zeros, odd window widths are suitable.
  • a 3-bit wide NAF window would contain 1 101 10 ⁇ 1
  • the table built for the k 0 P calculation can be applied to the k, ⁇ P calculation if the table elements are mapped with the ⁇ mapping using the operator ⁇ .
  • k 2 ⁇ 2 P can be accelerated by using the table built for k 0 P, but mapping the table elements with ⁇ 2 .
  • a 3-bit window table on P is precomputed containing 1 ⁇ P, [10 ⁇ 1] ⁇ P, [101] ⁇ P. This requires two EC additions, and two EC doublings.
  • [0108] consist of m “short” basis vectors of the vector space Q n . It follows that to compute k ⁇ Q on such a curve we can proceed using the vectors b 1 ,b 2 . . . b m and the technique described previously.
  • the above methods are used to verify a digital signature on a message.
  • the value a is a long term private key of the sender, and e is a hash of the message m.
  • Algorithm 1 may be applied to compute a sum g 0 e 0 +g 1 e 1 of scalar multiples of two group elements go and go, where the scalars are s and ⁇ e and the group elements are P and Q.
  • a further improvement is obtained by using the NAF as above.
  • a 3-bit window table on P and a 3-bit window table on Q are precomputed containing 1 ⁇ P, [10 ⁇ 1] ⁇ P, [101] ⁇ P and 1 ⁇ Q, [10 ⁇ 1] ⁇ Q, [101] ⁇ Q respectively. This requires two EC additions, and two EC doublings for each table.
  • the signature is accepted as originating from the sender if the calculated value of kP is equal to the value of R received with the signature.
  • the windows need not be aligned and that shiting of the windows produces a double of the accumulator for each bit shift of the window.

Abstract

This invention provides a method for accelerating multiplication of an elliptic curve point Q(x,y) by a scalar k, the method comprising the steps of selecting an elliptic curve over a finite field Fq where q is a prime power such that there exists an endomorphism ψ, where ψ (Q)=λ−Q for all points Q(x,y) on the elliptic curve; and using smaller representations ki of the scalar k in combination with the mapping ψ to compute the scalar multiple of the elliptic curve point Q.

Description

  • This invention relates to a method for performing computations in cryptographic systems utilizing elliptic curves. [0001]
  • This application is a continuation-in-pat of U.S. patent application Ser. No. 09/885,959, filed on Jun. 22, 2001, which is a continuation of International Application No. PCT/CA99/01222, filed on Dec. 23, 1999, and claims the priority of Canadian Patent Application No. 2,257,008, filed on Dec. 24, 1998, the content of all of which is incorporated herein by reference.[0002]
  • BACKGROUND OF THE INVENTION
  • A public-key data communication system may be used to transfer information between a pair of correspondents. At least part of the information exchanged is enciphered by a predetermined mathematical operation by the sender and the recipient may perform a complementary mathematical operation to decipher the information. [0003]
  • Each correspondent has a private key and a public key that is mathematically related to the private key. The relationship is such that it is not feasible to determine the private key from knowledge of the public key. The keys are used in he transfer of data, either to encrypt data that is to be transferred or to attach a signature to allow verification of the authenticity of the data. [0004]
  • For encryption, one correspondent uses the public key of the recipient to encrypt the message and sends it to the recipient. The recipient then uses her private key to decipher the message. [0005]
  • A common key may also be generated by combining one parties public key with the other parties private key. It is usual in such cases to generate new private and corresponding public keys for each communication session, usually referred to as session keys or ephemeral keys, to avoid the long-term keys of the parties being compromised. [0006]
  • The exchange of messages and generation of the public keys may therefore involve significant computation involving exponentiation when the cryptographic system utilizes in Z*p, the finite field of integers mod p where p is a prime or the analogous operation of point multiplication when the system utilizes an elliptic curve. In an elliptic curve system, an ephemeral key pair is obtained by generating a secret integer, k and performing a point multiplication in the seed point Q to provide the ephemeral public key kQ. Similarly, the generation of a common ephemeral session key will require multiplication of a public key k[0007] aQ, which is a point on the curve, with a secret integer kb of the other correspondent so that point multiplication is again required.
  • A similar procedure is used to sign a message except that the sender applies his private key to the message. This permits any recipient to recover and verify the message using the senders public key. [0008]
  • Various protocols exist for implementing such a scheme and some have been widely used. In each case, however, the sender is required to perform a computation to sign the information to be transferred and the receiver is required to perform a computation to verify the signed information. [0009]
  • In a typical implementation a signature component s has the form:—[0010]
  • s=ae+k (mod n)
  • where; in an elliptic curve crypto system, [0011]
  • P is a point on the underlying curve which is a predefined parameter of the system; [0012]
  • k is a random integer selected as a short term private or session key; [0013]
  • R=kP is the corresponding short term public key, [0014]
  • a is the long term private key of the sender; [0015]
  • Q=aP is the senders corresponding public key; [0016]
  • e is a secure hash, such as the SHA-1 hash function, of a message m and the short term public key R; and [0017]
  • n is the order of the curve. [0018]
  • The sender sends to the recipient a message including m, s, and R and the signature is verified by computing the value R[0019] 1=(sP−eQ) which should correspond to R. If the computed values correspond then the signature is verified.
  • In order to perform the verification it is necessary to compute the point multiplications to obtain sP and eQ, each of which is computationally complex. Where the recipient has adequate computing, power this does not present a particular problem but where the recipient has limted computing power, such as in a secure token or a “Smart card” application, the computations may introduce delays in the verification process. [0020]
  • Key generation and signature protocols may therefore be computationally intensive. As cryptography becomes more widely used there is an increasing demand to implement cryptographic systems that arm faster and that use limited computing power, such as may be found on a smart card or wireless device. [0021]
  • Elliptic curve cryptography (ECC) provides a solution to the computation issue. ECC permits reductions in key and certificate size that translates to smaller memory requirements, and significant cost savings. ECC can not only significantly reduce the cost, but also accelerate the deployment of smart cards in next-generation applications. Additionally, although the ECC algorithm allows for a reduction in key size, the same level of security as other algorithms with larger keys is maintained. [0022]
  • However, there is still a need to perform faster calculations on the keys so as to speed up the information transfer while maintaining a low cost of production of cryptographic devices. [0023]
  • Computing multiples of a point on an elliptic curve is one of the most frequent computations performed in elliptic curve cryptography, One method of speeding up such computations is to use tables of precomputed multiples of a point. This technique is more useful when a point is known beforehand. However, there are cases when multiples of previously unknown points are required (for example, in ECDSA verification). Thus there is a need for a system and method for facilitating point multiplications. [0024]
  • SUMMARY OF THE INVENTION
  • In general terms, the present invention represents the scalar k as a combination of components k[0025] i and an integer λ derived from an endomonphisim in the underlying curve.
  • The method is based on the observation that, given an elliptic curve (EC) having complex multiplication mapping over a finite field, there is an λ, which is he solution to aquadratic, for which the complex multiplication mapping is equivalent to multiplying a point Q by λ. It will often be less computationally expensive to compute λQ via the complex multiplication map, compared to treating λ as a integer and performing the EC multiplication. In practice, point multiplication by other scalars (not just λ) is required. It is also shown how the multiplication mapping may be used to compute other multiples of the point. [0026]
  • In accordance with this invention there is provided a method for accelerating multiplication of an elliptic curve point Q(xy) by a scalar k, the method comprising the steps of: selecting an elliptic curve over a finite field F such that there exists an endomorphismn ψ, where ψ(Q)=λ−Q for all points Q(xjy) on the elliptic curve; and using smaller representation k[0027] i of the scalar k in combination with the mapping ψ to compute the scalar multiple of the elliptic curve point Q.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • These and other features of the preferred embodiments of the invention will become more apparent in the following detailed description in which reference is made to the appended drawings wherein: [0028]
  • FIG. 1 is a schematic diagram of a communication system; [0029]
  • FIG. 2 is a flow chart showing the steps of implementing a first embodiment of the present invention. [0030]
  • FIG. 3 is a flow chart showing the steps of providing parameters required to implement the method of FIG. 2.[0031]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • For convenience in the following description, like numerals refer to like structures in the drawings. Referring to FIG. 1, a [0032] data communication system 10 includes a pair of correspondents, designated as a sender 12, and a recipient 14, connected by a communication channel 16. Each of the correspondents 12,14 includes a cryptographic processor 18,20 respectively that may process digital information and prepare it for transmission through the channel 16 as will be described below. Each of the correspondents 12,14 also includes a computational unit 19,21 respectively to perform mathematical computations related to the cryptographic processors 18,20. The processors 18,20 maybe embodied in an integrated circuit incorporated in the processor or may be implemented as instructions encoded on a data carrier to implement a predetermined protocol in conjunction with a general purpose processor. For the purpose of illustration it will be assumed that the correspondent 12 is in the form of a smart card having a dedicated processor 18 with relatively limited computing power. The processor 20 may be a central server communicating with the card by channel 16 and channel 16 may be a wireless communication channel if preferred.
  • The [0033] cryptographic processors 18 implement an elliptic curve cryptographic system, of ECC, and one of the functions of the cryptographic processor 18 is to perform point multiplications of the form k−Q, where k is an integer and Q a point on the underlying elliptic curve, so that they may be used as a key pair k, kQ in a cryptographic scheme. As noted above, cryptographic computations such as the multiplication of an elliptic curve point by a scalar value are computationally expensive.
  • A method for accelerating scalar multiplication of an elliptic curve point Q(xy) is shown in FIG. 2 and indicated generally by the numeral [0034] 50. The subject algorithm increases the speed at which the processors 12 can for example sign and verify messages for specific classes of elliptic curves. The method is based on the observation that given the general equation for an elliptic curve E:
  • y2+a1xy+a3y=x3+a2x2+a4x+a6  (1)
  • over a finite field, exemplified as F[0035] q (q is a prime power) and when there exists an endomorphism ψ, where ψ(Q)=λ−Q for all points Q(x,y) on the elliptic curve, then multiplication of the point Q by an integer k may be accelerated by utilizing combinations of smaller representations ki of k in combination with the mapping ψ. The mapping ψ also allows precomputation of group elements and combinations thereof, which maybe used in subsequent calculation of kQ.
  • Referring now to FIG. 2, a flow chart of a general embodiment for accelerating point multiplication on an elliptic curve, is shown by [0036] numeral 50. The system parameters are first selected. As an initial step an underlying elliptic curve E is selected to have certain characteristics. In a first embodiment of the invention the generalized elliptic curve (1) may be expressed in the following form:
  • E:y2=x3+b mod p; where p is a prime.  (2)
  • Firstly, the modulus p can be determined such that there is a number, γ where γ ∈ F[0037] p (Fp is the field of size p consisting of all integers mod p), and γ3≡1 mod p (a cube root of unity). If for example p=7, then γ=2, since 23 mod 7=1. Such a γ does not necessarily exist for all p, and therefore this must be taken into consideration when choosing the value of p. Typically, the chosen p should be at least 160 bits in length for adequate cryptographic strength.
  • After the curve E has been selected, a mapping function ψ is determined. The mapping function ψ: (x,y)→(γx, y), simply maps one set of points on the curve to another set of points on the curve. There exists an integer λ such that ψ(Q)=λ−Q for all points Q(x,y) of interest on the elliptic curve, E. This integer λ may be found by noting that λ[0038] 3≡1 mod n, where n is the number of points on the elliptic curve E over Fp i.e. the number of points on E(Fp). There may exist more than one solution for λ in λ3≡1 mod n, but only one of those solutions will satisfy the mapping function ψ. It is important to note that since λ3 mod p=1, both Q and ψ(Q) satisfy the equation for E. Therefore, instead of having to perform lengthy calculations to determine the results of multiplication by λ, it can be done very efficiently using the results of the mapping function so that multiplication by λ can be done very efficiently.
  • A seed point Q is selected and the system parameters E, p, Q, λ, ψ(Q), and γ are stored in the [0039] card 12, as indicated at 52, at manufacture time for use by the cryptographic processor 18. To implement a cryptographic procedure such as encryption, key agreement or signature it is necessary to select an integer k for use as an ephemeral private key k and generate a corresponding public key kQ.
  • The value of k may be expressed as:—[0040]
  • k=(k0+k1λ)mod n  (3)
  • where n is the number of points on E(F[0041] p) and k0 and k1 are integers. The point k−Q then becomes:
  • k−Q=(k0Q+k1λQ)mod n  (4)
  • For some cryptographic operations the value of k may be chosen at random and in these cases, rather than select k it is possible to select values for k[0042] 0 and k1 at random, having a length of [log2(n)]/2 not including sign bits, (i.e. the length of the k1's are chosen to be at least one half the length k) and then calculate the value for k using equation (3). Having selected the values of k0, k1 as indicated a 54 in FIG. 2, the right side of equation (4) can be calculated quickly using an algorithm analogous to the “Simultaneous Multiple Exponentiation” as described in the “Handbook of Applied Cryptography” (HAC) by Menezes et. al.(Algorithm 14.88) and indicated at 56. For convenience the algorithm is reproduced below. It may be noted that in an additive group exponentiation is analogous to addition, thus replacing the multiplication in the algorithm with addition, yields the following:
    Algorithm 1 Simultaneous Multiple Addition
    INPUT; group elements g0, g1, ..., gl−1 and non negative t-bit integers e0, e1, ..., el−1.
    OUTPUT: g0e0 + g1e1 + ... + gl−1el−1.
    step 1. Precomputation. For i from 0 to (2l − 1):
    Gi ← Σj=0 l−1gjij
    where i = (il−1 ... i0)2
    step2. A ← 0
    step3. For i from 1 to t do the following:
    A ← A + A,A ← A + Gi t
    step4. Return (A) where A = g0e0 + g1e1 + ... + gl−1el−1
  • Applying this algorithm to equation (4) it can be seen that there are two group elements, g[0043] 0, g1 namely Q and λQ, so that 1=2 and two integers e0, e1 namely k0k1. The algorithm permits precomputation of some of the values and initially Gi is precomputed. The results of precomputation of Gi with t=2 is shown in table 1.
    TABLE 1
    i 0 1 2 3
    Gi 0 g0 g1 g0 + g1
  • After performing a point addition to construct the point: Q+ψ(Q). It is possible to fill in table 1 with the computed elements to yield table 2. These elements may be pre-computed and stored in memory as shown at [0044] step 58 in FIG. 2.
    TABLE 2
    i 0 1 2 3
    Gi 0 Q ψ(Q) Q + ψ(Q)
  • Before step of the algorithm can be performed, G[0045] I, has to be determined and accordingly Il through It have to be found as indicated at 60. A notional matrix or combing table may be constructed using the binary representation of ki. If, for example, k0=30 and k1=10, then t has the value five since the maximum number of bits in the binary representation of k0 through k1 is five and the notional matrix constructed from their binary representation is shown in Table 3. Ii is determined by the number represented in the ith column where the first row contains the least significant bit, the second row contains the next significant bit etc. Therefore it can be seen from table 3 that I1=I2(11)=3, I3=(01)=1, I4=3, and I5=0.
    TABLE 3
    i 1 2 3 4 5
    k 0 1 1 1 1 0
    k 1 0 1 0 1 0
    Ii 1 3 1 3 0
  • All the components needed to complete the algorithm are available and the iteration of step three is performed as shown at 62. [0046]
  • Initially A←O and i is set to 1. [0047]
  • I[0048] i=I1 which from table 3 is equal to 1. GI 1 is therefore G1 which from table 2 is Q. The value of A from the iteration for I=1 is therefore O+Q=Q.
  • For the next iteration where i=2 the initial value of A is Q so A←Q+Q=2Q I[0049] i=I2=3 from table 3. GI 2 therefore equates to G3 from table 2 which is Q+ψ(Q).
  • A+G[0050] I 1 therefore is computed as 2Q+Q+ψQ=3Q+ψQ.
  • The iterations continue for each value of i set out in table 4 until after the 5[0051] th iteration the value for koq=k, λQ, i.e. kQ is computed.
    TABLE 4
    i A
    1 Q
    2 3Q + ψ(Q) 
    3 7Q + 2ψ(Q)
    4 15Q + 5ψ(Q) 
    5 30Q + 10ψ(Q)
  • Each iteration requires a point doubling (A+A) and a point addition (A+G[0052] I 1 ) although in some cases the value of GI 1 may be 0 that will reduce the computation.
  • Thus it may be seen that this method will require a number of point doubles equal to max {log[0053] 2(ki)}, and almost as many point additions. The number of point additions can be reduced using windowing (Alg. 14.85 HAC) and exponent recoding techniques. Since the value of i and Gi can be precomputed, the point additions are easily performed by retrieving the appropriate precomputed element GI from table 2. Once kP has been computed, it maybe used as the correspondents 12 ephemeral public key in encrypting or signing transmissions over the channel 16.
  • To summarize, for cryptographic operations like encryption and Diffie-Hellman, signature, an integer k is required with a corresponding public key kQ, computed. The values k[0054] 0 and k1 are chosen at random, each having a length one half the length of n and the term kQ=k1λQ generated using a suitable algorithm. When the k's are chosen in this way, the method seems to be as secure as the random generation of k itself. Of course it is possible to choose the ki's to have fewer bits in order to improve efficiency.
  • In the above technique, the method of writing k=k[0055] 0+k1λ in conjunction with simultaneous combing achieves a speed up of the simultaneous multiple addition algorithm. The technique of writing k=k0+k1λ may also be used with the scalar multiplication techniques to advantage, namely with winding, combing ,etc.
  • For some mappings ψ, it is also possible to use more than two sub k's. It is possible for some ψ's to write k=k[0056] 0+1λ+k2λ2 allowing the value of k to be computed by applying the simultaneous multiple addition algorithm.
  • In a second embodiment of the invention a different form of the generalized elliptic curve equation (1) is used, namely:[0057]
  • y2=(x3−ax) mod p  (5)
  • Once again, p will be a prime number having at least 160 bits. For this type of curve, the properties required for γ are different. It is now required to find a value such that γ[0058] 2=−1 mod p. A change in the property of γ requires a different mapping function ψ′ to be used, In this embodiment the mapping takes the form ψ′: (x, y)→(−x, γy). If (x,y) is on the curve, then ψ′(x,y) is also on the curve. In this case λ4≡1 mod n (n is still the number of points on E(Fp)), and therefore λ can be calculated. The mapping ψ′(Q)=λ−Q is performed as before and once again multiplication by λ can be done very efficiently for this curve. The equation for k in this embodiment is the same as in the first embodiment and is represented by:
  • k=(k0+k1λ) mod n  (6)
  • This equation is the same as in the previous embodiment, having only two group elements. Thus using the group elements Q and Q+ψ′(Q) in the [0059] algorithm 1, the point k−Q may be calculated. This computation will require a number of point doubles equal to max {log2(ki)}, and a similar number of point additions. As described earlier the number of point additions can be reduced using windowing and exponent recoding techniques.
  • This method applies to other elliptic curves, so long as there exists an efficiently computable endomorphism, ψ. [0060]
  • The above embodiments assume that k can be chosen at random and therefore k[0061] 0 and k1 can be selected instead and determine k. For cryptographic protocols, where it is not possible to choose k, it is first necessary to find k0, k1 of the desired “short” form from the given value of k such that k=(k0+k1λ) mod n. In some cases, more than two k's can be used to advantage.
  • As may be seen in tie embodiments described above when a point is known beforehand, tables can be built to speed multiplication. However, there are cases when multiples of previously unlmown points are required (for example, this can occur in ECDSA verification) and it is then necessary to take the value of k as provided and then determine suitable representations for k[0062] i.
  • Thus in a third embodiment, system parameters and a value k is provided, the point Q, the required multiple k, and the complex multiplication multiple λ are known. It is necessary to determine the “short” k[0063] i's from the value for k, which is predetermined. A method for doing this described as follows and illustrated in the flow chart of FIG. 3. As a pre-computation (not requiring k) we compute two relations:
  • a0+b0λ≡0 mod n
  • a1+b1λ≡0 mod n
  • such that a[0064] i and bi are numbers smaller than n. It is preferable that ai and bi are as small as possible, however, the present method has advantages even when ai and bi are not minimal. The pair, ai and bi, where ai and bi are both small, can be viewed as a vector, ui with a smnall Euclidean length, Typically the method described below produces k0 and k1 having representations one half the size of the original k.
  • In the present embodiment, kQ can be computed efficiently by utilizing precomputed, short vector representations to obtain an expression of the form:[0065]
  • k0Q+λk1Q
  • This is accomplished by using precomputed vectors to derive fractions f[0066] 0 and f1 that do not require knowledge of k. A vector z is generated from the combination of fractions f0 and f1 and k. The vector z is used to calculate a second vector v′ where v′=(vo,v1) and the value of kQ calculated as
  • vo1Q+λv1 1Q  (8)
  • The method of achieving this solution is described below in greater detail. [0067]
  • To produce small a[0068] i and bi, it is possible to make use of the L3—lattice basis reduction algorithm (HAC p.118), which would directly result in short basis vectors. However, in this preferred embodiment the simple extended Euclidean algorithm is employed on the pair (n, λ). The extended Euclidean algorithm on (n, λ) produces linear combinations cin+diλ=ri, where the representation of ri (e.g. bit-length) decreases and the representation of ci and di increases with i.
  • The two smallest values of |(d[0069] i, ri)| resulting from using the extended Euclidean algorithm are saved. The size of these vectors are measured with the squared Euclidean norm |(di,)|=di 2+r1 2. The terms in these minimal relations are denoted {circumflex over (d)}0, {circumflex over (r)}0 and {circumflex over (d)}1, {circumflex over (r)}1. And will typically occur in the middle of the algorithm. Even if the minimal relations are not retained, suboptimal relations may still give the method an advantage in the calculation of point multiples.
  • The values of a[0070] i and bi are constructed by defining a0=−{circumflex over (r)} 0, b0={circumflex over (d)}0 and a1=−{circumflex over (r)}1, b1=d0 all of which may be precomputed. The next task is to find a small representation for the multiple k.
  • Given the computation of a[0071] 0,b0 and ai,bi it is possible to designate the vectors u0,u1, where u0=(a0, b0) and u1=(a1, b1). These vectors satisfy ai+biλ=0 (mod n). The multiplication of the group elements Q by the vector v=(v0, v1) is defined as (v0+v1λ)Q. Since ai+biλ0 (mod n), u0R=u1R=0 for any group element R. Hence for any integers z0 and z1, v′R=(v−z0u0−z1u1)R for any group element R.
  • Integers z[0072] 0 and z1 may be chosen such that the vector v′=v−z0u0−z1u1 has components that are as small as possible. Again, this method will have an advantage if the components of v′ are small, but not necessarily minimally so.
  • The appropriate z[0073] 0 and z1 are calculated by converting the basis of v into the basis {u0, u1}. The conversion between basis involves matrix multiplication. To convert the vector v=(v0, v1) from the {u0, u1} basis to the standard orthonormnal basis {(1,0),(0,1)}, v { ( 1 , 0 ) , ( 0 , 1 ) } = v ( u 0 , u 1 ) M = ( v 0 , v 1 ) [ a 0 b 0 a 1 b 1 ]
    Figure US20020057796A1-20020516-M00001
  • To convert in the other direction, from the standard orthonormal basis {(1,0),(0,1)} to the (u[0074] 0, u1) basis, the multiplication is simply by the inverse of M, v ( u 0 , u 1 ) = v { ( 1 , 0 ) , ( 0 , 1 ) } inverse ( M ) = v { ( 1 , 0 ) , ( 0 , 1 ) } 1 a 0 b 1 - a 1 b 0 [ b 1 - b 0 - a 1 a 0 ]
    Figure US20020057796A1-20020516-M00002
  • Since the vector v=k, 0) has a zero component, the bottom row of inverse(M) is not required, and therefore to convert to the {u[0075] 0, u1} basis only the fractions f 0 = b 1 a 0 b 1 - a 1 b 0 and f 1 = b 0 a 0 b 1 - a 1 b 0
    Figure US20020057796A1-20020516-M00003
  • are needed. [0076]
  • The fractions f[0077] 0 and f1 may be precomputed to enough precision so that this operation may be effected only with multiplication. It should be noted that the computations leading to these fractions do not depend upon k, therefore they can be computed once when the elliptic curve is chosen as a system parameter, and do not need to be recalculated for each k. Similarly the vectors v, u0 and u1 may be precomputed and stored.
  • Once a value of k is selected or determined the value of kQ may be computed by first calculating z=(z[0078] 0, z1), where z is defined as (z0, z1)=(round(kf0), round(kf1)). Other vectors near to z will also be useful, therefore rounding could be replaced with floor or ceiling functions or some other approximation.
  • Once a suitable z has been deteried, an efficient equivalent to v (k,0) is calculated by v′=(v[0079] 0′, v1′)=v−z0u0−z1u1. The phrase “efficient equivalent” implies a vector v′ such that v′P=vP and v′ has small coefficients. The value kQ is then calculated as v0′Q+v1′λQ. This value can be calculated using simultaneous point addition as described above, with enhanced efficiency obtained from the use of non-adjacent form (NAF) recoding as described above and as described in H.A.C. 14.7 at page 627, Thus, even where k is predetermined, values of k0 and k1 can be computed and used with the mapping function to obtain a value of kQ and hus he key pair k, kQ.
  • For the case where k is to be separated into 3 portions k=k[0080] 0+k1λ+k2λ2, small vectors can be obtained from L3-row-reducing [ 1 0 - λ 2 0 1 - λ 0 0 - n ] to [ u 2 u 1 u 0 ]
    Figure US20020057796A1-20020516-M00004
  • A small vector equivalent (three-dimensional row) can be obtained in a similar way to the two-dimensional case. [0081]
  • Using these methods to determine the value of k−Q greatly reduces the processing power required by the [0082] cryptographic processors 12. It also increases the speed at which these repetitive calculations can be done which, in turn, reduces the time to transfer information.
  • It will be appreciated that once the scalar multiple k has been represented in terms of shortened components k=k[0083] 0+k1λ+k2λ+. . . km-1λm-1, other options for efficient elliptic curve scalar multiplication may be used in place of or in conjunction with the simultaneous multiple addition algorithm. These options include windowing (fixed and sliding), combing, bit recoding and combinations of these techniques.
  • One particularly beneficial technique permits tables built for one component of the multiplication, say k[0084] 0, to be reused for other components k1 etc. This is accomplished by transforming the computed table elements by applying the mapping γ as required.
  • As a further exemplification, an embodiment where k can be recast as k=k[0085] 0+k1λ+k2λ2, where k has m-bits and ki have roughly m/3 bits is described below.
  • Once the components ki have been determined, they may be recoded from the binary representation to the signed binary representation having less non-zero bits. This recoding can take the Non-Adjacent-Form (NAF), where every 1 or −1 bit in the representation if k[0086] i is non-adjacent to another non-zero in the signed binary string. This recoding is described in H.A.C. 14.7 p. 627.
  • Once each k[0087] i has been recoded, a table can be constructed to aid in computing kiλiP.
  • A NAF windowing table precomputes certain short-bit length multiples of λ[0088] iP. The width of the window determines the size of the table. As ki has been recordedto have no adjacent non zeros, odd window widths are suitable. A 3-bit wide NAF window would contain
    1 101 10 − 1
  • The recoded k[0089] i values are built by concatenating these windows, and padding where necessary with zeros (H.A.C., p. 616).
  • The required number of additions can be reduced with use of this table, since it is necessary to add or subtract an EC point only for every window encountered instead of for every non zero bit. [0090]
  • Initially therefore this technique is applied to the computation of k[0091] 0P.
  • The table built for the k[0092] 0P calculation can be applied to the k,λP calculation if the table elements are mapped with the ψ mapping using the operator γ. Similarly, k2λ2P can be accelerated by using the table built for k0P, but mapping the table elements with γ2.
  • In applying the sliding window technique to the components, only one set of doublings need be performed. [0093]
  • To illustrate this example of a preferred embodiment the following example will be used:[0094]
  • If k=[1011010111101]2+[111010101101]2λ,
  • then recoding[0095]
  • k=[10−100−10−100−101]+[1000−10−10−10−101]λ, =k[0096] 0′=k1′λ
  • A 3-bit window table on P is precomputed containing 1·P, [10−1]·P, [101]·P. This requires two EC additions, and two EC doublings. [0097]
  • After this, kP can be calculated as[0098]
  • kP=[10−100−10−100−101]P+[1000−10−10−10−101]·λP
  • by adding/subtracting elements from the table. [0099]
  • This can be done using an accumulator A as follows: [0100]
    A ← 0 ; initialize
    A += ψ(1 · P) ; consuming the top bit of k0 r
    A ← 2A ; double A
    A ← 2A
    A ← [10 − 1] P ; consuming the top 3 bits of k0 r
    A ← 24A ;
    A −= [101]ψP ; consuming a 3 bit window of k1 r
    A ← 2A ; double A
    A −= [101]P ; consuming 3 bits of k1 r
    A ← 24A
    A −= [101]ψP ; consuming 3 bits of k1 r
    A ← 22A
    A −= [10 − 1]P ; consuming the last of k0 r
    A += ψP ; producing kP.
  • It will be recognized from the above example that the windows in k[0101] 0 and k1 need not be aligned. This is evidenced by the fact that the accumulator is doubled between computations of the windows in k0 and the computations of the windows in k1, indicating a shift of window between evaluating k0P and k1P.
  • In summary, the previously described technique is as follows. Given an elliptic curve E and an endomorphism ψ, there corresponds an integer λ such that λQ=ψ(Q) for all points Q∈E. Select an integer m and compute an equivalent number m of “short basis vectors” b[0102] 1, b2, . . . , bm . . . Each such basis vector corresponds to an integer, and each such integer is divisible by the number of points n=#E(Fp m) (i.e. the number of points). Now, given an integer k, (0<k<n), we write k=Σki·λ1, where the ki's are chosen to be “short”. This is done by finding the difference between a certain vector (which represents k) and a nearby vector in the lattice generated by b1, b2, . . . , bm.
  • The following embodiment explicitly describes an application of the previously described technique (endomorphism and basis conversion and “Shamir's trick”) to elliptic curves defined over composite fields. In particular, we describe an application to curves E(F[0103] p m) where p is an odd prime is described. The following embodiments exemplify techniques for such curves.
  • This technique is described in the case where the map ψ is the Frobenius map ψ(x,y)=(x[0104] p,yp) and E′A,B(Fp m) where A,B∈Fp.
  • In this case, it is known that the Frobenius map satisfies the ψ[0105] 2−tψ+p=0, where t=p+1−#E(Fp m).
  • It follows that λ[0106] 2−tλ+p=0 mod n and so λ2−I−pλi=0 mod n.
  • Note that the vectors; [0107]
    m-1 . . . λ2, λ1, λ0)
    b1 (0, 0, 0, . . . 0, 1, -t, p)
    b2 ( 1, -t, p, 0)
    (1, -t, p, 0, 0, . . . . . ., 0)
    (-t, p, 0, 0, . . . . . ., 0, 1)
    bm (p, 0, 0, 0, . . . 0, 1, -t)
  • consist of m “short” basis vectors of the vector space Q[0108] n. It follows that to compute k−Q on such a curve we can proceed using the vectors b1,b2. . . bm and the technique described previously.
  • In the above embodiments it will be appreciated that k,λQ can be obtained from ψ(kQ) is the mapping is more efficient than addition. [0109]
  • In a firther embodiment, the above methods are used to verify a digital signature on a message. A sender sends a message m, a signature component s, and a short term public key R=kP. As indicated above, in a typical digital signature protocol, the signature component s is generated using the formula s=ae+k. The value a is a long term private key of the sender, and e is a hash of the message m. [0110]
  • Verification requires computing the value sP=eQ which should correspond to R, where Q=aP is a long term public key of the sender. This is the case since k=s−ae. [0111]
  • Accordingly, [0112] Algorithm 1 may be applied to compute a sum g0e0+g1e1 of scalar multiples of two group elements go and go, where the scalars are s and −e and the group elements are P and Q. A further improvement is obtained by using the NAF as above.
  • For ease of explanation, the method will be illustrated for computing αP+βQ. In the preferred embodiment of verfying a signature, α=s and β=−e. [0113]
  • In this case, it may no longer be possible to reuse tables built for one component of the multiplication for other components, unless the relationship between the points P and Q is known to the verifier. Usually, the verifier knows P and Q, but not the scalar a that related P and Q (i.e. Q=aP). In this case, it is necessary to use a table for each of P and Q. Then a sliding window method may be used by adding/subtracting elements from the tables. [0114]
  • The following example illustrates this embodiment:[0115]
  • If α=[101101011101]2 and β=[111010101101]2,
  • then k=[1011010111]2+[111010101101]2 a,
  • and recoding α=[10−100−10−100−101]2 and β=[1000−10−10−10−101]2,
  • A 3-bit window table on P and a 3-bit window table on Q are precomputed containing 1·P, [10−1]·P, [101]·P and 1·Q, [10−1]·Q, [101]·Q respectively. This requires two EC additions, and two EC doublings for each table. [0116]
  • After this, kP can be calculated as[0117]
  • kP=αP+βQ=[10-100-10-100-101]P +[1000-10-10-10-101]·Q
  • by adding/subtracting elements from the tables. [0118]
  • This can be done using an accumulator A as follows: [0119]
    A ← 0 ; initialize
    A += 1 · Q ; consuming the top bit of β
    A ← 2A ; double A
    A ← 2A
    A += [10 − 1]P ; consuming the top 3 bits of α
    A ← 24A ;
    A −= [101]Q ; consuming a 3 bit window of β
    A ← 2A ; double A
    A −= [101]P ; consuming 3 bits of β
    A ← 24A
    A −= [101]Q ; consuming 3 bits of β
    A ← 22A
    A −= [10 − 1]P ; consuming the last of α
    A += Q ; producing kP.
  • The signature is accepted as originating from the sender if the calculated value of kP is equal to the value of R received with the signature. [0120]
  • Again, it will be appreciated that the windows need not be aligned and that shiting of the windows produces a double of the accumulator for each bit shift of the window. [0121]
  • Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto. [0122]

Claims (16)

We claim:
1. A method for multiplying an elliptic curve point Q(x,y) by a scalar to provide a point kQ, the method comprising the steps of:
a) selecting an elliptic curve over a finite field F such that there exists an endomorphism ψ where ψ(Q)=λ·Q for all points Q(x,y) on the elliptic curve, and λ is an integer,
b) establishing a representation of said scalar k as a combination of components ki and said integer λ
c) combining said representation and said point Q to form a composite representation of a multiple corresponding to kQ and
d) computing a value corresponding to said point kQ from said composite representation of kQ.
2. A method according to claim 1 wherein each of said components ki is shorter than said scalar k.
3. A method according to claim 1 wherein said components ki are initially selected and subsequently combined to provide said scalar k.
4. A method according to claim 1 wherein said representation is of the form
k i = i = 0 i = k i λ i
Figure US20020057796A1-20020516-M00005
mod n where n is the number of points on the elliptic curve.
5. A method according to claim 4 wherein said representation is of the form k0+k1.
6. A method according to claim 1 wherein said scalar k has a predetermined value and said components k.
7. A method according to claim 3 wherein said value of said multiple kQ is calculated using simultaneous multiple addition.
8. A method according to claim 7 wherein grouped terms GI utilized in said simultaneous multiple addition are precomputed.
9. A method according to claim 6 wherein said components ki are obtained by obtaining short basis vectors (u0, u1) of the field F, designating a vector v as (k,O), converting v from a standard, orthonomal basis to the (u0,u1) basis, to obtain fractions f0f1 representative of the vector v, applying said fractions to k to obtain a vector z, calculating an efficient equivalent v′ to the vector v and using components of the vector v′ in the composite representation of kQ.
10. A method of generating in an elliptic curve cryptosystem a key pair having a integer k providing a private key and a public key kQ, where Q is a point on the curve,
a) selecting an elliptic curve over a finite field F such that there exists an endomorphism ψ where ψ(Q)=λQ for all points Q (x,y) on the elliptic curve, λ is an integer,
b) establishing a representation of said key k as a combination of components ki and said integer λ,
c) combining said representation and said point Q to form a composite representation of a multiple corresponding to the public key kQ and
d) computing a value corresponding to said key kQ from said composite representation of kQ.
11. A method according to claim 10 including a method according to any one of claims 2 to 9.
12. A method of computing a coordinate of a point kP on an elliptic curve resulting from a point multiplication of an initial point P by a scalar k, said method comprising the steps of:
a) decomposing said scalar k into a pair of components k0, k1 for point multiplication to obtain respective points on said curve which when combined provide said point kP;
b) determining a signed representation in non-adjacent form of each of said first and second components;
c) generating a table having a plurality of signed bit combinations contained in said representations and corresponding point multiples of said combinations to provide portions of said respective points;
d) establishing for each of said representations a window having a width less then the length of each of said representations;
e) initiating a sequential examination of said representations by said windows to obtain a position for one of said windows in one of said representations contaning a respective one of said combinations in said table;
f) retrieving from said table the one of said point multiples corresponding to said respective one of said signed bit combinations in said table to obtain therefrom one of said portions;
g) accumulating said portion and continuing examination of said representations with a doubling of said accumulator for each bit-wise shift of said windows to obtain a representation of said coordinate of said point kP in said accunulator.
13. A method according to claim 12, wherein one of said respective points is derived from said initial point P and one of said components using an endomorphism of said curve.
14. A method according to claim 13, wherein said portions of said one of said respective points are derived from portions of the other of said respective points using said endomorphism.
15. A method according to claim 12, wherein one of said respective points is derived from said initial point P, one of said components, and a private key.
16. A method according to claim 15, wherein said portions of said respective points are precomputed and stored in said table.
US09/931,013 1998-12-24 2001-08-17 Method for accelerating cryptographic operations on elliptic curves Abandoned US20020057796A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US09/931,013 US20020057796A1 (en) 1998-12-24 2001-08-17 Method for accelerating cryptographic operations on elliptic curves
US11/095,542 US7995752B2 (en) 1998-12-24 2005-04-01 Method for accelerating cryptographic operations on elliptic curves

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
CA002257008A CA2257008C (en) 1998-12-24 1998-12-24 A method for accelerating cryptographic operations on elliptic curves
CA2,257,008 1998-12-24
PCT/CA1999/001222 WO2000039668A1 (en) 1998-12-24 1999-12-23 A method for accelerating cryptographic operations on elliptic curves
US09/885,959 US7110538B2 (en) 1998-12-24 2001-06-22 Method for accelerating cryptographic operations on elliptic curves
US09/931,013 US20020057796A1 (en) 1998-12-24 2001-08-17 Method for accelerating cryptographic operations on elliptic curves

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/885,959 Continuation-In-Part US7110538B2 (en) 1998-12-24 2001-06-22 Method for accelerating cryptographic operations on elliptic curves

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/095,542 Continuation US7995752B2 (en) 1998-12-24 2005-04-01 Method for accelerating cryptographic operations on elliptic curves

Publications (1)

Publication Number Publication Date
US20020057796A1 true US20020057796A1 (en) 2002-05-16

Family

ID=25680683

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/931,013 Abandoned US20020057796A1 (en) 1998-12-24 2001-08-17 Method for accelerating cryptographic operations on elliptic curves
US11/095,542 Expired - Fee Related US7995752B2 (en) 1998-12-24 2005-04-01 Method for accelerating cryptographic operations on elliptic curves

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/095,542 Expired - Fee Related US7995752B2 (en) 1998-12-24 2005-04-01 Method for accelerating cryptographic operations on elliptic curves

Country Status (1)

Country Link
US (2) US20020057796A1 (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020124031A1 (en) * 2000-12-15 2002-09-05 Sheueling Chang Method for efficient computation of point doubling operation of elliptic curve point scalar multiplication over finite fields F(2m)
US20030023846A1 (en) * 1999-07-08 2003-01-30 Broadcom Corporation Classification engine in a cryptography acceleration chip
US20030081771A1 (en) * 2001-10-25 2003-05-01 Yuichi Futa Elliptic curve converting device, elliptic curve converting method, elliptic curve utilization device and elliptic curve generating device
US20030163699A1 (en) * 2000-05-31 2003-08-28 Jean-Claude Pailles Cryptography method and smart cards microcircuit
US6738478B1 (en) * 1998-10-28 2004-05-18 Certicom Corp. Power signature attack resistant cryptography
US20040123123A1 (en) * 2002-12-18 2004-06-24 Buer Mark L. Methods and apparatus for accessing security association information in a cryptography accelerator
US20040123121A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Methods and apparatus for ordering data in a cryptography accelerator
US20040123119A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Cryptography accelerator interface decoupling from cryptography processing cores
US20040123120A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Cryptography accelerator input interface data handling
US20050036612A1 (en) * 2003-05-29 2005-02-17 Sony Corporation Information transmission apparatus and method, information reception apparatus and method, and information-providing system
WO2005114802A2 (en) * 2004-05-11 2005-12-01 North Dakota State University Optimal signed-digit recoding for elliptic curve cryptography
US20060093138A1 (en) * 2004-10-29 2006-05-04 Alain Durand Secure authenticated channel
US20060133604A1 (en) * 2004-12-21 2006-06-22 Mark Buer System and method for securing data from a remote input device
WO2006076800A1 (en) * 2005-01-18 2006-07-27 Certicom Corp. Accelerated verification of digital signatures and public keys
US20080044010A1 (en) * 2005-07-12 2008-02-21 Ihor Vasyltasov Cryptographic system and method for encrypting input data
US20080205638A1 (en) * 2007-02-07 2008-08-28 Al-Gahtani Theeb A Method for elliptic curve scalar multiplication
US7434043B2 (en) 2002-12-18 2008-10-07 Broadcom Corporation Cryptography accelerator data routing unit
CN100461668C (en) * 2004-12-09 2009-02-11 中国电子科技集团公司第三十研究所 Multiple computing circuit for ellipic curve cipher algorithm chip
US20090046852A1 (en) * 2007-07-17 2009-02-19 Vanstone Scott A Method and system for generating implicit certificates and applications to identity-based encryption (ibe)
US20090113252A1 (en) * 2007-10-30 2009-04-30 Lambert Robert J Fault detection in exponentiation and point multiplication operations using a montgomery ladder
US20090323933A1 (en) * 2008-05-14 2009-12-31 Longa Patrick Exponentiation method using multibase number representation
US20110194694A1 (en) * 2005-01-18 2011-08-11 Certicom Corp. Accelerated Verification of Digital Signatures and Public Keys
US20110307698A1 (en) * 2010-06-11 2011-12-15 Certicom Corp Masking the output of random number generators in key generation protocols
DE102010050194A1 (en) * 2010-11-04 2012-05-10 Tu Darmstadt Method for setting cryptographically secure connection between computer systems e.g. mobile phone, involves determining fractional values of cryptographic data for interaction of computer systems, in parallel
US20130097420A1 (en) * 2011-10-14 2013-04-18 Certicom Corp. Verifying Implicit Certificates and Digital Signatures
US9264426B2 (en) 2004-12-20 2016-02-16 Broadcom Corporation System and method for authentication via a proximate device
US20180165516A1 (en) * 2013-08-12 2018-06-14 WebID Solutions GmbH Method for evaluating a document
WO2018225053A1 (en) * 2017-06-07 2018-12-13 Bar-Ilan University Digital signing by utilizing multiple distinct signing keys, distributed between two parties
CN116318684A (en) * 2023-05-16 2023-06-23 蓝象智联(杭州)科技有限公司 Multi-party PSI (program specific information) implementation system and method based on ECDH (ECDH) protocol

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7742596B2 (en) * 2004-08-24 2010-06-22 General Dynamics C4 Systems, Inc. Reliable elliptic curve cryptography computation
CA2593723C (en) * 2007-06-27 2016-04-19 Certicom Corp. Multi-dimensional montgomery ladders for elliptic curves
US20090016523A1 (en) * 2007-07-12 2009-01-15 Atmel Corporation Masking and Additive Decomposition Techniques for Cryptographic Field Operations
US8559625B2 (en) * 2007-08-07 2013-10-15 Inside Secure Elliptic curve point transformations
US8290151B2 (en) * 2007-10-12 2012-10-16 Infineon Technologies Ag Device and method for determining an inverse of a value related to a modulus
EP2360659A4 (en) * 2008-08-29 2013-03-13 Univ Okayama Nat Univ Corp Pairing computation device, pairing computation method, and pairing computation program
JP5225115B2 (en) * 2009-01-15 2013-07-03 株式会社東芝 NAF converter
US8582775B2 (en) * 2009-02-12 2013-11-12 General Motors Llc Method of securing and authenticating data using micro-certificates
US8990564B2 (en) 2010-07-08 2015-03-24 Certicom Corp. System and method for performing device authentication using key agreement
US8549299B2 (en) 2011-02-28 2013-10-01 Certicom Corp. Accelerated key agreement with assisted computations
EP2493112B1 (en) * 2011-02-28 2018-02-28 Certicom Corp. Accelerated key agreement with assisted computations
EP3332787A4 (en) * 2015-09-30 2018-08-01 Fujifilm Corporation Transdermally absorbable composition
KR101817879B1 (en) * 2016-11-18 2018-01-11 부산대학교 산학협력단 Device and method for high-speed non-adjacent form conversion
US10637656B2 (en) * 2017-11-28 2020-04-28 Blackberry Limited Method and system for key agreement utilizing semigroups
KR102457163B1 (en) * 2020-11-23 2022-10-20 부산대학교 산학협력단 System and Method for Calculating Faster ECC scalar multiplication on FPGA

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999626A (en) 1996-04-16 1999-12-07 Certicom Corp. Digital signatures on a smartcard
EP1710951A3 (en) * 1997-07-17 2006-10-25 Matsushita Electric Industrial Co., Ltd. Elliptic curve calculation apparatus capable of calculating multiples at high speed
CN1235446A (en) * 1998-03-05 1999-11-17 松下电器产业株式会社 Elliptical curve converting device and device and system for use thereof
US6212279B1 (en) * 1998-06-26 2001-04-03 The United States Of America As Represented By The United States National Security Agency Method of elliptic curve cryptographic key exchange using reduced base tau expansion in non-adjacent form
US6243467B1 (en) * 1998-07-23 2001-06-05 The United States Of America As Represented By The National Security Agency Method of elliptic curve cryptographic digital signature generation and verification using reduced base tau expansion in non-adjacent form
JP3145368B2 (en) 1998-09-03 2001-03-12 日本電信電話株式会社 Elliptic curve calculation device, calculation method, and recording medium storing program for executing the method
US6430588B1 (en) 1998-09-03 2002-08-06 Nippon Telegraph And Telephone Corporation Apparatus and method for elliptic-curve multiplication and recording medium having recorded thereon a program for implementing the method
CA2257008C (en) 1998-12-24 2007-12-11 Certicom Corp. A method for accelerating cryptographic operations on elliptic curves
US6567832B1 (en) * 1999-03-15 2003-05-20 Matsushita Electric Industrial Co., Ltd. Device, method, and storage medium for exponentiation and elliptic curve exponentiation

Cited By (61)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738478B1 (en) * 1998-10-28 2004-05-18 Certicom Corp. Power signature attack resistant cryptography
US7996670B1 (en) 1999-07-08 2011-08-09 Broadcom Corporation Classification engine in a cryptography acceleration chip
US20030023846A1 (en) * 1999-07-08 2003-01-30 Broadcom Corporation Classification engine in a cryptography acceleration chip
US7600131B1 (en) 1999-07-08 2009-10-06 Broadcom Corporation Distributed processing in a cryptography acceleration chip
US20030163699A1 (en) * 2000-05-31 2003-08-28 Jean-Claude Pailles Cryptography method and smart cards microcircuit
US7802098B2 (en) * 2000-05-31 2010-09-21 France Telecom Sa Cryptography method and smart cards microcircuit
US20020124031A1 (en) * 2000-12-15 2002-09-05 Sheueling Chang Method for efficient computation of point doubling operation of elliptic curve point scalar multiplication over finite fields F(2m)
US6826586B2 (en) * 2000-12-15 2004-11-30 Sun Microsystems, Inc. Method for efficient computation of point doubling operation of elliptic curve point scalar multiplication over finite fields F(2m)
US20030081771A1 (en) * 2001-10-25 2003-05-01 Yuichi Futa Elliptic curve converting device, elliptic curve converting method, elliptic curve utilization device and elliptic curve generating device
US7209555B2 (en) * 2001-10-25 2007-04-24 Matsushita Electric Industrial Co., Ltd. Elliptic curve converting device, elliptic curve converting method, elliptic curve utilization device and elliptic curve generating device
US20040123123A1 (en) * 2002-12-18 2004-06-24 Buer Mark L. Methods and apparatus for accessing security association information in a cryptography accelerator
US20040123120A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Cryptography accelerator input interface data handling
US20040123119A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Cryptography accelerator interface decoupling from cryptography processing cores
US20040123121A1 (en) * 2002-12-18 2004-06-24 Broadcom Corporation Methods and apparatus for ordering data in a cryptography accelerator
US7191341B2 (en) 2002-12-18 2007-03-13 Broadcom Corporation Methods and apparatus for ordering data in a cryptography accelerator
US7568110B2 (en) 2002-12-18 2009-07-28 Broadcom Corporation Cryptography accelerator interface decoupling from cryptography processing cores
US7434043B2 (en) 2002-12-18 2008-10-07 Broadcom Corporation Cryptography accelerator data routing unit
US8145895B2 (en) 2003-05-29 2012-03-27 Sony Corporation Information transmission apparatus and method, information reception apparatus and method, and information-providing system
US20050036612A1 (en) * 2003-05-29 2005-02-17 Sony Corporation Information transmission apparatus and method, information reception apparatus and method, and information-providing system
US7519179B2 (en) * 2003-05-29 2009-04-14 Sony Corporation Information transmission apparatus and method, information reception apparatus and method, and information-providing system
WO2005114802A3 (en) * 2004-05-11 2006-10-26 Univ North Dakota Optimal signed-digit recoding for elliptic curve cryptography
US20080063189A1 (en) * 2004-05-11 2008-03-13 North Dakota State University Optimal signed-digit recoding for elliptic curve cryptography
WO2005114802A2 (en) * 2004-05-11 2005-12-01 North Dakota State University Optimal signed-digit recoding for elliptic curve cryptography
US20090063863A1 (en) * 2004-10-29 2009-03-05 Thomson Licensing Secure authenticated channel
US7545932B2 (en) * 2004-10-29 2009-06-09 Thomson Licensing Secure authenticated channel
US20060093138A1 (en) * 2004-10-29 2006-05-04 Alain Durand Secure authenticated channel
US7809946B2 (en) 2004-10-29 2010-10-05 Thomson Licensing Secure authenticated channel
CN100461668C (en) * 2004-12-09 2009-02-11 中国电子科技集团公司第三十研究所 Multiple computing circuit for ellipic curve cipher algorithm chip
US9264426B2 (en) 2004-12-20 2016-02-16 Broadcom Corporation System and method for authentication via a proximate device
US20060133604A1 (en) * 2004-12-21 2006-06-22 Mark Buer System and method for securing data from a remote input device
US9288192B2 (en) 2004-12-21 2016-03-15 Broadcom Corporation System and method for securing data from a remote input device
US8295484B2 (en) 2004-12-21 2012-10-23 Broadcom Corporation System and method for securing data from a remote input device
WO2006076800A1 (en) * 2005-01-18 2006-07-27 Certicom Corp. Accelerated verification of digital signatures and public keys
US8204232B2 (en) 2005-01-18 2012-06-19 Certicom Corp. Accelerated verification of digital signatures and public keys
US8467535B2 (en) 2005-01-18 2013-06-18 Certicom Corp. Accelerated verification of digital signatures and public keys
US8788827B2 (en) 2005-01-18 2014-07-22 Certicom Corp. Accelerated verification of digital signatures and public keys
US8806197B2 (en) 2005-01-18 2014-08-12 Certicom Corp. Accelerated verification of digital signatures and public keys
US10284370B2 (en) 2005-01-18 2019-05-07 Certicom Corp. Accelerated verification of digital signatures and public keys
US20070064932A1 (en) * 2005-01-18 2007-03-22 Marinus Struik Accelerated verification of digital signatures and public keys
US20110194694A1 (en) * 2005-01-18 2011-08-11 Certicom Corp. Accelerated Verification of Digital Signatures and Public Keys
US7903811B2 (en) * 2005-07-12 2011-03-08 Samsung Electronics Co., Ltd. Cryptographic system and method for encrypting input data
US20080044010A1 (en) * 2005-07-12 2008-02-21 Ihor Vasyltasov Cryptographic system and method for encrypting input data
US7856101B2 (en) 2007-02-07 2010-12-21 King Fahd University Of Petroleum And Minerals Method for elliptic curve scalar multiplication
US20080205638A1 (en) * 2007-02-07 2008-08-28 Al-Gahtani Theeb A Method for elliptic curve scalar multiplication
US9071445B2 (en) 2007-07-17 2015-06-30 Certicom Corp. Method and system for generating implicit certificates and applications to identity-based encryption (IBE)
US20090046852A1 (en) * 2007-07-17 2009-02-19 Vanstone Scott A Method and system for generating implicit certificates and applications to identity-based encryption (ibe)
US8457307B2 (en) 2007-07-17 2013-06-04 Certicom Corp. Method and system for generating implicit certificates and applications to identity-based encryption (IBE)
US8442216B2 (en) 2007-10-30 2013-05-14 Certicom Corp. Fault detection in exponentiation and point multiplication operations using a montgomery ladder
US20090113252A1 (en) * 2007-10-30 2009-04-30 Lambert Robert J Fault detection in exponentiation and point multiplication operations using a montgomery ladder
WO2009055904A1 (en) * 2007-10-30 2009-05-07 Certicom Corp. Fault detection in exponentiation and point multiplication operations using a montgomery ladder
US7991154B2 (en) * 2008-05-14 2011-08-02 Univeristy of Castilla-La Mancha Exponentiation method using multibase number representation
US20090323933A1 (en) * 2008-05-14 2009-12-31 Longa Patrick Exponentiation method using multibase number representation
US20110307698A1 (en) * 2010-06-11 2011-12-15 Certicom Corp Masking the output of random number generators in key generation protocols
US8429408B2 (en) * 2010-06-11 2013-04-23 Certicom Corp. Masking the output of random number generators in key generation protocols
DE102010050194A1 (en) * 2010-11-04 2012-05-10 Tu Darmstadt Method for setting cryptographically secure connection between computer systems e.g. mobile phone, involves determining fractional values of cryptographic data for interaction of computer systems, in parallel
US20130097420A1 (en) * 2011-10-14 2013-04-18 Certicom Corp. Verifying Implicit Certificates and Digital Signatures
US8745376B2 (en) * 2011-10-14 2014-06-03 Certicom Corp. Verifying implicit certificates and digital signatures
US20180165516A1 (en) * 2013-08-12 2018-06-14 WebID Solutions GmbH Method for evaluating a document
US10867172B2 (en) * 2013-08-12 2020-12-15 WebID Solutions GmbH Method for evaluating a document
WO2018225053A1 (en) * 2017-06-07 2018-12-13 Bar-Ilan University Digital signing by utilizing multiple distinct signing keys, distributed between two parties
CN116318684A (en) * 2023-05-16 2023-06-23 蓝象智联(杭州)科技有限公司 Multi-party PSI (program specific information) implementation system and method based on ECDH (ECDH) protocol

Also Published As

Publication number Publication date
US7995752B2 (en) 2011-08-09
US20060029222A1 (en) 2006-02-09

Similar Documents

Publication Publication Date Title
US7110538B2 (en) Method for accelerating cryptographic operations on elliptic curves
US7995752B2 (en) Method for accelerating cryptographic operations on elliptic curves
US6618483B1 (en) Elliptic curve encryption systems
US7412062B2 (en) Method and apparatus for elliptic curve scalar multiplication
US7996676B2 (en) Masked digital signatures
US7961874B2 (en) XZ-elliptic curve cryptography with secret key embedding
US6782100B1 (en) Accelerated finite field operations on an elliptic curve
US6252959B1 (en) Method and system for point multiplication in elliptic curve cryptosystem
US6611597B1 (en) Method and device for constructing elliptic curves
US6202076B1 (en) Scheme for arithmetic operations in finite field and group operations over elliptic curves realizing improved computational speed
EP0874307B9 (en) Accelerated finite field operations on an elliptic curve
Stam et al. Efficient subgroup exponentiation in quadratic and sixth degree extensions
EP2493112B1 (en) Accelerated key agreement with assisted computations
Sakai et al. Algorithms for efficient simultaneous elliptic scalar multiplication with reduced joint Hamming weight representation of scalars
EP1066558B1 (en) Accelerated finite field operations on an elliptic curve
US8520841B2 (en) Algorithms for generating parameters for genus 2 hyperelliptic curve cryptography
US7190789B2 (en) Method and apparatus for finite field basis conversion
CA2353395C (en) A method for accelerating cryptographic operations on elliptic curves
Weimerskirch The application of the Mordell-Weil group to cryptographic systems.
Sun et al. Batch blind signatures on elliptic curves
Ahlqvist Elliptic Curves and Cryptography
KR20010035704A (en) Process and method for fast scalar multiplication of elliptic curve point
Biggs et al. Elliptic curve cryptography
Rostovtsev et al. Elliptic curve point multiplication

Legal Events

Date Code Title Description
AS Assignment

Owner name: CERTICOM CORP., CANADA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LAMBERT, ROBERT J.;GALLANT, ROBERT;VANSTONE, SCOTT A.;REEL/FRAME:012331/0786

Effective date: 20010911

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

AS Assignment

Owner name: MALIKIE INNOVATIONS LIMITED, IRELAND

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BLACKBERRY LIMITED;REEL/FRAME:064104/0103

Effective date: 20230511