WO2002091664A1 - Ring-based signature scheme - Google Patents

Ring-based signature scheme Download PDF

Info

Publication number
WO2002091664A1
WO2002091664A1 PCT/US2002/014099 US0214099W WO02091664A1 WO 2002091664 A1 WO2002091664 A1 WO 2002091664A1 US 0214099 W US0214099 W US 0214099W WO 02091664 A1 WO02091664 A1 WO 02091664A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital signature
polynomials
message
generating
polynomial
Prior art date
Application number
PCT/US2002/014099
Other languages
French (fr)
Inventor
Craig B. Gentry
Yiqun Yin
Original Assignee
Docomo Communications Laboratories Usa, Inc.
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
Application filed by Docomo Communications Laboratories Usa, Inc. filed Critical Docomo Communications Laboratories Usa, Inc.
Priority to US10/476,632 priority Critical patent/US20040151309A1/en
Priority to JP2002588007A priority patent/JP4053431B2/en
Priority to EP02731656A priority patent/EP1397884A4/en
Publication of WO2002091664A1 publication Critical patent/WO2002091664A1/en

Links

Classifications

    • 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
    • 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/3093Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving Lattices or polynomial equations, e.g. NTRU scheme
    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless

Definitions

  • the present invention relates in general to cryptography and secure communication via computer networks or via other types of systems and devices, and more particularly to the generation and verification of digital signatures using ring-based polynomial algebra.
  • Digital signatures serve various functions in secure communication, including authentication, data security, and non-repudiation.
  • a digital signature is bound both to the content of a message to be sent, and to the identity of the signer.
  • the digital signature typically is generated using both a private key, which is known only to the signer, and the message to be signed. A public key, which may be known to anyone, is then used to verify the signature.
  • a digital signature should be verifiable so that the recipient of a signed message is confident that the signer possesses the private key. For instance, the recipient of a message should be able to use the signer's public key to verify that the signer's digital signature is authentic. In addition, forgery of a digital signature should be infeasible. Finally, to avoid compromising the signer's private key, a digital signature should not leak useful information about the private key.
  • NSS NTRU Signature Scheme
  • NSS involves the generation of a signature using a private key and the message to be signed.
  • the private key, the message, and the signature each are represented as one or more polynomials.
  • the coefficients of the signature polynomials are reduced either modulo/? or modulo q, where p and q are fixed integers.
  • p and q are fixed integers.
  • NSS NTRU Signature Scheme
  • a digital signature method and system are described that enable fast, efficient, and secure generation and verification of digital signatures, that render forgery of the signatures infeasible, and that provide for signatures that do not leak useful information about a signer's private key.
  • a method of generating and verifying a digital signature of a message includes one or more digital signature polynomials. Two relatively prime ideals ? and q of a ring R are selected. A private key is selected to include one or more private key polynomials of the ring R. A public key is generated using the private key and the second ideal q. One or more message polynomials are generated using the message.
  • the digital signature then is generated using at least the following elements: (a) at least one of the message polynomials, (b) at least one of the private key polynomials, and (c) at least one of the ideals/?
  • the digital signature then may be verified at least by confirming that the deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
  • the digital signature also may be verified at least by confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
  • a method of generating and verifying a digital signature of a message includes one or more digital signature polynomials. Two relatively prime ideals/? and q of a ring R are selected. A private key is selected to include one or more private key polynomials of the ring R. A public key is generated using the private key and the second ideal q. Auxiliary multiple-use private information is selected. One or more message polynomials are generated using the message.
  • the digital signature then is generated using at least the following elements: (a) at least one of the message polynomials, (b) at least one of the private key polynomials, (c) at least one of the ideals p and q, and (d) the auxiliary multiple-use private information.
  • the digital signature then may be verified at least by confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
  • a method of generating and verifying a digital signature of a message m wherein the digital signature includes two digital signature polynomials u and v. Two relatively prime ideals/? and q of a ring
  • R Z [XI(J ⁇ -1) are selected, where N is an integer greater than 1.
  • a private key is selected to include two private key polynomials/and g of the ring R.
  • a third intermediate private polynomial a is selected so as to minimize the number of deviations between one of the message polynomials m and a quantity t + a * g (mod q).
  • a private key is selected to include two private key polynomials/ and g of the ring R.
  • a second intermediate polynomial a is selected such that a has a Euclidean norm on the order of VN and so as to minimize the number of deviations between a message polynomial m and a quantity t + a * g (mod q).
  • a private key is selected to include two private key polynomials, /and g of the ring R.
  • a one-time private key e is selected to include a one-time private key polynomial e of the ring R.
  • a first random polynomial ri is then selected.
  • is selected such that the Euclidean norm of ⁇ is on the order of VN and so as to minimize the number of deviations between one of the message polynomials m and the quantify t ⁇ + ⁇ * e (mod q).
  • the digital signature is verified at least by confirming that the Euclidean norm of each of the first and third digital signature polynomials u and u 2 is on the order of N, and that the deviation between the message m and each of the second and fourth digital signature polynomials vi and v 2 is less than a predetermined deviation threshold.
  • an apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials.
  • the apparatus includes a memory for storing ideals/? and q of the ring R and a private key including one or more private key polynomials of the ring R.
  • the apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals/?
  • the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R, and to verify the digital signature at least by confirming that a deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
  • an apparatus for generating and verifying a digital signature of a message wherein the digital signature includes one or more digital signature polynomials.
  • the apparatus includes a memory for storing ideals/? and q of the ring R and a private key including one or more private key polynomials of the ring R.
  • the apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals/? and q, and to verify the digital signature at least by confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
  • an apparatus for generating and verifying a digital signature of a message wherein the digital signature includes one or more digital signature polynomials.
  • the apparatus includes a memory for storing ideals p and q of the ring R, a private key including one or more private key polynomials of the ring R, and auxiliary multiple-use private information.
  • the apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, at least one of the ideals/? and q, and the auxiliary multiple-use private information, and to verify the digital signature at least by confirming that a deviation between the digital signature polynomials and the public key satisfy a predetermined relationship.
  • FIG. 1 shows a flow diagram illustrating a method of generating and verifying a digital signature according to one presently preferred embodiment of the invention
  • FIG. 2 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention
  • FIG. 3 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention
  • FIG.4 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention
  • FIG. 5 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • FIG. 6 shows a block diagram depicting a system for generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • FIG. 1 shows a flow diagram illustrating a method of generating and verifying a digital signature according to one presently preferred embodiment of the invention.
  • the first step 102 in the generation of a digital signature is the selection of the ideals/? and q of a ring R.
  • all operations modulo/? are taken in the interval (-/?/2, p/2], and all operations modulo q are taken in the interval
  • a preferred ring R is Z [X ⁇ l( ⁇ -1), wherein Z is the ring of integers
  • a private encryption key is selected.
  • the private key includes one or more polynomials of the ring R.
  • the private key includes two polynomials/and g of the ring R.
  • the private key polynomials also may be described as a row vector:
  • N, /?, and q are publicly known.
  • p and q are relatively prime integers, — ⁇ q ⁇ — , and /? « q.
  • polynomials having a Euclidean norm on the order of VN shall be referred to as short
  • polynomials having a Euclidean norm on the order of N shall be referred to as somewhat short. Accordingly, the convolution of two short polynomials typically produces a somewhat short polynomial. Preferably, both short and somewhat short polynomials are included in the spaces S f , S & , and S ⁇ .
  • both/and g are short polynomials.
  • both/and g are short polynomials, and/ ⁇ g ⁇ k (mod/?) for some polynomial k (that is, the coefficients of/ g, and k are congruent modulo/?).
  • a third type of key which is used primarily for a one-time private key e, shall be referred to as Key Type C.
  • e is a short polynomial, but the coefficient e 0 is somewhat large (e.g., ql2p).
  • a public key is generated in step 106.
  • the public key includes one or more public key polynomials.
  • a suitable public key polynomial h may be generated using the equation:
  • Equation 2 denotes the inverse of the polynomial/in
  • R, Z q [Xl()f-1).
  • the "*" represents standard convolution, or polynomial
  • a new private key and public key need not be generated for every signature. Rather, so long as the private key is not compromised, the same private key and public key may be used repeatedly to generate and verify numerous digital signatures.
  • the private key polynomials/and g, and the public key polynomial h may be referred to as being multiple-use keys.
  • auxiliary multiple-use private information is selected.
  • the auxiliary multiple-use private information which may include one or more auxiliary private polynomials of the ring R, supplements the private key, but is not itself directly related to the private key.
  • the auxiliary multiple-use private information may be used in the generation of digital signatures to prevent the signatures from leaking useful information about the private key. This provides a defense against the second-order averaging attack, which exploits weaknesses in signatures that leak useful information about the private key.
  • an averaging attack determines a private key by analyzing the convergence of a number of digital signatures signed with that key. Because the elements that are used to generate a digital signature, other than the private key itself, are either random or known, a series of signatures created using the same private key will converge on a value related to the private key. For instance, the known elements converge on a known average, and the random elements become predictable over a large sample of signatures. By multiplying a series of digital signature polynomials by their reverse polynomials, it is possible to remove the known averages and to isolate/*/ ev , which provides information directly related to the private key. Through this type of analysis over a transcript of signatures created using a particular private key, cryptanalysts have been able to extract information about the private key, and ultimately to determine the private key itself.
  • the present invention presents multiple defenses to this type of averaging attack.
  • one defense involves deceiving the averaging attack by manipulating the convergence of a series of signatures.
  • the vector/ is auxiliary multiple- use private information, supplemental to the private key, but need not be and preferably is not related to either the private key or the public key.
  • Another procedure for defending against an averaging attack is to keep the averaging attack from converging in a reasonable time.
  • the d polynomial acts as noise that delays the convergence of/*/ ev .
  • this approach preferably is used for a signature polynomial that is tested using a Euclidean norm constraint rather than a deviation constraint, as described more fully below.
  • one or more message polynomials are generated in step 110.
  • This step is message-dependent, and must be repeated for each new digital signature.
  • the message polynomials are of the ring R, which allows convenient manipulation of the message polynomials in connection with the polynomials of the private key and the public key.
  • the message polynomials may be generated according to known methods using one or more hash functions.
  • a one-time private key may be selected in step 112. Unlike the multiple-use private key, the one-time private key is used to generate a single signature. A new one-time private key is selected for generation of the next signature. Selection of a one-time private key is optional, but may be used to increase the security of the digital signature, particularly with respect to an averaging attack, as described more fully below.
  • the digital signature takes place in step 114.
  • the digital signature includes one or more digital signature polynomials that are generated based on the message polynomials and the private key polynomials.
  • the digital signature optionally may be generated using auxiliary multiple-use private information and/or a one-time private key in addition to the message polynomials and the private key polynomials.
  • the signer transmits the message along with the digital signature to an intended recipient.
  • the recipient then may verify the digital signature in step 116.
  • the verification may include one or more types of comparisons between the message, the digital signature, and the public key, which preferably is known to the verifier.
  • the verifier may confirm a predetermined relationship between the digital signature polynomials and the public key polynomials. Additionally, the verifier may confirm that the deviation between the digital signature polynomials and the message polynomials is less than or equal to a predetermined deviation threshold. For a, b e Z q [XI(J ⁇ -1), the deviation
  • the verifier also may confirm that a norm of one or more of the digital signature polynomials is less than or equal to a predetermined norm threshold.
  • Various norms may be used to constrain the digital signature polynomials, including, for instance, the L1 norm, the L2 (or Euclidean) norm, or any of the higher-order Lp norms.
  • the Euclidean norm is preferred.
  • the verifier In the course of verifying a signature, the verifier generally uses a combination of two, or all three of these types of comparisons. For instance, the signature generally should confirm the predetermined relationship between the digital signature and the public key. In addition to this first test, the verifier generally should confirm at least one other comparison (i.e., the deviation constraint and/or the norm constraint) with respect to the digital signature polynomials.
  • the verifier In addition to this first test, the verifier generally should confirm at least one other comparison (i.e., the deviation constraint and/or the norm constraint) with respect to the digital signature polynomials.
  • FIG. 2 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • a private key is selected.
  • the private key is of Key Type B, including two short polynomials/ and g of the ring R, where/ ⁇ g ⁇ k (mod p) for some polynomial k.
  • a public key is then generated in step 204.
  • the public key preferably includes a public key polynomial h that is computed according to Equation 2.
  • One or more message polynomials m are then generated in step 206 based on the message to be signed.
  • a message polynomial m preferably is computed using a hash function H( ), where H is a secure hash function.
  • the message polynomials may include two separate hashes, H ⁇ (m) and H 2 (m).
  • randomness may be added to the hash functions.
  • a message polynomial may be computed as H(m,c), where c is a random value that will become part of the signature.
  • the parameter (1 - h) ⁇ may be pre-computed and stored as s'.
  • Equations 5 and 6 provide one preferred method of achieving the proper relationship between 5 and t.
  • a third intermediate private polynomial a is computed in step 214 according to the equation:
  • the third intermediate polynomial a should be selected such that a is a small polynomial and so as to minimize the deviations between the message polynomial m and the digital signature polynomials u and v calculated in Equation 9. Equation 7 provides one preferred method of computing an appropriate third intermediate polynomial a.
  • a first digital signature polynomial u is generated in step 216 according to the equation:
  • a second digital signature polynomial v then is generated in step 218 according to the equation:
  • the polynomial pair (u, v) is the signature of the message.
  • the addition of private intermediate polynomials s and t in the generation of the digital signature polynomials u and v is one of the ways that the present invention overcomes one of the security flaws found in NSS. This is because NSS signatures are simply multiples of the private key polynomials reduced modulo q: (s,t) - (f* w, g * w) (mod q) for some short multiplier polynomial w. As a result, NSS signatures have been subject to successful attacks that allow the attacker to learn the private keys/and g, as described more fully in the Cryptanalysis of NSS papers.
  • this embodiment of the present invention ensures that u and v, in unreduced form (i.e., before reduction modulo q), are not multiples of the private key polynomials in the ring R.
  • u and v when divided in the ring R ⁇ by the private key polynomials/and g, respectively, yield somewhat short or larger polynomials.
  • Other embodiments of the present invention employ intermediate private polynomials in the same manner.
  • Equation 5 If two hashes, H ⁇ (m) and H 2 (m) were used instead of m or H(m) to generate the signature, then the term pr in Equation 5 should be replaced with a short or somewhat short random private polynomial r that is congruent to H ⁇ (w) - H 2 (m) (mod /?), and a should be computed according to the following modified version of Equation 7:
  • the signer After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and one or both of the digital signature polynomials u and v to an intended recipient.
  • the recipient verifier then may verify the digital signature in step 220 at least by performing two comparisons. Collectively, these two comparisons shall be referred to as Condition A.
  • the verifier may compute the other digital signature polynomial v according to the predetermined relationship set forth above. This alternative, which generally applies to the various embodiments of the present invention, increases transmission efficiency by reducing the size of the digital signature that is transmitted. In either case, the verifier is required to conduct the second comparison to fully satisfy Condition A.
  • the verifier confirms that the deviation between the message polynomial m and each of the first and the second digital signature polynomials u and v is less than a predetermined deviation threshold. If two different hashes, H)(m) and H 2 (m), were used to generate the signature polynomials, then u should be checked for deviations from H ⁇ ( ), and v should be checked for deviations from H 2 (m).
  • the deviation threshold may be set even lower.
  • Other embodiments of the invention allow for even further reduction of the deviation threshold.
  • One such alternative embodiment will now be described with reference to FIG. 3
  • FIG. 3 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • a private key is selected.
  • the private key is of Key Type A, including two short polynomials/ and g.
  • the polynomials of Key Type A may be shorter (i.e., of lesser Euclidean norm) than the polynomials of Key Type B. This is because the polynomials of Key Type B must be not equal to one another and at the same time must be congruent modulo/?.
  • one of the private key polynomials of Key Type B necessarily must have coefficients of larger magnitude. This is not required of the polynomials of Key Type A.
  • the shorter private key polynomials of Key Type A therefore are less affected by the reduction modulo q, and thus the digital signature polynomials generated from Key Type A polynomials ultimately have fewer deviations from the message polynomials.
  • a public key is generated.
  • the public key preferably includes a public key polynomial h that is computed according to Equation 2.
  • One or more message polynomials m are then generated in step 306 based on the message to be signed.
  • a message polynomial m preferably is computed using a hash function H(m).
  • the message polynomials may include two separate hashes, H x (m) and H 2 (m).
  • randomness may be added to the hash function.
  • a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
  • a random private polynomial r is selected from the space S ⁇ .
  • the polynomial r is short or somewhat short.
  • step 312 a second intermediate private polynomial a then is computed according to the equation:
  • the second intermediate private polynomial a is calculated to be short, and the calculation of the two intermediate private polynomials t and a is intended to produce as few deviations as possible between the second digital signature polynomial v, computed according to Equation 14, and the message polynomial m.
  • a first digital signature polynomial u is generated in step 314 according to the equation:
  • a second digital signature polynomial v then is generated in step 316 according to the equation:
  • the polynomial pair (u, v) is the signature of the message. If two hashes, H ⁇ (m) and H (m) were used instead of m to generate the signature, then a should be computed according to the following modified version of Equation 12:
  • the signer After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials u and v to an intended recipient.
  • the recipient verifier then may verify the digital signature in step 318 by performing three comparisons. Collectively, these three comparisons shall be referred to as Condition B.
  • the verifier confirms that the first digital signature polynomial u is somewhat short.
  • the verifier confirms that the deviation between the message polynomial m and the second digital signature polynomial v is less than a predetermined deviation threshold. If each of the three comparisons are satisfied, the verifier deems the signature authentic.
  • Condition B is a more rigorous set of criterion than Condition A because the deviation threshold is a local metric, which allows an attacker to ignore a number of coefficient positions.
  • the Euclidean norm threshold is a global criterion, which is strongly influenced by every coefficient.
  • a deviation threshold of, for example, N75 coefficients per polynomial i.e., approximately 50 deviations for N - 251
  • the deviation threshold may be set even lower.
  • FIG.4 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • a private key is selected.
  • the private key preferably is of Key Type A, including two short polynomials/and g.
  • a one-time private key polynomial e then is generated in step 404.
  • Given/ g, and e, a pair of one-time public key polynomials hi and h 2 preferably is generated in step 406 according to the equations:
  • hi and h 2 could be generated according to the equations:
  • Equations 18 and 19 produce suitable polynomials for hi and h 2 , but require computation of the inverse one-time private key e "1 (mod q) on the fly.
  • Equations 18 and 19 requires similar substitution of e,/ and g in Equations 21-23 and 25-27 below.
  • One or more message polynomials m based on the message to be signed are then generated in step 408.
  • a message polynomial m preferably is computed using a hash function H(m), where H is a secure hash function.
  • the message polynomials may include two separate hashes, H ⁇ (m) and H (m).
  • randomness may be added to the hash functions.
  • a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
  • a first random private polynomial r ⁇ is selected from the space S ⁇ .
  • the polynomial ri is short or somewhat short.
  • a first intermediate private polynomial t ⁇ is computed according to the equation:
  • step 414 a second intermediate private polynomial « ⁇ is computed according to the equation:
  • a first digital signature polynomial u is generated in step 416 according to the equation:
  • a second digital signature polynomial Vj then is generated in step 418 according to the equation:
  • a second random private polynomial r is selected from the space S r .
  • the polynomial r 2 is short or somewhat short.
  • a third intermediate private polynomial t is computed according to the equation:
  • a fourth intermediate private polynomial a 2 is computed according to the equation:
  • a third digital signature polynomial u 2 is generated in step 426 according to the equation:
  • a fourth digital signature polynomial v 2 then is generated in step 428 according to the equation:
  • the signer After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials u ⁇ , u 2 , v ⁇ , and v 2 to an intended recipient.
  • the recipient verifier then may verify the digital signature in step 430 by performing a modified version of the three Condition B comparisons described with reference to the previous embodiment. First, the verifier confirms that the digital signature polynomials and the signer's multiple-use public key satisfy the predetermined relationship v, h (mod q) . Second, the verifier confirms that each of the first and
  • third digital signature polynomials u and u is somewhat short.
  • the verifier confirms that the deviation between the message polynomial m and each of the second and fourth digital signature polynomials vj and v 2 is less than a predetermined deviation threshold. If two separate hashes, H ⁇ (m) and H (m), were used to generated the signature polynomials, then V) should be checked for deviations from H ⁇ (m), and v 2 should be checked for deviations from H (m). If each of the three comparisons described above are satisfied, the verifier deems the signature authentic.
  • v polynomials are related only to the one-time (single-use) private key, an averaging attack involving these polynomials reveals no useful cryptanalytic information.
  • the averaging attack is necessarily limited to cryptanalysis of the u polynomials.
  • auxiliary multiple-use private polynomials/ and g' may be included in the generation of the digital signature polynomials.
  • the use of auxiliary multiple-use private polynomials/ and g' manipulates the convergence of a transcript of digital signature polynomials, making it significantly more difficult to obtain useful information about the private key polynomials/and g using an averaging attack.
  • more than one auxiliary multiple-use private polynomial may be used to generate each digital signature polynomial.
  • the deviation threshold may be set even lower.
  • the next embodiment, described with reference to FIG. 5, provides an even greater degree of security by further reducing the number of acceptable deviations.
  • FIG. 5 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention.
  • a private key is selected.
  • the private key preferably is of Key Type A, including two short polynomials/and g.
  • a one-time private key polynomial e preferably of Key Type C, then is generated in step 504, preferably such that the first coefficient e 0 is somewhat large (e.g., ql2p).
  • a pair of public key polynomials h and h 2 preferably is generated in step 506 according to the Equations 16 and 17, although hi and h 2 also could be generated according to Equations 18 and 19 in the alternative.
  • One or more message polynomials m based on the message to be signed are then generated in step 508.
  • a message polynomial m preferably is computed using a hash function H(m), where H is a secure hash function.
  • the message polynomials may include two separate hashes, H ⁇ ( ) and H 2 (m).
  • randomness may be added to the hash functions.
  • a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
  • a first random private polynomial r ⁇ is selected from the space S ⁇ .
  • the polynomial r is short or somewhat short.
  • a first intermediate private polynomial tj is computed according to the equation:
  • a second intermediate private polynomial a ⁇ which should be short, is selected such that the quantity t ⁇ + a ⁇ * e (mod q) has few or no deviations from the message m. More specifically, the coefficients of a are selected such that vi, computed below using Equation 30, has few or no deviations modulo ? from the message polynomial m.
  • the somewhat large coefficient e 0 of the one time private key e may be selected such that the coefficients of the quantity t + a ⁇ * e (mod q) are close to the center of the interval (-q!2, q/2], which helps to prevent those coefficients from being reduced in the modulo q operation, thereby further reducing the likelihood of deviations modulo/?.
  • a second random private polynomial r 2 is selected from the space S ⁇ .
  • the polynomial r 2 is short or somewhat short.
  • a third intermediate private polynomial t 2 is computed according to the equation:
  • a fourth intermediate private polynomial a 2 which should be short, is selected such that the quantity t 2 + a 2 * e (mod q) has few or no deviations from the message polynomial m. This is accomplished in a manner similar to that described above with respect to a x in step 514.
  • the primary focus is on preventing deviations in the second and fourth digital signature polynomials Vj and v 2 .
  • a third digital signature polynomial u 2 is generated in step 526 according to the equation:
  • the signer After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials Ui, u 2 , v i t and v 2 to an intended recipient.
  • the recipient verifier then may verify the digital signature in step 530 by performing the same three modified Condition B comparisons that were used in the previous embodiment. First, the verifier confirms that the digital signature polynomials and the signer's multiple-use public key satisfy the predetermined relationship h (mod q) . Second, the verifier confirms that each of the first and third digital signature polynomials u and u 2 is somewhat short.
  • the verifier confirms that the deviation between the message m and each of the second and fourth digital signature polynomials Vj and v 2 is less than a predetermined deviation threshold. If all three comparisons are satisfied, the verifier deems the signature to be authentic.
  • auxiliary multiple-use private polynomials/ and g' may be included in the generation of the digital signature polynomials.
  • the use of auxiliary multiple-use private polynomials/ and g' manipulates the convergence of a transcript of digital signature polynomials, making it significantly more difficult to obtain useful information about the private key polynomials/and g using an averaging attack.
  • more than one auxiliary multiple-use private polynomial may be used to generate each digital signature polynomial.
  • a deviation threshold of, for example, N/5 coefficients per polynomial may be chosen to significantly reduce the likelihood of a forgery attack such as the one used to successfully forge NSS signatures, as described above.
  • the system includes a number of users 602, 604, 606, 608, each of which may act as a signer and/or a verifier.
  • Each user includes a processor 610 in bidirectional communication with a memory 612.
  • the processor 610 executes suitable program code for carrying out the procedures described above, and for generating information to be transmitted to another user. Suitable program code may be created according to methods known in the art.
  • the memory 612 stores the program code, as well as intermediate results and other information used during execution of the digital signature generation and verification procedures.
  • a communications network 620 is provided over which users may communicate.
  • the communications network 620 may be of various common forms, including, for instance, a LAN computer network, a WAN computer network, and/or a mobile telephone network provide suitable communication networks.
  • user 602 may generate and transmit a digital signature via the communications network 620 to user 608.
  • User 608 then may verify the signature of user 602 according to the procedures described above.
  • Users 604 and 606 may communicate in a similar manner via the communications network 620.
  • users 604 and 606 may communicate directly with one another via a suitable direct communications link as shown in FIG. 6.
  • a trusted certificate authority 630 is provided to store and distribute public keys associated with the various users 602, 604, 606, 608. For instance, before verifying a signature from user 608, user 602 may request the certificate authority 630 to provide a copy of the public key for user 608 to be used in the verification procedures described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Physics (AREA)
  • Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computing Systems (AREA)
  • Mathematical Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Algebra (AREA)
  • Storage Device Security (AREA)

Abstract

A method and system for generating and verifying a digital signature of a message is provided. The digital signature includes digital signature polynomials. Two relatively prime ideals p and q of a ring R(102) are selected. A private key and the second ideal q are used to generate a public key. One or more message polynomials are generated based on the message to be signed. The digital signature polynomials are generated (110) using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals p and q, wherein the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R. The signature is then verified (116) by confirming that a deviation between at least one of the messae polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.

Description

RING-BASED SIGNATURE SCHEME
RELATED APPLICATIONS
[1] Applicants hereby claim priority under 35 U.S.C. § 119(e) to provisional U.S. patent application Ser. No. 60/288,841, filed on May 4, 2001 , and incorporated herein by reference.
BACKGROUND OF THE INVENTION
[2] The present invention relates in general to cryptography and secure communication via computer networks or via other types of systems and devices, and more particularly to the generation and verification of digital signatures using ring-based polynomial algebra.
[3] Digital signatures serve various functions in secure communication, including authentication, data security, and non-repudiation. Typically, a digital signature is bound both to the content of a message to be sent, and to the identity of the signer. In public key cryptographic systems, the digital signature typically is generated using both a private key, which is known only to the signer, and the message to be signed. A public key, which may be known to anyone, is then used to verify the signature.
[4] A digital signature should be verifiable so that the recipient of a signed message is confident that the signer possesses the private key. For instance, the recipient of a message should be able to use the signer's public key to verify that the signer's digital signature is authentic. In addition, forgery of a digital signature should be infeasible. Finally, to avoid compromising the signer's private key, a digital signature should not leak useful information about the private key.
[5] Various methods and systems for generating and verifying digital signatures are known and have been used in computer networks and other communication systems, such as mobile telephone networks. There has been a particular emphasis on designing digital signature schemes that provide for fast and efficient generation and verification of signatures. For instance, a digital signature scheme called NTRU Signature Scheme ("NSS") was proposed in connection with the NTRU public key cryptosystem. NSS was described in J. Hoffstein, J. Pipher, J.H. Silverman, NSS: The NTRU Signature Scheme, PROC. OF EUROCRYPT '01 , LNCS 2045, pages 211-228, Springer-Verlag, 2001. Based on polynomial algebra, NSS employs reasonably short, easily created keys, high speed, and low memory requirements.
[6] NSS involves the generation of a signature using a private key and the message to be signed. The private key, the message, and the signature each are represented as one or more polynomials. During the process of generating a signature, the coefficients of the signature polynomials are reduced either modulo/? or modulo q, where p and q are fixed integers. Once a signature has been generated, it may be verified, in part, by determining the deviation between the signature polynomials and the message polynomials. The deviation between two polynomials α and b, is defined as the number of coefficients of α (mod q) and b (mod q) that differ modulo ?. NSS is designed to allow for certain deviation between the signature polynomials and the message polynomials in order to render generation of the signature more efficient and to decrease the likelihood that the signature will leak useful information about the private key. For instance, where each polynomial has 251 coefficients (N = 251), NSS tolerates signature deviations of between 55 and 87 coefficients per polynomial. Accordingly, an authentic signature in NSS may deviate from the original message by more than N13.
[7] Because of its large tolerance for deviations, NSS contains serious security flaws. Numerous cryptanalyses have demonstrated that NSS signatures may be forged with relative ease through probabilistic manipulation of the signature coefficients. For instance, in one attack, forgeries having deviations of only 56 coefficients per polynomial (for N = 251 ) were generated with no knowledge of the signer's private key. In addition, these analyses proved that, despite the high rates of deviation, NSS signatures nevertheless leak sufficient useful information to enable an attacker to obtain a signer's private key. The results of one such analysis was published in C. Gentry, J. Jonsson, J. Stern, M. Szydlo, Cryptanalysis of the NTRU Signature Scheme (NSS) from Eurocrypt 2001, PROC. OF ASIACRYPT '01, LNCS 2248, pages 1-20, Springer-Veriag, 2001. See also C. Gentry, M. Szydlo, Cryptanalysis of the Revised NTRU Signature Scheme, ADVANCES IN CRYPTOLOGY— EUROCRYPT '02, LECTURE NOTES IN COMPUTER SCIENCE, Springer-Veriag, 2002. The content of both articles is incorporated herein by reference, and is hereinafter referred to as the "Cryptanalysis of NSS papers." [8] Accordingly, there remains a need for a fast, efficient, and secure digital signature system. It is therefore an object of the present invention to provide a fast, efficient, and secure digital signature system in which it is infeasible for an attacker to generate forgeries of digital signatures. It also is an object of the present invention to enable generation of digital signatures that do not leak useful information about the signer's private key.
BRIEF SUMMARY OF THE PREFERRED EMBODIMENTS
[9] In accordance with the present invention, a digital signature method and system are described that enable fast, efficient, and secure generation and verification of digital signatures, that render forgery of the signatures infeasible, and that provide for signatures that do not leak useful information about a signer's private key.
[10] According to one aspect of the present invention, a method of generating and verifying a digital signature of a message is provided. The digital signature includes one or more digital signature polynomials. Two relatively prime ideals ? and q of a ring R are selected. A private key is selected to include one or more private key polynomials of the ring R. A public key is generated using the private key and the second ideal q. One or more message polynomials are generated using the message. The digital signature then is generated using at least the following elements: (a) at least one of the message polynomials, (b) at least one of the private key polynomials, and (c) at least one of the ideals/? and q, wherein the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R. The digital signature then may be verified at least by confirming that the deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
[11] According to an alternative aspect of the present invention, or in combination with the verification process described above, the digital signature also may be verified at least by confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
[12] According to another aspect of the present invention, a method of generating and verifying a digital signature of a message is provided. The digital signature includes one or more digital signature polynomials. Two relatively prime ideals/? and q of a ring R are selected. A private key is selected to include one or more private key polynomials of the ring R. A public key is generated using the private key and the second ideal q. Auxiliary multiple-use private information is selected. One or more message polynomials are generated using the message. The digital signature then is generated using at least the following elements: (a) at least one of the message polynomials, (b) at least one of the private key polynomials, (c) at least one of the ideals p and q, and (d) the auxiliary multiple-use private information. The digital signature then may be verified at least by confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
[13] According to another embodiment of the present invention, there is provided a method of generating and verifying a digital signature of a message m, wherein the digital signature includes two digital signature polynomials u and v. Two relatively prime ideals/? and q of a ring
R = Z [XI(J^-1) are selected, where N is an integer greater than 1. A private key is selected to include two private key polynomials/and g of the ring R. A public key h is computed as h = f~x * g (mod q). First and second intermediate private polynomial s and t are selected such that s * h = t and such that s and t are substantially congruent modulo/?. A third intermediate private polynomial a is selected so as to minimize the number of deviations between one of the message polynomials m and a quantity t + a * g (mod q). The first digital signature polynomial u then is computed as u - s + a */(mod q), and the second digital signature polynomial v is computed as v = t + a * g (mod q). Finally, the digital signature is verified by confirming that the deviation between m and u is less than a predetermined deviation threshold and that the deviation between m and v also is less than the predetermined deviation threshold.
[14] According to another embodiment of the present invention, there is provided another method of generating and verifying a digital signature of a message , wherein the digital signature includes two digital signature polynomials u and v. Two ideals ? and q of a ring R = Z [Xl( ^-1) are
selected. A private key is selected to include two private key polynomials/ and g of the ring R. A public key h is computed as h = /"' * g (mod q). A random polynomial r is selected, and a first intermediate polynomial t is computed as t = r * h (mod q). A second intermediate polynomial a is selected such that a has a Euclidean norm on the order of VN and so as to minimize the number of deviations between a message polynomial m and a quantity t + a * g (mod q). The first digital signature polynomial u then is computed as u = r + a */(mod q), and the second digital signature polynomial v is computed as v = t + α * g (mod q). Finally, the digital signature is verified by confirming that a Euclidean norm associated with the first digital signature polynomial u is on the order of N, and that the deviation between the message m and the second digital signature polynomial v is less than a predetermined deviation threshold.
[15] According to another embodiment of the present invention, there is provided a method of generating and verifying a digital signature of a message m, wherein the digital signature includes four digital signature polynomials u\t v , u2, and v2. Two ideals/? and q of a ring R = Z [Xl{)^-1)
are selected. A private key is selected to include two private key polynomials, /and g of the ring R. A public key h is computed as h = /"' * g (mod q). A one-time private key e is selected to include a one-time private key polynomial e of the ring R. Two one-time public key polynomials h\ and h2 are generated, wherein hi =fΛ * e (mod q) and h2 = gΛ * e (mod q). A first random polynomial ri is then selected. Next, a first intermediate polynomial t\ is computed as t\ = r * h\ (mod q), and a second intermediate polynomial α.\ is selected such that the Euclidean norm of α is on the order of VN and so as to minimize the number of deviations between one of the message polynomials m and the quantify t\ + α * e (mod q). The first digital signature polynomial U\ is then computed as u\ = r\ + α,\ *f (mod q), and the second digital signature polynomial Vi is computed as v\ = t\ + α\ * e (mod q). A second random polynomial r2 also is selected, a third intermediate polynomial t2 is computed as t2 = r2 * h2 (mod q), and a fourth intermediate polynomial α2 is selected such that the Euclidean norm of α2 is on the order of VN and so as to minimize the number of deviations between one of the message polynomials m and the quantify t + α2 * e (mod q). The third digital signature polynomial u2 is then computed as u2 = r2 + α2 * g (mod q), and the fourth digital signature polynomial v2 is computed as v2 = t2 + α2 * e (mod q). Finally, the digital signature is verified at least by confirming that the Euclidean norm of each of the first and third digital signature polynomials u and u2 is on the order of N, and that the deviation between the message m and each of the second and fourth digital signature polynomials vi and v2 is less than a predetermined deviation threshold.
[16] According to another embodiment of the present invention, there is provided an apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials. The apparatus includes a memory for storing ideals/? and q of the ring R and a private key including one or more private key polynomials of the ring R. The apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals/? and q such that the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R, and to verify the digital signature at least by confirming that a deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
[17] According to another embodiment of the present invention, there is provided an apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials. The apparatus includes a memory for storing ideals/? and q of the ring R and a private key including one or more private key polynomials of the ring R. The apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals/? and q, and to verify the digital signature at least by confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
[18] According to another embodiment of the present invention, there is provided an apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials. The apparatus includes a memory for storing ideals p and q of the ring R, a private key including one or more private key polynomials of the ring R, and auxiliary multiple-use private information. The apparatus also includes a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, at least one of the ideals/? and q, and the auxiliary multiple-use private information, and to verify the digital signature at least by confirming that a deviation between the digital signature polynomials and the public key satisfy a predetermined relationship.
BRIEF DESCRIPTION OF THE DRAWINGS
[19] The subsequent description of the preferred embodiments of the present invention refers to the attached drawings, wherein:
[20] FIG. 1 shows a flow diagram illustrating a method of generating and verifying a digital signature according to one presently preferred embodiment of the invention;
[21] FIG. 2 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention;
[22] FIG. 3 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention;
[23] FIG.4 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention;
[24] FIG. 5 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention; and [25] FIG. 6 shows a block diagram depicting a system for generating and verifying a digital signature according to another presently preferred embodiment of the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[26] Referring now to the accompanying drawings, FIG. 1 shows a flow diagram illustrating a method of generating and verifying a digital signature according to one presently preferred embodiment of the invention. The first step 102 in the generation of a digital signature is the selection of the ideals/? and q of a ring R. Preferably, all operations modulo/? are taken in the interval (-/?/2, p/2], and all operations modulo q are taken in the interval
(-ql2, ql2\. A preferred ring R is Z [X\l( ^-1), wherein Z is the ring of integers
and N is an integer greater than 1. In step 104, a private encryption key is selected. The private key includes one or more polynomials of the ring R. Preferably, the private key includes two polynomials/and g of the ring R. The private key polynomials also may be described as a row vector:
Figure imgf000011_0001
[27] The parameters N, /?, and q are publicly known. Preferably, p and q are relatively prime integers, — < q < — , and /? « q. For example,
(N, /?, q) = (251 , 3, 128) is one preferred choice of public parameter values. Additional public parameters include S{ and S& (the spaces of allowable polynomials for private keys/and g), as well as Sr (the space of intermediate polynomials that the signer uses during the signing procedure). These spaces are designed to limit the relevant polynomials to vectors that have relatively short Euclidean length (in comparison to a random vector from Zq N
chosen with uniform distribution). For instance, polynomials having a Euclidean norm on the order of VN shall be referred to as short, and polynomials having a Euclidean norm on the order of N shall be referred to as somewhat short. Accordingly, the convolution of two short polynomials typically produces a somewhat short polynomial. Preferably, both short and somewhat short polynomials are included in the spaces Sf, S&, and Sτ.
[28] There are three types of private keys that may be employed in the various embodiments of the present invention. According to the first type of keys, which shall be referred to as Key Type A, both/and g are short polynomials. According to the second type of keys, which shall be referred to as Key Type B, both/and g are short polynomials, and/≡ g ≡ k (mod/?) for some polynomial k (that is, the coefficients of/ g, and k are congruent modulo/?). A third type of key, which is used primarily for a one-time private key e, shall be referred to as Key Type C. According to Key Type C, e is a short polynomial, but the coefficient e0 is somewhat large (e.g., ql2p).
[29] After selecting the private key, a public key is generated in step 106. Preferably, the public key includes one or more public key polynomials. For instance, if the private key includes the polynomials/and g, a suitable public key polynomial h may be generated using the equation:
h = f;' * g (mod q) (2)
The polynomial /"' in Equation 2 denotes the inverse of the polynomial/in
R, = Zq [Xl()f-1). The "*" represents standard convolution, or polynomial
multiplication, over Z [A]/(Λ^-i):
Figure imgf000012_0001
A new private key and public key need not be generated for every signature. Rather, so long as the private key is not compromised, the same private key and public key may be used repeatedly to generate and verify numerous digital signatures. In this way, the private key polynomials/and g, and the public key polynomial h, may be referred to as being multiple-use keys.
[30] Optionally, in step 108, auxiliary multiple-use private information is selected. The auxiliary multiple-use private information, which may include one or more auxiliary private polynomials of the ring R, supplements the private key, but is not itself directly related to the private key. The auxiliary multiple-use private information may be used in the generation of digital signatures to prevent the signatures from leaking useful information about the private key. This provides a defense against the second-order averaging attack, which exploits weaknesses in signatures that leak useful information about the private key.
[31] The use of averaging attacks against NSS signatures is described in the Cryptanalysis of NSS papers. In short, an averaging attack determines a private key by analyzing the convergence of a number of digital signatures signed with that key. Because the elements that are used to generate a digital signature, other than the private key itself, are either random or known, a series of signatures created using the same private key will converge on a value related to the private key. For instance, the known elements converge on a known average, and the random elements become predictable over a large sample of signatures. By multiplying a series of digital signature polynomials by their reverse polynomials, it is possible to remove the known averages and to isolate/*/ev, which provides information directly related to the private key. Through this type of analysis over a transcript of signatures created using a particular private key, cryptanalysts have been able to extract information about the private key, and ultimately to determine the private key itself.
[32] The present invention presents multiple defenses to this type of averaging attack. For example, one defense involves deceiving the averaging attack by manipulating the convergence of a series of signatures. For example, a short or somewhat short polynomial r may be randomly generated such that r = a' */for a fixed and short/. The vector/ is auxiliary multiple- use private information, supplemental to the private key, but need not be and preferably is not related to either the private key or the public key. Then, if an attacker performs an averaging attack on a transcript of signature polynomials of the form r + a *f, for example, he can recover only a useless value related t°f*frev +f *frev< rather than the useful value of/*/ev.
[33] Another procedure for defending against an averaging attack according to the present invention is to keep the averaging attack from converging in a reasonable time. For example, compute an intermediate private polynomial a = /"' (m - t - d) (mod/?) may be computed, where d is another random and very short polynomial. The d polynomial acts as noise that delays the convergence of/*/ev. However, the use of the d polynomial in this manner introduces more deviations into the relevant digital signature polynomial. Accordingly, this approach preferably is used for a signature polynomial that is tested using a Euclidean norm constraint rather than a deviation constraint, as described more fully below.
[34] Returning to the method shown in FIG. 1, one or more message polynomials are generated in step 110. This step is message-dependent, and must be repeated for each new digital signature. Preferably the message polynomials are of the ring R, which allows convenient manipulation of the message polynomials in connection with the polynomials of the private key and the public key. The message polynomials may be generated according to known methods using one or more hash functions.
[35] A one-time private key may be selected in step 112. Unlike the multiple-use private key, the one-time private key is used to generate a single signature. A new one-time private key is selected for generation of the next signature. Selection of a one-time private key is optional, but may be used to increase the security of the digital signature, particularly with respect to an averaging attack, as described more fully below.
[36] Generation of the digital signature takes place in step 114. Preferably the digital signature includes one or more digital signature polynomials that are generated based on the message polynomials and the private key polynomials. The digital signature optionally may be generated using auxiliary multiple-use private information and/or a one-time private key in addition to the message polynomials and the private key polynomials. [37] Once a digital signature is created, the signer transmits the message along with the digital signature to an intended recipient. The recipient then may verify the digital signature in step 116. The verification may include one or more types of comparisons between the message, the digital signature, and the public key, which preferably is known to the verifier. For instance, the verifier may confirm a predetermined relationship between the digital signature polynomials and the public key polynomials. Additionally, the verifier may confirm that the deviation between the digital signature polynomials and the message polynomials is less than or equal to a predetermined deviation threshold. For a, b e Zq [XI(J^-1), the deviation
between a and b is denoted:
Dev(a,b) = #{ι : / ≠ (mod /?)} (4)
The verifier also may confirm that a norm of one or more of the digital signature polynomials is less than or equal to a predetermined norm threshold. Various norms may be used to constrain the digital signature polynomials, including, for instance, the L1 norm, the L2 (or Euclidean) norm, or any of the higher-order Lp norms. For the sake of convenience, the Euclidean norm is preferred.
[38] In the course of verifying a signature, the verifier generally uses a combination of two, or all three of these types of comparisons. For instance, the signature generally should confirm the predetermined relationship between the digital signature and the public key. In addition to this first test, the verifier generally should confirm at least one other comparison (i.e., the deviation constraint and/or the norm constraint) with respect to the digital signature polynomials. Various signature generation and verification procedures of the present invention will now be described in more detail with respect to FIGS. 2-5.
[39] FIG. 2 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention. In step 202, a private key is selected. Preferably, the private key is of Key Type B, including two short polynomials/ and g of the ring R, where/≡ g ≡ k (mod p) for some polynomial k. Based on the private key, a public key is then generated in step 204. The public key preferably includes a public key polynomial h that is computed according to Equation 2.
[40] One or more message polynomials m are then generated in step 206 based on the message to be signed. For instance, a message polynomial m preferably is computed using a hash function H( ), where H is a secure hash function. Alternatively, the message polynomials may include two separate hashes, Hι(m) and H2(m). Also, randomness may be added to the hash functions. For instance, a message polynomial may be computed as H(m,c), where c is a random value that will become part of the signature.
[41] Optionally, in step 208, a random private polynomial r is selected from the space Sτ such that r(1 ) = 0. Selection of r such that r(1 ) = 0 is not necessary, but is preferred for reasons explained below. Preferably, r also should be a short or somewhat short polynomial. If a random private key r is selected in step 208, then in step 210, a first intermediate private polynomial s is computed according to the equation:
s = pr * (1 — h)~[ (mod q) (5)
For efficiency, the parameter (1 - h)Λ may be pre-computed and stored as s'. In step 212, a second intermediate private polynomial t is computed according to the equation: t = s * h (mod q) (6)
Generally, s and t should be selected such that s * h = t, and such that s and t are substantially congruent modulo/?. This preserves the proper public key relationship between the digital signature polynomials u and v calculated in Equations 8 and 9, and helps to minimize the number of deviations between the message polynomial m and the digital signature polynomials u and v. Equations 5 and 6 provide one preferred method of achieving the proper relationship between 5 and t.
[42] A third intermediate private polynomial a is computed in step 214 according to the equation:
a = fp l * {m - s) (mod p) (7)
Generally, the third intermediate polynomial a should be selected such that a is a small polynomial and so as to minimize the deviations between the message polynomial m and the digital signature polynomials u and v calculated in Equation 9. Equation 7 provides one preferred method of computing an appropriate third intermediate polynomial a.
[43] The calculation of the three intermediate private polynomials s, t, and a is intended to produce as few deviations from the message polynomial m as possible. The selection of a random private polynomial r such that r(1 ) = 0, as described above, ensures that s and t = s * h (mod q) = s -pr (mod q) deviate in approximately the same way (i.e., s and t deviate in the same coefficient positions). Given that s and t deviate in the same way, their deviations can be corrected in tandem using the intermediate private polynomial a computed according to Equation 7.
[44] Given the three intermediate private polynomials, a first digital signature polynomial u is generated in step 216 according to the equation:
u = s + a * f (mod q) (8) A second digital signature polynomial v then is generated in step 218 according to the equation:
v = t + a * g (mod q) (9)
The polynomial pair (u, v) is the signature of the message. The addition of private intermediate polynomials s and t in the generation of the digital signature polynomials u and v is one of the ways that the present invention overcomes one of the security flaws found in NSS. This is because NSS signatures are simply multiples of the private key polynomials reduced modulo q: (s,t) - (f* w, g * w) (mod q) for some short multiplier polynomial w. As a result, NSS signatures have been subject to successful attacks that allow the attacker to learn the private keys/and g, as described more fully in the Cryptanalysis of NSS papers. By adding the private intermediate polynomials s and t'to the signature polynomials u and v, this embodiment of the present invention ensures that u and v, in unreduced form (i.e., before reduction modulo q), are not multiples of the private key polynomials in the ring R. In other words, u and v, when divided in the ring R^ by the private key polynomials/and g, respectively, yield somewhat short or larger polynomials. Other embodiments of the present invention employ intermediate private polynomials in the same manner.
[45] If two hashes, Hι(m) and H2(m) were used instead of m or H(m) to generate the signature, then the term pr in Equation 5 should be replaced with a short or somewhat short random private polynomial r that is congruent to Hι(w) - H2(m) (mod /?), and a should be computed according to the following modified version of Equation 7:
a = fp-l * (Hl(m) - s) (moά p) (10)
[46] After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and one or both of the digital signature polynomials u and v to an intended recipient. The recipient verifier then may verify the digital signature in step 220 at least by performing two comparisons. Collectively, these two comparisons shall be referred to as Condition A. In the first comparison, the verifier confirms that the digital signature polynomials and the signer's public key satisfy the predetermined relationship v = u * h (mod q). Alternatively, if the signer transmitted only one of the digital signature polynomials, such as u for instance, the verifier may compute the other digital signature polynomial v according to the predetermined relationship set forth above. This alternative, which generally applies to the various embodiments of the present invention, increases transmission efficiency by reducing the size of the digital signature that is transmitted. In either case, the verifier is required to conduct the second comparison to fully satisfy Condition A.
[47] In the second comparison, the verifier confirms that the deviation between the message polynomial m and each of the first and the second digital signature polynomials u and v is less than a predetermined deviation threshold. If two different hashes, H)(m) and H2(m), were used to generate the signature polynomials, then u should be checked for deviations from Hι( ), and v should be checked for deviations from H2(m). A deviation threshold of, for instance, NI5 coefficients per polynomial (i.e., approximately 50 deviations for N = 251 ) may be chosen to significantly reduce the likelihood of a forgery attack such as the one used to successfully forge NSS signatures, as described above. If both of the comparisons are satisfied, the verifier deems the signature authentic.
[48] To further increase security, the deviation threshold may be set even lower. Experimental results indicate that this particular embodiment of the present invention is capable of reliably generating digital signatures with less than NI8 deviations (i.e., less than 31 deviations for N = 251 ) without leaking useful information about the signer's private key. Other embodiments of the invention allow for even further reduction of the deviation threshold. One such alternative embodiment will now be described with reference to FIG. 3
[49] FIG. 3 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention. In step 302, a private key is selected. Preferably, the private key is of Key Type A, including two short polynomials/ and g. Note that the polynomials of Key Type A may be shorter (i.e., of lesser Euclidean norm) than the polynomials of Key Type B. This is because the polynomials of Key Type B must be not equal to one another and at the same time must be congruent modulo/?. As a result, one of the private key polynomials of Key Type B necessarily must have coefficients of larger magnitude. This is not required of the polynomials of Key Type A. The shorter private key polynomials of Key Type A therefore are less affected by the reduction modulo q, and thus the digital signature polynomials generated from Key Type A polynomials ultimately have fewer deviations from the message polynomials.
[50] In step 304, a public key is generated. As in the previous embodiment, the public key preferably includes a public key polynomial h that is computed according to Equation 2. One or more message polynomials m are then generated in step 306 based on the message to be signed. For instance, as described above, a message polynomial m preferably is computed using a hash function H(m). Alternatively, the message polynomials may include two separate hashes, Hx(m) and H2(m). Also, randomness may be added to the hash function. For instance, a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
[51] In step 308, a random private polynomial r is selected from the space Sτ. Preferably, the polynomial r is short or somewhat short. In step 310, a first intermediate private polynomial t is computed according to the equation: t = r * h (mod q) (11)
[52] In step 312, a second intermediate private polynomial a then is computed according to the equation:
a = g-1 * (m - t) (mod /?) (12)
Consistent with the verification conditions described below, the second intermediate private polynomial a is calculated to be short, and the calculation of the two intermediate private polynomials t and a is intended to produce as few deviations as possible between the second digital signature polynomial v, computed according to Equation 14, and the message polynomial m.
[53] Given the two intermediate private polynomials, a first digital signature polynomial u is generated in step 314 according to the equation:
u = r + a * f (mod q) (13)
A second digital signature polynomial v then is generated in step 316 according to the equation:
v = t + a * g (mod q) (14)
The polynomial pair (u, v) is the signature of the message. If two hashes, Hι(m) and H (m) were used instead of m to generate the signature, then a should be computed according to the following modified version of Equation 12:
= g;1 * (H2(m) ~ t) (moά p) (15)
[54] After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials u and v to an intended recipient. The recipient verifier then may verify the digital signature in step 318 by performing three comparisons. Collectively, these three comparisons shall be referred to as Condition B. First, the verifier confirms that the digital signature polynomials and the signer's public key satisfy the predetermined relationship v = u * h (mod q). Second, the verifier confirms that the first digital signature polynomial u is somewhat short. Third, the verifier confirms that the deviation between the message polynomial m and the second digital signature polynomial v is less than a predetermined deviation threshold. If each of the three comparisons are satisfied, the verifier deems the signature authentic.
[55] If two different hashes, Hι(m) and H2(m), were used to generate the signature polynomials, then v should be checked for deviations from H2( ), and the Euclidean norm constraint on u should be checked by confirming that the differential polynomial d = u - Hι( ) is somewhat short.
[56] Note that according to this embodiment, only the second digital signature polynomial v must satisfy a deviation condition with respect to the message polynomial m. This is because the first digital signature polynomial u is separately constrained by the second comparison, which requires that u be somewhat short. In this way, Condition B is a more rigorous set of criterion than Condition A because the deviation threshold is a local metric, which allows an attacker to ignore a number of coefficient positions. The Euclidean norm threshold, by contrast, is a global criterion, which is strongly influenced by every coefficient.
[57] As in the previous embodiment, a deviation threshold of, for example, N75 coefficients per polynomial (i.e., approximately 50 deviations for N - 251 ) may be chosen to significantly reduce the likelihood of a forgery attack such as the one used to successfully forge NSS signatures, as described above. To further increase security, the deviation threshold may be set even lower. Experimental results indicate that this particular embodiment of the present invention is capable of reliably generating digital signatures with 12 or less deviations (i.e., 20 or less deviations for N = 251 ) without leaking useful information about the signer's private key. The next embodiment, described now with reference to FIG.4, is capable of achieving similarly secure signatures.
[58] FIG.4 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention. In step 402, a private key is selected. As in the previous embodiment, the private key preferably is of Key Type A, including two short polynomials/and g. A one-time private key polynomial e then is generated in step 404. Given/ g, and e, a pair of one-time public key polynomials hi and h2 preferably is generated in step 406 according to the equations:
h — f ' * e (mod q) (16)
n 2 — S ' * e (mod q) (17)
Alternatively, hi and h2 could be generated according to the equations:
hχ = e"1 * / (mod q) (18)
h2 = e"1 * g (mod q) (19)
Equations 18 and 19 produce suitable polynomials for hi and h2, but require computation of the inverse one-time private key e"1 (mod q) on the fly. In addition, the use of Equations 18 and 19 requires similar substitution of e,/ and g in Equations 21-23 and 25-27 below.
[59] Although the one-time public key polynomials hi and h2 used to generate a signature according to this embodiment change with each new signature, the multiple-use public key polynomial h used to verify the signatures remains the same.
[60] One or more message polynomials m based on the message to be signed are then generated in step 408. For instance, as described above, a message polynomial m preferably is computed using a hash function H(m), where H is a secure hash function. Alternatively, the message polynomials may include two separate hashes, Hι(m) and H (m). Also, randomness may be added to the hash functions. For instance, a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
[61] In step 410, a first random private polynomial r\ is selected from the space Sτ. Preferably, the polynomial ri is short or somewhat short. In step 412, a first intermediate private polynomial tι is computed according to the equation:
t = r^ hx (mod q) (20)
Then, in step 414, a second intermediate private polynomial «ι is computed according to the equation:
α, — e~l * (m — t,) (mod /?) (21 )
[62] Given the first two intermediate private polynomials, a first digital signature polynomial u is generated in step 416 according to the equation:
K, = /; + <!, * / (mod ?) (22)
A second digital signature polynomial Vj then is generated in step 418 according to the equation:
v, = t{ + α, * e (mod q) (23)
[63] In step 420, a second random private polynomial r is selected from the space Sr. Preferably, the polynomial r2 is short or somewhat short. In step 422, a third intermediate private polynomial t is computed according to the equation:
t2 — r2 * h2 (mod q) (24) ln step 424, a fourth intermediate private polynomial a2 is computed according to the equation:
a2 = f: * (m - t2) (mod p) (25)
The calculation of the four intermediate private polynomials t\, t2, ] ? and a2 is intended to produce as few deviations from the message polynomial m as possible.
[64] Given the third and fourth intermediate private polynomials, a third digital signature polynomial u2 is generated in step 426 according to the equation:
u2 = r2 + a2 * g (mod q) (26)
A fourth digital signature polynomial v2 then is generated in step 428 according to the equation:
v2 = t2 + a2 * e (mod q) (27)
Collectively, the four digital signature polynomials (u\, u2, v v2) constitute the signature of the message.
[65] After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials u\, u2, v\, and v2 to an intended recipient. The recipient verifier then may verify the digital signature in step 430 by performing a modified version of the three Condition B comparisons described with reference to the previous embodiment. First, the verifier confirms that the digital signature polynomials and the signer's multiple-use public key satisfy the predetermined relationship v, h (mod q) . Second, the verifier confirms that each of the first and
third digital signature polynomials u and u is somewhat short. Third, the verifier confirms that the deviation between the message polynomial m and each of the second and fourth digital signature polynomials vj and v2 is less than a predetermined deviation threshold. If two separate hashes, Hι(m) and H (m), were used to generated the signature polynomials, then V) should be checked for deviations from Hι(m), and v2 should be checked for deviations from H (m). If each of the three comparisons described above are satisfied, the verifier deems the signature authentic.
[66] Note that according to this embodiment, only the second and fourth digital signature polynomials Vi and v2 need be compared for deviations from the message polynomial m. This is because, similar to the previous embodiment, the first and third digital signature polynomials u and u2 are separately constrained by the second comparison, the more rigorous Euclidean norm threshold, which requires that both wi and u be somewhat short. In addition, the use of a one-time private key in this embodiment protects the digital signatures from the averaging attack, which was used to uncover the private keys of NSS signatures. The one-time private key is designed to obviate an averaging attack. Because the v polynomials are related only to the one-time (single-use) private key, an averaging attack involving these polynomials reveals no useful cryptanalytic information. The averaging attack is necessarily limited to cryptanalysis of the u polynomials.
[67] For further protection from an averaging attack on the u polynomials, auxiliary multiple-use private polynomials/ and g' may be included in the generation of the digital signature polynomials. In particular, r may be computed as r( = a ' */, and r may be computed as r — a * g'. As described above, the use of auxiliary multiple-use private polynomials/ and g' manipulates the convergence of a transcript of digital signature polynomials, making it significantly more difficult to obtain useful information about the private key polynomials/and g using an averaging attack. For an even further measure of protection, more than one auxiliary multiple-use private polynomial may be used to generate each digital signature polynomial. For instance, r{ may be computed as n = a\ *f + a " */', and r may be computed as r2 = a * g' + a " * g".
[68] Regarding the deviation constraint, as in the previous embodiment, a threshold of, for example, NI5 coefficients per polynomial (i.e., approximately 50 deviations for/V = 251) may be chosen to significantly reduce the likelihood of a forgery attack such as the one used to successfully forge NSS signatures, as described above. To further increase security, the deviation threshold may be set even lower. Experimental results indicate that, like the previous embodiment, this embodiment of the present invention is capable of reliably generating digital signatures with TV/12 or less deviations (i.e., 20 or less deviations for N = 251 ) without leaking useful information about the signer's private key. The next embodiment, described with reference to FIG. 5, provides an even greater degree of security by further reducing the number of acceptable deviations.
[69] FIG. 5 shows a flow diagram illustrating a method of generating and verifying a digital signature according to another presently preferred embodiment of the invention. In step 502, a private key is selected. As in the previous embodiment, the private key preferably is of Key Type A, including two short polynomials/and g. A one-time private key polynomial e, preferably of Key Type C, then is generated in step 504, preferably such that the first coefficient e0 is somewhat large (e.g., ql2p). Given/ g, and e, a pair of public key polynomials h and h2 preferably is generated in step 506 according to the Equations 16 and 17, although hi and h2 also could be generated according to Equations 18 and 19 in the alternative.
[70] As described with reference to the previous embodiment, although one-time public key polynomials hi and h2 used to generate a signature change with each new signature, the multiple-use public key polynomial h used to verify the signatures remains the same.
[71] One or more message polynomials m based on the message to be signed are then generated in step 508. For instance, as described above, a message polynomial m preferably is computed using a hash function H(m), where H is a secure hash function. Alternatively, the message polynomials may include two separate hashes, Hι( ) and H2(m). Also, randomness may be added to the hash functions. For instance, a message polynomial m may be computed as H(m,c), where c is a random value that will become part of the signature.
[72] In step 510, a first random private polynomial rλ is selected from the space Sτ. Preferably, the polynomial r is short or somewhat short. In step 512, a first intermediate private polynomial tj is computed according to the equation:
ft = /j * A, (mod q) (28)
In step 514, a second intermediate private polynomial a\, which should be short, is selected such that the quantity tι + aι * e (mod q) has few or no deviations from the message m. More specifically, the coefficients of a are selected such that vi, computed below using Equation 30, has few or no deviations modulo ? from the message polynomial m. In addition, the somewhat large coefficient e0 of the one time private key e may be selected such that the coefficients of the quantity t + a\ * e (mod q) are close to the center of the interval (-q!2, q/2], which helps to prevent those coefficients from being reduced in the modulo q operation, thereby further reducing the likelihood of deviations modulo/?.
[73] Given the first two intermediate private polynomials t and a a first digital signature polynomial ux is generated in step 516 according to the equation:
ul = rl + al * f (mod q) (29) A second digital signature polynomial vt is then generated in step 518 according to the equation:
v, = t, + ax * e (mod q) (30)
[74] In step 520, a second random private polynomial r2 is selected from the space Sτ. Preferably, the polynomial r2 is short or somewhat short. Then, in step 522, a third intermediate private polynomial t2 is computed according to the equation:
t2 = r2 * h2 (mod q) (31)
In step 524, a fourth intermediate private polynomial a2 , which should be short, is selected such that the quantity t2 + a2 * e (mod q) has few or no deviations from the message polynomial m. This is accomplished in a manner similar to that described above with respect to ax in step 514. In selecting the values for the polynomials aι and a2 and the coefficient e0, the primary focus is on preventing deviations in the second and fourth digital signature polynomials Vj and v2. Although aι and a must be short polynomials to ensure that ux and u2 are somewhat short, there is no need to prevent deviations in ui or u because the verification constraint for ux and u depends on their Euclidean norm rather than their deviation from m. This allows for extremely precise manipulation of the coefficients in vi and v2, which enables effective prevention of deviations in Vj and v2.
[75] Given the third and fourth intermediate private polynomials, a third digital signature polynomial u2 is generated in step 526 according to the equation:
u2 = rι + a2 * f (mod <i) (32) A fourth digital signature polynomial v2 is then generated in step 528 according to the equation:
v2 = t2 + a2 * e (mod q) (33)
Collectively, the four digital signature polynomials (uh u2, vx, v2) constitute the signature of the message.
[76] After generating the digital signature as described above, the signer transmits the message, the message polynomial m, and the digital signature polynomials Ui, u2, vi t and v2 to an intended recipient. The recipient verifier then may verify the digital signature in step 530 by performing the same three modified Condition B comparisons that were used in the previous embodiment. First, the verifier confirms that the digital signature polynomials and the signer's multiple-use public key satisfy the predetermined relationship h (mod q) . Second, the verifier confirms that each of the first and
Figure imgf000030_0001
third digital signature polynomials u and u2 is somewhat short. Third, the verifier confirms that the deviation between the message m and each of the second and fourth digital signature polynomials Vj and v2 is less than a predetermined deviation threshold. If all three comparisons are satisfied, the verifier deems the signature to be authentic.
[77] Note that according to this embodiment, only the second and fourth digital signature polynomial vj and v2 need be compared for deviations from the message. This is because, as in the previous embodiment, the first and third digital signature polynomials ui and u2 are separately constrained by the second comparison, the more rigorous Euclidean norm threshold, which requires that both u and u2 be somewhat short. In addition, the use of a onetime private key e in this embodiment protects it from an averaging attack, as described more fully above with respect to the previous embodiment.
[78] For further protection from an averaging attack, as in the previous embodiment, auxiliary multiple-use private polynomials/ and g' may be included in the generation of the digital signature polynomials. In particular, ri may be computed as ri = a *f, and r may be computed as r2 = a2 * g'. As described above, the use of auxiliary multiple-use private polynomials/ and g' manipulates the convergence of a transcript of digital signature polynomials, making it significantly more difficult to obtain useful information about the private key polynomials/and g using an averaging attack. For an even further measure of protection, more than one auxiliary multiple-use private polynomial may be used to generate each digital signature polynomial. For instance, ri may be computed as r \ = a\ ' *f + a " ' */', and r may be computed as r2 = a2 * g' + a2" * g".
[79] As in the previous embodiment, a deviation threshold of, for example, N/5 coefficients per polynomial (i.e., approximately 50 deviations for N = 251 ) may be chosen to significantly reduce the likelihood of a forgery attack such as the one used to successfully forge NSS signatures, as described above. To further increase security, the deviation threshold may be set even lower. Due largely to the precise control allowed over the polynomials j and a and the coefficient e0. experimental results indicate that this embodiment of the invention is capable of reliably generating digital signatures with TV/100 or less deviations (i.e., 2 or less deviations for/V = 251 ) without leaking useful information about the signer's private key. In fact, with care in selecting ah a2, and e0 in this embodiment, the signer can reliably generate digital signatures with no deviations at all, while still leaking no useful information about the private key.
[80] Various methods of generating and verifying digital signatures according to the present invention have been described. A system for implementing these methods according to another embodiment of the present invention will now be described with reference to FIG. 6. The system includes a number of users 602, 604, 606, 608, each of which may act as a signer and/or a verifier. Each user includes a processor 610 in bidirectional communication with a memory 612. The processor 610 executes suitable program code for carrying out the procedures described above, and for generating information to be transmitted to another user. Suitable program code may be created according to methods known in the art. The memory 612 stores the program code, as well as intermediate results and other information used during execution of the digital signature generation and verification procedures.
[81] A communications network 620 is provided over which users may communicate. The communications network 620 may be of various common forms, including, for instance, a LAN computer network, a WAN computer network, and/or a mobile telephone network provide suitable communication networks.
[82] According to the present invention, user 602 may generate and transmit a digital signature via the communications network 620 to user 608. User 608 then may verify the signature of user 602 according to the procedures described above. Users 604 and 606 may communicate in a similar manner via the communications network 620. In addition, users 604 and 606 may communicate directly with one another via a suitable direct communications link as shown in FIG. 6.
[83] A trusted certificate authority 630 is provided to store and distribute public keys associated with the various users 602, 604, 606, 608. For instance, before verifying a signature from user 608, user 602 may request the certificate authority 630 to provide a copy of the public key for user 608 to be used in the verification procedures described above.
[84] The invention has been described in detail with particular reference to preferred embodiments thereof and illustrative examples, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.

Claims

1. A method of generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: selecting relatively prime ideals/? and g of a ring R; selecting a private key including one or more private key polynomials of the ring R; generating a public key using the private key and the second ideal q; generating one or more message polynomials based on the message; generating the digital signature polynomials using at least the following elements:
(a) at least one of the message polynomials;
(b) at least one of the private key polynomials; and
(c) at least one of the ideals ? and q wherein the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R; and verifying the digital signature at least by confirming that a deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
2. A method of generating and verifying a digital signature of a message as in claim 1 , wherein the ring R = Z
Figure imgf000033_0001
where
N is an integer greater than 1.
3. A method of generating and verifying a digital signature of a message as in claim 2, wherein the predetermined deviation threshold is less than or equal to N/5.
4. A method of generating and verifying a digital signature of a message as in claim 1, wherein the predetermined deviation threshold is equal to zero.
5. A method of generating and verifying a digital signature of a message as in claim 1, wherein the message polynomials are generated by performing one or more hash functions on the message.
6. A method of generating and verifying a digital signature of a message as in claim 1, wherein: the generation of the digital signature polynomials further comprises using:
(d) one or more random private polynomials.
7. A method of generating and verifying a digital signature of a message as in claim 1, further comprising: selecting a one-time private key; and wherein the generation of the digital signature polynomials further includes using:
(d) the one-time private key.
8. A method of generating and verifying a digital signature of a message as in claim 1 , wherein the verification further comprises: confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
9. A method of generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: selecting relatively prime ideals ? and q of a ring R; selecting a private key including one or more private key polynomials of the ring R; generating a public key using the private key and the second ideal q; generating one or more message polynomials based on the message; generating the digital signature polynomials using at least the following elements:
(a) at least one of the message polynomials;
(b) at least one of the private key polynomials; and
(c) at least one of the ideals ? and q; and verifying the digital signature at least by confirming that a norm associated with at least one of the digital signature polynomials is less than a predetermined norm threshold.
10. A method of generating and verifying a digital signature of a message as in claim 9, wherein the ring R = Z [XI(J^-1), where
N is an integer greater than 1.
11. A method of generating and verifying a digital signature of a message as in claim 10, wherein the norm associated with at least one of the digital signature polynomial is the norm of the at least one digital signature polynomial.
12. A method of generating and verifying a digital signature of a message as in claim 10, further comprising: computing a differential polynomial by subtracting one of the message polynomials from one of the digital signature polynomials; and wherein the norm associated with the at least one digital signature polynomial is the norm of the differential polynomial.
13. A method of generating and verifying a digital signature of a message as in claim 10, wherein: the norm is a Euclidean norm; and the predetermined norm threshold is on the order of TV.
14. A method of generating and verifying a digital signature of a message as in claim 9, wherein the message polynomials are generated by performing one or more hash functions on the message.
15. A method of generating and verifying a digital signature of a message as in claim 9, wherein: the generation of the digital signature polynomials further includes using:
(d) one or more random private polynomials.
16. A method of generating and verifying a digital signature of a message as in claim 9, further comprising: selecting a one-time private key; and wherein the generation of the digital signature polynomials further includes using:
(d) the one-time private key.
17. A method of generating and verifying a digital signature of a message as in claim 9, wherein the verification further comprises: confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
18. A method of generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: selecting ideals/? and q of a ring R; selecting a private key including one or more private key polynomials of the ring R; generating a public key using the private key and the second ideal q; generating one or more message polynomials based on the message; selecting auxiliary multiple-use private information; generating the digital signature polynomials using at least the following elements:
(a) at least one of the message polynomials;
(b) at least one of the private key polynomials;
(c) at least one of the ideals/? and q; and
(d) the auxiliary multiple-use private information; and verifying the digital signature at least by confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
19. A method of generating and verifying a digital signature of a message as in claim 18, wherein the ring R = Z [X]/^-!),
where N is an integer greater than 1.
20. A method of generating and verifying a digital signature of a message as in claim 18, wherein: the auxiliary multiple-use private information includes one or more auxiliary private key polynomials of the ring R.
21. A method of generating and verifying a digital signature of a message as in claim 20, wherein the generation of the digital signature polynomials further comprises: adjusting one or more of the digital signature polynomials using the auxiliary private key polynomials, such that a second- order averaging attack on the digital signature polynomials converges to a value dependent on the auxiliary private key polynomials.
22. A method of generating and verifying a digital signature of a message as in claim 18, wherein the verification of the digital signature polynomials further comprises: confirming that a deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
23. A method of generating and verifying a digital signature of a message as in claim 18, wherein the verification of the digital signature polynomials further comprises: confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
24. A method of generating and verifying a digital signature of a message as in claim 18, wherein the message polynomials are generated by performing one or more hash functions on the message.
25. A method of generating and verifying a digital signature of a message as in claim 18, wherein: the generation of the digital signature polynomials further comprises using:
(e) one or more random private polynomials.
26. A method of generating and verifying a digital signature of a message as in claim 18, further comprising: selecting a one-time private key; and wherein the generation of the digital signature polynomials further comprises using:
(e) the one-time private key.
27. A method of generating and verifying a digital signature of a message, wherein the digital signature includes two digital signature polynomials u and v, comprising: selecting relatively prime ideals p and q of a ring
R = Z [X\l()^-1), where TV is an integer greater than 1 ;
selecting a private key including two private key polynomials,/and g of the ring R; computing a public key h = /"' * g (mod q); generating one or more message polynomials m using the message; selecting a first intermediate private polynomial s and a second intermediate private polynomial t such that s * h = t and such that ^ and t are substantially congruent modulo/?; selecting a third intermediate private polynomial α so as to minimize the number of deviations between one of the message polynomials m and a quantity t + α * g (mod q); computing the first digital signature polynomial u = s + α */(mod q) computing the second digital signature polynomial v = t + α * g (mod q); and verifying the digital signature at least by confirming that a first deviation between one or more of the message polynomials m and the first digital signature polynomial u is less than a predetermined deviation threshold, and that a second deviation between one or more of the message polynomials m and the second digital signature polynomial v is less than the predetermined deviation threshold.
28. A method of generating and verifying a digital signature of a message as in claim 27, wherein: the private key polynomials/and g each are congruent modulo/? to a polynomial k of the ring R; and each of the private key polynomials/and g has a Euclidean norm on the order of VN .
29. A method of generating and verifying a digital signature of a message as in claim 27, further comprising: selecting a random polynomial r of the ring R; and wherein the selection of a first intermediate private polynomial s includes computing s = pr * (1 - A)"1 (mod q) the selection of a second intermediate private polynomial t includes computing t - s * h (mod q) and the selection of a third intermediate private polynomial a includes computing a = /"' * (m - s) (mod /?).
30. A method of generating and verifying a digital signature of a message as in claim 29, wherein the random polynomial r has a Euclidean norm on the order of Nor less.
31. A method of generating and verifying a digital signature of a message as in claim 29, wherein the predetermined deviation threshold is less than or equal to Λ78.
32. A method of generating and verifying a digital signature of a message as in claim 27, wherein the verification of the digital signature further comprises: confirming that u * h = v (mod q).
33. A method of generating and verifying a digital signature of a message as in claim 27, wherein the message polynomials m are generated using one or more secure hash functions H(m).
34. A method of generating and verifying a digital signature of a message as in claim 27, wherein the random polynomial r is selected such that r(1 ) = 0.
35. A method of generating and verifying a digital signature of a message, wherein the digital signature includes two digital signature polynomials u and v, comprising the steps of: selecting relatively prime ideals/? and q of a ring
R = Z [XI(J^-1), where TV is an integer greater than 1;
selecting a private key including two private key polynomials,/and g of the ring R; computing a public key h = /""' * g (mod q); generating one or more message polynomials m using the message; selecting a random polynomial r, computing a first intermediate polynomial t = r * h (mod q); selecting a second intermediate polynomial a such that a has a Euclidean norm on the order of VN and so as to minimize the number of deviations between a message polynomial m and a quantity t + a * g (mod q); computing the first digital signature polynomial u = r + a */(mod q) computing the second digital signature polynomial v = t + a * g (mod q); and verifying the digital signature at least by confirming that a Euclidean norm of the first digital signature polynomial u is on the order of N, and that a deviation between the message m and the second digital signature polynomial v is less than or equal to a predetermined deviation threshold.
36. A method of generating and verifying a digital signature of a message as in claim 35, wherein each of the private key polynomials/and g has a Euclidean norm on the order of VN •
37. A method of generating and verifying a digital signature of a message as in claim 35, wherein the random polynomial r has a Euclidean norm on the order of Nor less.
38. A method of generating and verifying a digital signature of a message as in claim 35, wherein the selection of a second intermediate polynomial a includes computing a = g' p * (m - 1) (mod /?).
39. A method of generating and verifying a digital signature of a message as in claim 38, wherein the predetermined deviation threshold is less than or equal to N/12.
40. A method of generating and verifying a digital signature of a message as in claim 35, wherein the verification of the digital signature further includes confirming that u * h = v (mod q).
41. A method of generating and verifying a digital signature of a message as in claim 35, wherein the message polynomials m are generated using one or more secure hash functions H(m).
42. A method of generating and verifying a digital signature of a message, wherein the digital signature includes four digital signature polynomials u , u2, and v2, comprising the steps of: selecting relatively prime ideals ? and q of a ring
R = Z [X]/^-!), where N is an integer greater than 1 ;
computing a public key h = f~ * g (mod q); selecting a one-time private key including a one-time private key polynomial e of the ring R; generating a pair of one-time public key polynomials h\ and h2, wherein hi =/"1 * e(mod q) and h2 — g Λ * e (mod q); selecting a first random polynomial r\ computing a first intermediate polynomial
Figure imgf000043_0001
selecting a second intermediate polynomial αι such that the Euclidean norm of αι is on the order of VN and so as to minimize the number of deviations between one of the message polynomials m and the quantify t + α * e (mod q); computing the first digital signature polynomial
Figure imgf000043_0002
computing the second digital signature polynomial V) = tx + αx * e (mod q); selecting a second random polynomial r2, computing a third intermediate polynomial t2 = r2 * h2 (mod q); selecting a second intermediate polynomial ax such that the Euclidean norm of a2 is on the order of VN and so as to minimize the number of deviations between one of the message polynomials m and the quantify t + a2 * e (mod q); computing the third digital signature polynomial u2 = r2 + a2 * g (mod q); computing the fourth digital signature polynomial v2 =z t2 + a2 * e (mod q) and verifying the digital signature at least by confirming that a Euclidean norm of each of the first and third digital signature polynomials ux and u2 is on the order of N, and that a deviation between the message m and each of the second and fourth digital signature polynomials vi and v2 is less than or equal to a predetermined deviation threshold.
43. A method of generating and verifying a digital signature of a message as in claim 42, wherein each of the private key polynomials/and g has a Euclidean norm on the order of VN .
44. A method of generating and verifying a digital signature of a message as in claim 42, wherein the random polynomials rx and r2 each have a Euclidean norm on the order of N or less.
45. A method of generating and verifying a digital signature of a message as in claim 42, wherein: the selection of a second intermediate polynomial αx includes computing αx = e "' * (m - t ) (mod/?); and the selection of a fourth intermediate polynomial α2 includes computing α2 = e "' * (m - 1 ) (mod /?).
46. A method of generating and verifying a digital signature of a message as in claim 45, wherein the predetermined deviation threshold is less than or equal to N/12.
47. A method of generating and verifying a digital signature of a message as in claim 42, wherein the selection of a one-time private key including a one-time private key polynomial e further includes selecting a first coefficient e0 of e to be on the order of ql2p.
48. A method of generating and verifying a digital signature of a message as in claim 47, wherein the predetermined deviation threshold is less than or equal to N/100.
49. A method of generating and verifying a digital signature of a message as in claim 47, wherein the predetermined deviation threshold is equal to zero.
50. A method of generating and verifying a digital signature of a message as in claim 42, wherein selection of the first random polynomial n and the second random polynomial r further includes using one or more auxiliary multi-use private polynomials to compute n and r .
51. A method of generating and verifying a digital signature of a message as in claim 50, wherein: selection of a first random polynomial r further includes computing r = a ' */, where a ' is a first random short polynomial and/ is a first auxiliary multi-use private polynomial; and selection of a second random polynomial r2 further includes computing r2 = a2 * g', where a2 is a second random short polynomial and g' is a second auxiliary multi-use polynomial.
52. A method of generating and verifying a digital signature of a message as in claim 50, wherein: selection of a first random polynomial ri further includes computing r = a\ *f + ax " */', where at ' and a " are first and second random short polynomials and f and f are first and second auxiliary multi-use private polynomial; and selection of a second random polynomial r further includes computing r2 = α * g' + α2" * g", where α2'and α2" are third and fourth random short polynomials and g' and g"are third and fourth auxiliary multi-use private polynomials.
53. A method of generating and verifying a digital signature of a message as in claim 42, wherein verifying the digital signature further includes confirming that ^ = h (mod q) .
1 ? v2 )
54. A method of generating and verifying a digital signature of a message as in claim 42, wherein the message polynomials m are generated using one or more secure hash functions H(m).
55. An apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: a memory for storing ideals /? and q of the ring R and a private key including one or more private key polynomials of the ring R; and a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals/? and q such that the digital signature polynomials in unreduced form are not multiples of the private key polynomials in the ring R, and to verify the digital signature at least by confirming that a deviation between at least one of the message polynomials and at least one of the digital signature polynomials is less than a predetermined deviation threshold.
56. An apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: a memory for storing ideals /? and q of the ring R and a private key including one or more private key polynomials of the ring R; and a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, and at least one of the ideals ? and q, and to verify the digital signature at least by confirming that a norm of at least one of the digital signature polynomials is less than a predetermined norm threshold.
57. An apparatus for generating and verifying a digital signature of a message, wherein the digital signature includes one or more digital signature polynomials, comprising: a memory for storing ideals p and q of the ring R, a private key including one or more private key polynomials of the ring R, and auxiliary multiple-use private information that is unrelated to the private key; and a processor operable to generate one or more message polynomials based on the message, to generate the digital signature polynomials using at least one of the message polynomials, at least one of the private key polynomials, at least one of the ideals/? and q, and the auxiliary multiple-use private information; and to verify the digital signature at least by confirming that a deviation between at least by confirming that the digital signature polynomials and the public key satisfy a predetermined relationship.
PCT/US2002/014099 2001-05-04 2002-05-03 Ring-based signature scheme WO2002091664A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US10/476,632 US20040151309A1 (en) 2002-05-03 2002-05-03 Ring-based signature scheme
JP2002588007A JP4053431B2 (en) 2001-05-04 2002-05-03 Ring-based signature scheme
EP02731656A EP1397884A4 (en) 2001-05-04 2002-05-03 Ring-based signature scheme

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US28884101P 2001-05-04 2001-05-04
US60/288,841 2001-05-04

Publications (1)

Publication Number Publication Date
WO2002091664A1 true WO2002091664A1 (en) 2002-11-14

Family

ID=23108876

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2002/014099 WO2002091664A1 (en) 2001-05-04 2002-05-03 Ring-based signature scheme

Country Status (4)

Country Link
EP (1) EP1397884A4 (en)
JP (1) JP4053431B2 (en)
CN (1) CN1268086C (en)
WO (1) WO2002091664A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006114948A1 (en) * 2005-04-18 2008-12-18 松下電器産業株式会社 Signature generation apparatus and signature verification apparatus
US7792286B2 (en) * 2005-04-18 2010-09-07 Panasonic Corporation Signature generation device and signature verification device
WO2009125537A1 (en) 2008-04-09 2009-10-15 パナソニック株式会社 Signature and verification method, signature generation device, and signature verification device
CN102006165B (en) * 2010-11-11 2012-11-07 西安理工大学 Ring signature method for anonymizing information based on multivariate public key cryptography
JP5790319B2 (en) * 2011-08-29 2015-10-07 ソニー株式会社 Signature verification apparatus, signature verification method, program, and recording medium
RU2016104527A (en) * 2013-07-12 2017-08-18 Конинклейке Филипс Н.В. ELECTRONIC SIGNATURE SYSTEM
WO2020000254A1 (en) * 2018-06-27 2020-01-02 深圳大学 Compact ring signature method and system under standard model
CN109743181B (en) * 2019-01-14 2022-04-19 深圳大学 Mail privacy protection method and device and terminal equipment
CN112003707A (en) * 2020-08-25 2020-11-27 湖南宸瀚信息科技有限责任公司 Quantum computation attack resistant block chain digital signature encryption method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4633036A (en) * 1984-05-31 1986-12-30 Martin E. Hellman Method and apparatus for use in public-key data encryption system
US5218637A (en) * 1987-09-07 1993-06-08 L'etat Francais Represente Par Le Ministre Des Postes, Des Telecommunications Et De L'espace Method of transferring a secret, by the exchange of two certificates between two microcomputers which establish reciprocal authorization
US5375170A (en) * 1992-11-13 1994-12-20 Yeda Research & Development Co., Ltd. Efficient signature scheme based on birational permutations
US5740250A (en) * 1995-12-15 1998-04-14 Moh; Tzuong-Tsieng Tame automorphism public key system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2263588C (en) * 1996-08-19 2005-01-18 Ntru Cryptosystems, Inc. Public key cryptosystem method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4633036A (en) * 1984-05-31 1986-12-30 Martin E. Hellman Method and apparatus for use in public-key data encryption system
US5218637A (en) * 1987-09-07 1993-06-08 L'etat Francais Represente Par Le Ministre Des Postes, Des Telecommunications Et De L'espace Method of transferring a secret, by the exchange of two certificates between two microcomputers which establish reciprocal authorization
US5375170A (en) * 1992-11-13 1994-12-20 Yeda Research & Development Co., Ltd. Efficient signature scheme based on birational permutations
US5740250A (en) * 1995-12-15 1998-04-14 Moh; Tzuong-Tsieng Tame automorphism public key system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1397884A4 *

Also Published As

Publication number Publication date
CN1268086C (en) 2006-08-02
CN1462520A (en) 2003-12-17
JP2004526387A (en) 2004-08-26
JP4053431B2 (en) 2008-02-27
EP1397884A1 (en) 2004-03-17
EP1397884A4 (en) 2006-02-15

Similar Documents

Publication Publication Date Title
Rodriguez-Henriquez et al. A brief introduction to modern cryptography
US20040151309A1 (en) Ring-based signature scheme
US7308097B2 (en) Digital signature and authentication method and apparatus
CA2130250C (en) Digital signature method and key agreement method
Bakhtiari et al. Cryptographic hash functions: A survey
US5231668A (en) Digital signature algorithm
US7372961B2 (en) Method of public key generation
Preneel The state of cryptographic hash functions
US6411715B1 (en) Methods and apparatus for verifying the cryptographic security of a selected private and public key pair without knowing the private key
US8553889B2 (en) Mix-net system
CN111342976B (en) Verifiable ideal on-grid threshold proxy re-encryption method and system
US20140344576A1 (en) Key validation scheme
KR0144086B1 (en) Electronic signature mathod
CN112118111B (en) SM2 digital signature method suitable for threshold calculation
EP2686978B1 (en) Keyed pv signatures
WO2002091664A1 (en) Ring-based signature scheme
KR100396740B1 (en) Provably secure public key encryption scheme based on computational diffie-hellman assumption
KR100431047B1 (en) Digital signature method using RSA public-key cryptographic based on CRT and apparatus therefor
Wang et al. Signature schemes based on two hard problems simultaneously
Bohli et al. On subliminal channels in deterministic signature schemes
EP1796308A2 (en) Ring-based signature scheme
CN115174101B (en) SM2 algorithm-based repudiation ring signature generation method and system
Xu et al. On the security of digital signature schemes based on error-correcting codes
JP4462511B2 (en) Session parameter generation method for Elgamal-like protocol
CN118473653A (en) Key negotiation identity authentication method and device based on lattice composite encryption signature

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG US UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

WWE Wipo information: entry into national phase

Ref document number: 028015193

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2002588007

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2002731656

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWP Wipo information: published in national office

Ref document number: 2002731656

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10476632

Country of ref document: US