# Patent application title: Method of generating a signature with "tight" security proof, associated verification method and signature scheme based on the diffie-hellman model

##
Inventors:
Benoit Chevallier-Mames (Cassis, FR)

Assignees:
GEMPLUS

IPC8 Class: AH04L932FI

USPC Class:
713176

Class name: Multiple computer communication using cryptography particular communication authentication technique authentication by digital signature representation or digital watermark

Publication date: 2009-05-28

Patent application number: 20090138718

Sign up to receive free email alerts when patent applications with chosen keywords are published SIGN UP

## Inventors list |
## Agents list |
## Assignees list |
## List by place |

## Classification tree browser |
## Top 100 Inventors |
## Top 100 Agents |
## Top 100 Assignees |

## Usenet FAQ Index |
## Documents |
## Other FAQs |

# Patent application title: Method of generating a signature with "tight" security proof, associated verification method and signature scheme based on the diffie-hellman model

##
Inventors:
Benoit Chevallier-Mames

Agents:
BUCHANAN, INGERSOLL & ROONEY PC

Assignees:
GEMPLUS

Origin: ALEXANDRIA, VA US

IPC8 Class: AH04L932FI

USPC Class:
713176

## Abstract:

The invention relates to a method of electronically signing a message m,
characterized in that it uses: p a prime integer, q a prime integer
divider of (p-1), g, an element of order q of the set Z_{p}of integers modulo p, H and G, hash functions, x a private key and y, for example y=g x mod p, a public key of the set Z

_{p}, to carry out the following steps, consisting in: E1: generating k, a random number k of the set Z

_{q}of integers modulo q, and calculating u=g

^{k}mod p, h=H(u), z=h

^{x}mod p and v=h

^{k}mod p, E2: calculating c=G (m, g, h, y, z, u, v) and s=k+c.x mod q, and E3: producing an electronic signature of the message m equal to (z, s, c). The invention also relates to a verification method and a signature scheme associated with the signature method.

## Claims:

**1.**Digital signature method for a message m, in which uses:p, a prime integer,q, a prime integer which is a divisor of (p-1),g, an element of the order q of the set Z

_{p}of modulo p integers, H and G, hash functions,x a private key and y, for example y=g x mod p, a public key from the set Zp,herein said method comprises the following steps:E1: generating a random number k from the set Z

_{q}of modulo q integers, and calculating u=g

^{k}mod p, h=H(u), z=h

^{x}mod p and v=h

^{k}mod p,E2: calculating c=G(m, g, h, y, z, u, v) and s=k+c.x mod q, andE3: producing a digital signature of the message m equal to (z, s, c).

**2.**Method according to claim 1, wherein:during an initialisation phase, the step E1 is carried out one or more times and a coupon (k, u, v, h, z) is stored at the end of each step, andsteps E2 and E3 are then carried out for each message m to be signed using a coupon (k, u, v, h, z) stored during the initialisation phase.

**3.**Method according to claim 1, wherein:during an initialisation phase, step E1 is carried out one or more times and a coupon (k, u, v, z) is stored at the end of each step, andsteps E2 and E3 are then carried out for each message m to be signed using a coupon (k, u, v, z) stored during the initialisation phase and recalculating h=H(u).

**4.**Method according to claim 1, also using a hash function 1, wherein:during step E1, t=I(g, h, y, z, u, v) is also calculated, and,during step E2, c is calculated as c=G(m, t).

**5.**Method according to claim 4, wherein:during an initialisation phase, step E1 is carried out one or more times and a coupon (k, z, t) is stored at the end of each step, andsteps E2 and E3 are then carried out for each message m to be signed using a coupon (k, z, t) stored during the initialisation phase.

**6.**Method according to claim 2, wherein, during steps E2 or E3, a stored coupon is used during the initialisation stage and not used again during the preceding steps E2 and E

**3.**

**7.**Method according to claim 1, wherein:during step E1, h is calculated as h=H(m, u),during step E2, c is calculated as c=G(g, h, y, z, u, v).

**8.**Method of verifying a digital signature (z, s, c) of a message m obtained by a signature method according to claims claim 1, comprising the following steps:F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(u') and v'=h.sup.'sz

^{-}c mod p, andF2: accepting the signature if c=G(m, g, h', y, z, u', v') or rejecting the signature otherwise.

**9.**Method of verifying a digital signature (z, s, c) of a message m obtained by a signature method according to claim 4, comprising the following steps:F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(u'), v'=h.sup.'sz

^{-}c mod p and t'=I(g, h', y, z, u', v'),F2: accepting the signature if c=G(m, t') or rejecting the signature otherwise.

**10.**Method of verifying a digital signature (z, s, c) of a message m obtained by a signature method according to claim 7, comprising the following steps:F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(m, u') and v'=h.sup.'sz

^{-}c mod p, andF2: accepting the signature if c=G(g, h', y, z, u', v') or rejecting the signature otherwise.

**11.**(canceled)

**12.**Portable electronic component, comprising means for implementing a digital signature method for a message m, which uses:p, a prime integer,g, a prime integer which is a divisor of (p-1),g, an element of the order q of the set Z

_{p}of modulo p integers,H and G, hash functions,x a private key and v, for example v=g x mod p, a public key from the set Zp, wherein said means executes the following steps:generating a random number k from the set Z

_{g}of modulo q integers, and calculating u=g

^{k}mod p, h=H(u), z=h

^{x}mod p and v=h

^{k}mod p,calculating c=G(m, g, h, V, z, u, v) and s=k+c.x mod q, andproducing a digital signature of the message m equal to (z, s, c).

**13.**Electronic component according to claim 12, wherein said electronic component is a chip card.

**14.**(canceled)

**15.**Method according to claim 3, wherein, during steps E2 or E3, a stored coupon is used during the initialisation stage and not used again during the preceding steps E2 and E

**3.**

**16.**Method according to claim 5, wherein, during steps E2 or E3, a stored coupon is used during the initialisation stage and not used again during the preceding steps E2 and E

**3.**

## Description:

**[0001]**The invention relates to proven secure digital signatures, based on the Diffie-Hellman problem. The invention also relates to verification methods and associated signature schemes. Some methods according to the invention can be implemented "on the fly", which enables the rapid generation of a digital signature once certain pre-calculations have been made. This makes the invention particularly useful in the context of portable objects with low computational power such as a chip card.

**[0002]**A digital signature of a message is one or more numbers dependent on both a secret key known only to the person signing the message, and the contents of the message to be signed. A digital signature must be verifiable: it must be possible for a third party to verify the validity of the signature, without requiring knowledge of the secret key of the person signing the message.

**[0003]**A signature scheme comprises a group of three methods (GEN_S, SIGN_S, VER_S):

**[0004]**GEN_S is a method of generating public and private keys.

**[0005]**SIGN_S is a method of generating a signature

**[0006]**VER_S is a method of verifying a signature.

**[0007]**There are numerous digital signature schemes. The best-known ones are:

**[0008]**The RSA signature scheme: this is the most commonly used digital signature scheme. Its security is based on the difficulty of factoring large numbers.

**[0009]**The Rabin signature scheme: its security is also based on the difficulty of factoring large numbers.

**[0010]**The El-Gamal type signature scheme: its security is based on the difficulty of the discrete logarithm problem. The discrete logarithm problem involves determining the existence of an integer x such that y=g

^{x}, where y and g are two elements of a set E having a group structure.

**[0011]**The Schnorr signature scheme: this is a variation of the El-Gamal type signature scheme. (Claus-Peter Schnorr, Efficient signature generation by smart cards, Journal of Cryptology, 4(3):161-174, 1991),

**[0012]**The Girault-Poupard-Stern signature scheme (Marc Girault: An identity-based identification scheme based on discrete logarithms modulo a composite number, EUROCRYPT'90, vol. 473 of Lecture Notes in Computer Science, pages 481-486; and Guillaume Poupard and Jacques Stern, Security analysis of a practical "on the fly" authentication and signature generation, EUROCRYPT'98, vol. 1403 of Lecture notes in Computer Science, pages 422-436, 1998)

**[0013]**the Poupard-Stern signature scheme (Guillaume Poupard and Jacques Stern, On the fly signatures based on factoring, ACM Conference on Computer and Communications Security, pages 37-45, 1999).

**[0014]**A signature scheme is said to be "proven secure" if it can, by a mathematical proof, use a potential attacker against the signature scheme (more specifically, if forged signatures, which is to say forged by this attacker, can be used) to solve a difficult problem, such as discrete logarithm or factorisation.

**[0015]**Some security proofs are determined by the so-called "random oracle model".

**[0016]**The random oracle model is an ideal model in which any hash function is considered to be completely random. As a hash function is not a completely random function in practice, a proof in the random oracle model is generally considered to be an indication that the scheme is constructed properly, but does not offer a complete guarantee of the security of the scheme in its practical application.

**[0017]**Conversely, a cryptographic scheme is said to be proven secure in the standard model when its security can be proven without speculating on the completely random nature of the hash functions. Such a security proof is particularly useful as it ensures complete confidence in the security of the scheme in its practical application.

**[0018]**The proofs can be tight reductions or loose reductions. A loose reduction uses an attacker and solves the difficult problem with low probability compared to that of the attacker. Conversely, a tight reduction solves the problem with probability very near to that of the attacker. Thus, a tight proof is a better security guarantee for a signature scheme.

**[0019]**Schemes with tight proven security are evidently preferable to schemes with loose proven security. However, in practice very few schemes have a tight security proof. For example, the RSA-PSS scheme and its derivatives based on the RSA problem are known (Ronald L. Rivest, Adi Shamir and Leonard M. Adleman, A method for obtaining digital signatures and public-key cryptosystems, Communications of the ACM, 21(2):120-126, 1978), or even the Rabin-PSS scheme based on the factorisation problem (Michael O. Rabin, Digital signatures and public-key functions as intractable as factorization, Tech. Rep. MIT/LCS/TR-212, MIT Laboratory for Computer Science, 1979). For a long time no schemes based on the Diffie-Hellman problem or the discrete logarithm problem and having a tight security proof were known, only schemes with loose security proof (David Pointcheval and Jacques Stern, Security proofs for signature schemes, in U. Maurer, editor, Advances in cryptology, EUROCRYPT'96, vol. 1070 of Lectures Notes in Computer Sciences, pages 387-398, Springer-Verlag, 1996).

**[0020]**Goh and Jarecki have suggested using a scheme based on the Diffie-Hellman problem, known as the EDL (Equivalent Discrete Algorithm) scheme, and recently proved that this scheme has a tight security proof in the random oracle model (Eurocrypt 2003, Ed. E. Biham, LNCS 2656, pp 401-415, 2003).

**[0021]**The EDL scheme comprises the key generation algorithm, the signature method and the verification method described above.

**[0022]**That is:

**[0023]**p, a prime integer of ∥p∥ bits, (the ∥p∥ notation means "number of bits of the binary number p")

**[0024]**q, a prime integer of ∥q∥ bits which is a divisor of (p-1),

**[0025]**g, an element g of the order q of the set Z

_{p}of modulo p integers,

**[0026]**G

_{g,p}a finite group generated by g.

**[0027]**M, the set of all messages

**[0028]**H, G, two hash functions such that H: M×{0,1}.sup.∥r∥->G

_{g,p}and G: (G

_{g,p})

^{6}->Z

_{q}.

**[0029]**The key generation method involves generating a random number xεZ

_{q}, then calculating y=g

^{x}mod p. y is the public key and x is the private key

**[0030]**The signature method makes it possible to sign a message m εM. For this purpose, a random integer r of ∥r∥bits and a random number k εZ

_{q}are generated, u=g

^{k}mod p, h=H(m, r), z=h

^{x}mod p, v=h

^{k}mod p, then c=G(g, h, y, z, u, v) and s=k+c.x mod q are calculated. The signature of m is then the quadruple (z, r, s, c).

**[0031]**The verification method verifies that a signature (z, r, s, c) is indeed the signature of a message mεM. h'=H(m, r), u'=g

^{sy}

^{-}c mod p and v'=h.sup.'sz

^{-}c mod p are calculated. The signature is accepted if c=G(g, h', y, z, u', v').

**[0032]**The EDL signature scheme supplies a signature of ∥P∥+2∥q∥+∥r∥ bits, which is a bit long but still acceptable for such a security level. Goh and Jarecki have shown that ∥r∥=111 can be used while still having a comfortable level of security.

**[0033]**A signature scheme is said to be "on the fly" when the signature generation can be split into two distinct phases: a first so-called precalculation phase, during which a datum (known as a coupon) independent of the message to be signed is precalculated, and the signature generation phase proper, during which a signature of a message m is calculated using the precalculated coupon, this latter phase being rapidly executable. In order to guarantee the security of the signature scheme, the same coupon can only be used once.

**[0034]**"On the fly" signature schemes are therefore particularly useful in the context of portable objects with low computational power such as chip cards. Such schemes enable quick signature generation by the portable object, while this is not possible using a standard signature scheme requiring much greater computational power.

**[0035]**In the publication "Improved online/offline signature schemes" by Shamir and Tauman (Proceedings of Crypto 01), the authors describe generic conversion means for obtaining an "on the fly" signature scheme from any signature scheme. The advantage of this conversion is that it preserves the security of the signature scheme: if the initial scheme has a security proof in the standard model, then the "on the fly" signature scheme obtained also has a security proof in the standard model.

**[0036]**The EDL scheme, in its initial version, is not intended for "on the fly" implementation using coupons. However, the above conversion method can be used on the EDL scheme so as to obtain an "on the fly" signature scheme having a tight signature proof in the random oracle model. And yet, the drawback of the conversion method is that it doubles the size of the public key as well as the size of the signature, and that it also increases the signature verification time. The total signature generation time (precalculation+generation) is itself increased.

**[0037]**However, Goh and Jarecki have indicated that it is possible to use the conversion method with a particular hash function, known as a chameleon hash function (H(m, r)=gmyr mod p) to transform the EDL scheme into a coupon scheme (Hugo Krawczyk and Tal Rabin, Chameleon Signatures, In Symposium on Network and Distributed System security--NDSS'00, pages 143-154, Internet Society, 2000, and also the publication "Improved online/offline signature schemes" by Shamir and Tauman (Proceedings of Crypto 01). Thus, forging a new signature is as complex as forging a new signature from the initial EDL scheme, or finding a collision in the chameleon hash function (which is to say to find two different numbers a, b such that H(a)=H(b))

**[0038]**The advantage of the obtained scheme is, evidently, the fact that the scheme works on the fly and can be implemented with limited hardware means. However, the drawback is a longer associated verification method, as it is necessary to calculate the chameleon hash function. Furthermore, using the chameleon hash function implies using a random number r of ∥q∥ bits. The obtained signature thus becomes ∥p∥+3∥q∥ bits in length. For cryptographic security reasons, q must be chosen with a size greater than 160 bits, and the signature obtained is therefore longer than a traditional EDL signature.

**[0039]**The invention aims to provide new signature methods based on the Diffie-Hellman problem, as secure as the EDL signature method (which is to say having a tight security proof), but which produce shorter signatures than the EDL method. Furthermore, certain methods according to the invention can be implemented "on the fly" using coupons, which is much faster than the EDL method. The invention also provides a verification method and associated signature scheme for each signature method according to the invention.

**[0040]**A method according to the invention implements a set of parameters, in particular:

**[0041]**p, a prime integer of ∥p∥ bits,

**[0042]**q, a prime integer of ∥q∥ bits which is a divisor of (p-1),

**[0043]**g, an element of the order q of the set Zp of modulo p integers,

**[0044]**G

_{g,p}, the finite group generated by g

**[0045]**H, G, hash functions,

**[0046]**x, a private key chosen randomly from Z

_{p}, and y an associated public key. y is, for example, calculated from the relation y=g x mod p (the notation g x or g

^{x}means modular exponentiation).

**[0047]**The method of digitally signing a message m according to the invention comprises the following steps, involving:

**[0048]**E1: generating k, a random number from the set Z

_{q}of modulo q integers, and calculating u=g

^{k}mod p, h=H(u), z=h

^{x}mod p and v=h

^{k}mod p,

**[0049]**E2: calculating c=G(m, 9, h, y, z, u, v) and s=k+c.x mod q, and

**[0050]**E3: producing a digital signature of the message m equal to (z, s, c).

**[0051]**The produced signature (z, s, c) comprises only three numbers z, s, and c and is equal in size to ∥p∥+2∥q∥, shorter than a signature obtained from an EDL scheme using ∥r∥=111 bits.

**[0052]**In a first implementation:

**[0053]**during an initialisation phase, the step E1 is carried out one or more times and a coupon (k, u, v, h, z) is stored at the end of each step, then

**[0054]**steps E2 and E3 are then carried out for each message m to be signed using a coupon (k, u, v, h, z) stored during the initialisation step.

**[0055]**In a second implementation:

**[0056]**during an initialisation phase, step E1 is carried out one or more times and a coupon (k, u, v, z) is stored at the end of each step, then

**[0057]**steps E2 and E3 are then carried out for each message m to be signed using a coupon (k, u, v, z) stored during the initialisation step and recalculating h=H(u).

**[0058]**These two embodiments of the invention have the advantage of being conducted by coupons without it being necessary to use an additional chameleon hash function, which comprises multi-exponentiation and therefore takes a long time. This enables on the fly implementation which is particularly favourable for portable systems, and much more advantageous than an implementation of the EDL scheme which does use a chameleon hash function.

**[0059]**Furthermore, in the case of the invention, the two embodiments of the invention do not have any additional cost (in terms of material resources or computation time) for the person verifying the obtained signature, as he/she does not have to calculate a chameleon hash function based on an exponentiation.

**[0060]**Moreover, the second embodiment of the invention uses smaller stored coupons:

**[0061]**in the first embodiment of the invention, the coupons comprise five numbers, that is 4.∥p∥+∥q∥ bits in total, and

**[0062]**in the second embodiment of the invention, the coupons comprise four numbers, that is 3.∥p∥+∥q∥ bits in total.

**[0063]**On the other hand, in the second embodiment of the invention, the signature computation time is a little longer than in the first embodiment of the invention, as h must be recalculated.

**[0064]**In a third embodiment of the invention:

**[0065]**during step E1, t=I(g, h, y, z, u, v) is also calculated, where I is a hash function, then during step E2, c=G(m, t) is calculated instead of c=G(m, g, h, y, z, u, v).

**[0066]**And preferably:

**[0067]**during an initialisation phase, step E1 is carried out one or more times and a coupon (k, z, t) is stored at the end of each step, then

**[0068]**steps E2 and E3 are then carried out for each message m to be signed using a coupon (k, z, t) stored during the initialisation step.

**[0069]**This coupon is smaller again (only three numbers, or ∥p∥+∥q∥+∥t∥ bits in total), which makes it possible to store a large number of coupons, even in a system with low memory capacity.

**[0070]**Furthermore, this variation with a coupon has no cost for the person verifying the signature: there is no need to calculate a chameleon hash function based on multi-exponentiation.

**[0071]**Finally, in the "on the fly" variation of the three embodiments of the invention, the so-called "on-line" steps, which is to say steps E2, E3, carried out when a signature is required, comprise only the calculation of a hash function, an addition and a modular multiplication, which is equivalent to the most efficient signature methods (in terms of computation time) currently known, in particular the Schnorr, Girault-Poupard-Stern or Poupard-Stern methods.

**[0072]**It should be noted that, preferably, in all the methods implemented on the fly, a coupon stored during the initialisation step is used during steps E2 and E3 and not used again during the preceding steps E2 and E3. This is for security reasons, naturally.

**[0073]**In a fourth embodiment of the invention:

**[0074]**during step E1, h=H(m, u) is calculated instead of h=H(u), then,

**[0075]**during step E2, c=G(g, h, y, z, u, v) is calculated instead of c=G(m, g, h, y, z, u, v).

**[0076]**This fourth embodiment of the invention is, in practice, an improvement of the traditional EDL method, a little different from the other three embodiments. A signature is obtained which is ∥r∥ bits shorter than a signature obtained by a traditional EDL method. However, this embodiment of the invention cannot easily be implemented on the fly with no additional cost, unlike the first three embodiments.

**[0077]**The invention also relates to a method of verifying a digital signature (z, s, c) of a message m obtained by a signature method according to the invention as described above.

**[0078]**If the signature method is implemented according to the first or second embodiment, the associated verification method comprises the following steps, involving:

**[0079]**F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(u') and v'=h.sup.'sz

^{-}c mod p, and

**[0080]**F2: accepting the signature if c=G(m, g, h', y, z, u', v') or rejecting the signature otherwise.

**[0081]**If the signature method is implemented according to the third embodiment, the associated verification method comprises the following steps, involving:

**[0082]**F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(u'), v'=h.sup.'sz

^{-}c mod p and t'=I(g, h', y, z, u', v'),

**[0083]**F2: accepting the signature if c=G(m, t') or rejecting the signature otherwise.

**[0084]**If the signature method is implemented according to the fourth embodiment, the associated verification method comprises the following steps, involving:

**[0085]**F1: calculating u'=g

^{sy}

^{-}c mod p, h'=H(m, u') and v'=h.sup.'sz

^{-}c mod p, and

**[0086]**F2: accepting the signature if c=G(g, h', y, z, u', v') or rejecting the signature otherwise.

**[0087]**Finally, the invention relates to a digital signature scheme with tight proven security in the random oracle model, during which the following is successively implemented:

**[0088]**a method of generating a public key y and a private key x such as used in the EDL scheme,

**[0089]**a signature method according to the invention as described above, and

**[0090]**an associated signature verification method according to the invention as described above.

**[0091]**All the signature methods according to the invention have tight proven security and are therefore at least as secure as the EDL signature method. The security proof of the methods according to the invention is similar to that developed for the EDL scheme in Eu-Jin Goh and Stanislaw Jarecki, A signature scheme as secure as the Diffie-Hellman problem. EUROCRYP'03, lecture notes in Computer science, pages 401-415, Springer Verlag, may 2003.

**[0092]**Finally, the invention relates to a portable electronic component comprising means for implementing a signature method and/or a verification method and/or a signature scheme according to the invention.

**[0093]**Such an electronic component is, for example, a chip card, or even a TPM (Trusted Platform Module) designed to be used in a standard unsecured PC computer.

User Contributions:

comments("1"); ?> comment_form("1"); ?>## Inventors list |
## Agents list |
## Assignees list |
## List by place |

## Classification tree browser |
## Top 100 Inventors |
## Top 100 Agents |
## Top 100 Assignees |

## Usenet FAQ Index |
## Documents |
## Other FAQs |

User Contributions:

Comment about this patent or add new information about this topic: