Method for signature and session key generation
17 claims: 17 independent, 0 dependent
- 1A method of authenticating a key established between a pair of correspondents (10, 12) A, B in a public key data communication system to permit exchange of information therebetween over a communication channel (14), each of said correspondents (10,12) having a respective private key a, b and a public key pA,pB derived from a generator α and respective ones of said private keys a, b, said method including the steps of:i) a first of said correspondents A selecting a first random integer x and exponentiating a function f(α) including said generator to a power g(x) to provide a first exponentiated function f(α)g(x);ii) said first correspondent A generating a first signature sA from said random integer x, said exponentiated function f(α)g(x), and said private key a to bind said integer x and said private key a;iii) said first correspondent A forwarding to a second correspondent B a message including said first exponentiated function f(α)g(x) and said signature sA;iv) said correspondent B selecting a second random integer y and exponentiating a function f'(α) including said generator to a power g(y) to provide a second exponentiated function f'(α)g(y) and generating a signature sB obtained from said second integer y, and said second exponentiated function f'(α)g(y) and said private key b to bind said integer y and said private key b;v) said second correspondent B forwarding a message to said first correspondent A including said second exponential function f'(α)g(y) and said signature sB;vi) each of said correspondents (10, 12) verifying the integrity of messages received by them by computing from said signature and said exponentiated function in said message received by them a value equivalent to said exponentiated function and comparing said computed value and said exponentiated function in said message received by them;vii) each of said correspondents (10, 12) constructing a session key K by exponentiating information made public by another of said correspondents (10, 12) with said random integer that is private to itself. Procédé d'authentification d'une clé établie entre deux correspondants (10, 12) A, B dans un système de communication de données à clé publique pour permettre l'échange d'information entre eux sur un canal de communication (14), chacun desdits correspondants (10, 12) ayant une clé respective a, b et une clé publique pA, pB dérivée d'un générateur á et desdites clés privées respectives a, b, ledit procédé comprenant les phases suivantes : i) un premier desdits correspondants, A, sélectionne un premier entier aléatoire x et élève une fonction f(á) qui comprend ledit générateur à une puissance g(x) pour obtenir une première fonction élevée à une puissance f(á)g(x) ;ii) ledit premier correspondant A génère une première signature sA à partir dudit entier aléatoire x, de ladite fonction élevée à une puissance f(á)g(x), et de ladite clé privée a pour lier ledit entier x et ladite clé privée a ;iii) ledit premier correspondant A envoie à un deuxième correspondant B un message comprenant ladite première fonction élevée à une puissance f(á)g(x) et ladite signature sA ;iv) ledit correspondant B sélectionne un deuxième entier aléatoire y et élève une fonction f'(á) qui comprend ledit générateur à une puissance g(y) pour obtenir une deuxième fonction élevée à une puissance f'(á)g(y)et il génère une signature sB à partir dudit deuxième entier y, et de ladite deuxième fonction élevée à une puissance f'(á)g(y) et de ladite clé privée b pour lier ledit entier y et ladite clé privée b ;v) ledit deuxième correspondant B envoie un message audit premier correspondant A comprenant ladite deuxième fonction élevée à une puissance f'(á)g(y)et ladite signature sB ;vi) chacun desdits correspondants (10, 12) vérifie l'intégrité des messages qu'il a reçu en calculant à partir de ladite signature et de ladite fonction élevée à une puissance dans ledit message qu'il a reçu une valeur équivalente à ladite fonction élevée à une puissance et il compare ladite valeur calculée et ladite fonction élevée à une puissance dans ledit message qu'il a reçu ;vii) chacun desdits correspondants (10, 12) construit une clé de session K en élevant à une puissance une information rendue publique par un autre desdits correspondants (10, 12) avec ledit entier aléatoire qui est privé pour lui. Verfahren zum Authentifizieren eines zwischen einem Paar von Korrespondenten (10, 12) A, B etablierten Schlüssels in einem auf asymmetrischer Verschlüsselung (public key) basierenden Datenübertragungssystem, um den Austausch von Informationen untereinander über einen Übertragungskanal (14) zu erlauben, wobei jeder der Korrespondenten (10, 12) jeweils einen privaten Schlüssel a, b und einen öffentlichen Schlüssel pA, pB, der von einem Generator α und jeweils einem der privaten Schlüssel a, b abgeleitet ist, besitzt, wobei das Verfahren die folgenden Schritte umfasst: i) ein erster der Korrespondenten A wählt eine erste ganze Zufallszahl x aus und potenziert eine Funktion f(α), die den Generator umfasst, mit einer Potenz g(x), um eine erste potenzierte Funktion f(α)g(x) vorzusehen;ii) der erste Korrespondent A erzeugt eine erste Signatur sA aus der ersten ganzen Zufallszahl x, der ersten potenzierten Funktion f(α)g(x) und dem privaten Schlüssel a, um die ganze Zufallszahl x und den privaten Schlüssel a zu verknüpfen;iii) der erste Korrespondent A schickt an einen zweiten Korrespondenten B eine Nachricht ab, welche die erste potenzierte Funktion f(α)g(x) und die Signatur sA umfasst;iv) der Korrespondent B wählt eine zweite ganze Zufallszahl y aus und potenziert eine Funktion f'(α), die den Generator umfasst, mit einer Potenz g(y), um eine zweite potenzierte Funktion f'(α)g(y) vorzusehen, und erzeugt eine Signatur sB aus der zweiten ganzen Zufallszahl y, der zweiten potenzierten Funktion f'(α)g(y) und dem privaten Schlüssel b, um die ganze Zufallszahl y und den privaten Schlüssel b zu verknüpfen;v) der zweite Korrespondent B schickt an den ersten Korrespondenten A eine Nachricht ab, welche die zweite potenzierte Funktion f'(α)g(y) und die Signatur sB umfasst;vi) jeder der Korrespondenten (10, 12) überprüft die Integrität der von ihm erhaltenen Nachrichten durch Berechnen eines der potenzierten Funktion entsprechenden Wertes aus der potenzierten Funktion und der Signatur in der von ihm empfangenen Nachricht und durch Vergleichen des berechneten Wertes mit der potenzierten Funktion in der von ihm empfangenen Nachricht;vii) jeder der Korrespondenten (10, 12) erstellt einen Sitzungsschlüssel K, indem er Informationen, die jeweils vom anderen Korrespondenten (10, 12) öffentlich gemacht wurden, mit der ganzen Zufallszahl, die für ihn selbst privat ist, potenziert.
- 2A method of claim 1 wherein said message forwarded by said first correspondent (10) includes an identification of the first correspondent (10). Procédé selon la revendication 1, dans lequel ledit message envoyé par ledit premier correspondant (10) comprend une identification du premier correspondant (10). Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die vom ersten Korrespondenten (10) abgeschickte Nachricht eine Identifikation des ersten Korrespondenten (10) umfasst.
- 3A method according to claim 1 wherein said message forwarded by said second correspondent (12) includes an identification of said second correspondent (12). Procédé selon la revendication 1, dans lequel ledit message envoyé par ledit deuxième correspondant (12) comprend une identification du deuxième correspondant (12). Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die vom zweiten Korrespondenten (12) abgeschickte Nachricht eine Identifikation des zweiten Korrespondenten (12) umfasst.
- 4A method according to claim 3 wherein said message forwarded by said first correspondent (10) includes an identification of the first correspondent (10). Procédé selon la revendication 3, dans lequel ledit message envoyé par ledit premier correspondant (10) comprend une identification du premier correspondant (10). Verfahren nach Anspruch 3, dadurch gekennzeichnet, dass die vom ersten Korrespondenten (10) abgeschickte Nachricht eine Identifikation des ersten Korrespondenten (10) umfasst.
- 5A method according to claim 1 wherein said function f(α) including said generator f(α) is said generator itself. Procédé selon la revendication 1, dans lequel ladite fonction f(á) comprenant ledit générateur f(á) est ledit générateur lui-même. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die den Generator f(α) umfassende Funktion f(α) der Generator selbst ist.
- 6A method according to claim 1 wherein said function f'(α) including said generator is said generator itself. Procédé selon la revendication 1, dans lequel ladite fonction f'(á) comprenant ledit générateur est ledit générateur lui-même. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die den Generator umfassende Funktion f'(α) der Generator selbst ist.
- 7A method according to claim 6 wherein said function f(α) including said generator is said generator itself. Procédé selon la revendication 6, dans lequel ladite fonction f(á) comprenant ledit générateur est ledit générateur lui-même. Verfahren nach Anspruch 6, dadurch gekennzeichnet, dass die den Generator umfassende Funktion f(α) der Generator selbst ist.
- 8A method according to claim 1 wherein said function f(α) including said generator includes the public key pB of said second correspondent (12). Procédé selon la revendication 1, dans lequel ladite fonction f(á) comprenant ledit générateur comprend la clé publique pB dudit deuxième correspondant (12). Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die den Generator umfassende Funktion f(α) den öffentlichen Schlüssel pB des zweiten Korrespondenten (12) umfasst.
- 9A method according to claim 1 wherein said function f'(α) including said generator includes the public key pA of said first correspondent (10). Procédé selon la revendication 1, dans lequel ladite fonction f'(á) comprenant ledit générateur comprend la clé publique pA dudit premier correspondant (10). Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die den Generator umfassende Funktion f'(α) den öffentlichen Schlüssel pA des ersten Korrespondenten (10) umfasst.
- 10A method according to claim 1 wherein said signature generated by a respective one of the correspondents (10, 12) combines the random integer, exponentiated function and private key of said respective one of the correspondents (10, 12). Procédé selon la revendication 1, dans lequel ladite signature générée par un respectif des correspondants (10, 12) combine l'entier aléatoire, la fonction élevée à une puissance et la clé privée du correspondant respectif des correspondants (10, 12). Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die von den jeweiligen Korrespondenten (10, 12) erzeugte Signatur die ganze Zufallszahl, die potenzierte Funktion und den privaten Schlüssel des jeweiligen Korrespondenten (10, 12) verknüpft.
- 11A method according to claim 10 wherein said signature of correspondent A is of the form x - rAa (mod p-1), where rA represents said first exponentiated function. Procédé selon la revendication 10, dans lequel ladite signature du correspondant A est de la forme x- rA a (mod p-1), où rA représente ladite fonction élevée à une puissance. Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten A die Form x-rAa(mod p-1) aufweist, wobei rA die erste potenzierte Funktion darstellt.
- 12A method according to claim 10 wherein said signature of correspondent A is of the form x + a(pB)x(mod p-1). Procédé selon la revendication 10, dans lequel ladite signature du correspondant A est de la forme x + a(pB)x(mod p-1). Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten A die Form x+a(pB)x(mod p-1) aufweist.
- 13A method according to claim 10 wherein said signature of correspondent A is of the form xrx1 - (rA)rx1 a (mod p-1)where x1 is a second random integer selected by A and rx1 = αx1. Procédé selon la revendication 10, dans lequel ladite signature du correspondant A est de la forme xrx1-(rA)=rx1 a (mod p-1) où x1 est un deuxième entier aléatoire sélectionné par A et rx1=αx1. Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten A die Form xrx1- (rA)rx1 a(mod p - 1) aufweist, wobei x1 eine zweite von A gewählte ganze Zufallszahl und rx1 = αx1 darstellt.
- 14A method according to claim 10 wherein said signature of correspondent B is of the form yB-rBb (mod p-1)where rB is said second exponentiated function. Procédé selon la revendication 10, dans lequel ladite signature du correspondant B est de la forme yB-rBb (mod p-1) où rB est ladite deuxième fonction élevée à une puissance. Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten B die Form yB-rBb(mod p-1) aufweist, wobei rB die zweite potenzierte Funktion darstellt.
- 15A method according to claim 10 wherein said signature of correspondent B is of the form y + b (pA)y(mod p-1). Procédé selon la revendication 10, dans lequel ladite signature du correspondant B est de la forme y + b (pA)y (mod p-1). Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten B die Form y+b(pA)y(mod p-1) aufweist.
- 16A method according to claim 10 wherein said signature of correspondent B is of the form yry1 - (rB)ry1b (mod p-1) where y1 is a second integer selected by correspondent B and ry1 = αy1. Procédé selon la revendication 10, dans lequel ladite signature du correspondant B est de la forme yry1-(rB)ry1b (mod p-1) où y1 est un deuxième entier aléatoire sélectionné par le correspondant B et r y1=αy1. Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass die Signatur des Korrespondenten B die Form yry1 -(rB)ry1b(mod p - 1) aufweist, wobei y1 eine zweite vom Korrespondenten B gewählte ganze Zufallszahl und ry1 = αy1 darstellt.
- 17A method according to claim 11 wherein said correspondent A selects a second integer x1 and forwards rA1 to correspondent B where rA1 = αx1 and said correspondent B selects a second random integer y1 and sends rB1 to correspondent A, where rB1 = αx1 each of said correspondents (10, 12) computing a pair of keys k1, k2 equivalent to αxy and αx1y1 respectively, said session key K being generated by XORing k1 and k2. Procédé selon la revendication 11, dans lequel ledit correspondant A sélectionne un deuxième entier x1 et envoie rA1 au correspondant B où rA1=αx1 et ledit correspondant B sélectionne un deuxième entier aléatoire y1 et envoie rB1au correspondant A, où rB1=αx1 chacun desdits correspondants (10, 12) calculant une paire de clé k1, k2 équivalant à áxy et à αx1y1 respectivement, ladite clé de cession K étant générée en soumettant k1 et k2 à une opération XOR. Verfahren nach Anspruch 11, dadurch gekennzeichnet, dass der Korrespondent A eine zweite ganze Zahl x1 wählt und rA1 an den Korrespondenten B sendet, wobei rA1 = αx1 ist, und der Korrespondent B eine zweite ganze Zahl y1 wählt und rB1 an den Korrespondenten A sendet, wobei rB1 = αx1 ist, und jeder der Korrespondenten (10, 12) ein Schlüsselpaar k1, k2 entsprechend zu αxy bzw. αx1y1 berechnet, wobei der Sitzungsschlüssel K durch eine XOR-Verknüpfung von k1 und k2 erzeugt wird.
Independent claims17
49 paragraphs, as filed
The present invention relates to key agreement protocols for transfer and authentication of encryption keys.
To retain privacy during the exchange of information it is well known to encrypt data using a key. The key must be chosen so that the correspondents are able to encrypt and decrypt messages but such that an interceptor cannot determine the contents of the message.
In a secret key cryptographic protocol, the correspondents share a common key that is secret to them. This requires the key to be agreed upon between the correspondents and for provision to be made to maintain the secrecy of the key and provide for change of the key should the underlying security be compromised.
Public key cryptographic protocols were first proposed in 1976 by Diffie-Hellman and utilized a public key made available to all potential correspondents and a private key known only to the intended recipient. The public and private keys are related such that a message encrypted with the public key of a recipient can be readily decrypted with the private key but the private key cannot be derived from the knowledge of the plaintext, ciphertext and public key.
Key establishment is the process by which two (or more) parties establish a shared secret key, called the session key. The session key is subsequently used to achieve some cryptographic goal, such as privacy. There are two kinds of key agreement protocol; key transport protocols in which a key is created by one party and securely transmitted to the second party; and key agreement protocols, in which both parties contribute information which jointly establish the shared secret key. The number of message exchanges required between the parties is called the number of passes. A key establishment protocol is said to provide implicit key authentication (or simply key authentication) if one party is assured that no other party aside from a specially identified second party may learn the value of the session key. The property of implicit key authentication does not necessarily mean that the second party actually possesses the session key. A key establishment protocol is said to provide key confirmation if one party is assured that a specially identified second party actually has possession of a particular session key. If the authentication is provided to both parties involved in the protocol, then the key authentication is said to be mutual; if provided to only one party, the authentication is said to be unilateral.
There are various prior proposals which claim to provide implicit key authentication.
Examples include the Nyberg-Rueppel one-pass protocol (described in EP 0 639 907) and the Matsumoto-Takashima-Imai (MTI) and the Goss (described in EP 0 393 806) and Yacobi two-pass protocols for key agreement.
The prior proposals ensure that transmissions between correspondents to establish a common key are secure and that an interloper cannot retrieve the session key and decrypt the ciphertext. In this way security for sensitive transactions such as transfer of funds is provided.
For example, the MTI/A0 key agreement protocol establishes a shared secret K, known to the two correspondents, in the following manner:- <ul id="ul0001" list-style="none" compact="compact"><li>1. During initial, one-time setup, key generation and publication is undertaken by selecting and publishing an appropriate system prime p and generator αε<i>Z</i><maths id="math0001" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">p</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0001.tif" /></maths> in a manner guaranteeing authenticity. Correspondent A selects as a long-term private key a random integer a",1<a<p-1, and computes a long-term public key z<sub>A</sub> = a<sup>a</sup> mod p. B generates analogous keys b, z<sub>B</sub>. A and B have access to authenticated copies of each other's long-term public key.</li><li>2. The protocol requires the exchange of the following messages. <maths id="math0002" num="(1)"><math display="block"><mrow><msup><mrow><mtext>A → B: α</mtext></mrow><mrow><mtext>x</mtext></mrow></msup><mtext> mod p</mtext></mrow></math><img file="EP0739105B1_D0002.tif" /></maths><maths id="math0003" num="(2)"><math display="block"><mrow><msup><mrow><mtext>A ← B: α</mtext></mrow><mrow><mtext>y</mtext></mrow></msup><mtext> mod p</mtext></mrow></math><img file="EP0739105B1_D0003.tif" /></maths> The values of x and y remain secure during such transmissions as it is impractical to determine the exponent even when the value of α and the exponentiation is known provided of course that p is chosen sufficiently large. </li><li>3. To implement the protocol the following steps are performed each time a shared key is required. <ul id="ul0002" list-style="none" compact="compact"><li>(a) A chooses a random integer x,1≤x≤p-2, and sends B message (1) i.e. α<sup>x</sup> mod p.</li><li>(b) B chooses a random integer y,1≤y≤p-2, and sends A message (2) i.e. α<sup>y</sup> mod p.</li><li>(c) A computes the key K = (α<sup>y</sup>)<sup>a</sup>z<sub>B</sub><sup>x</sup> mod p .</li><li>(d) B computes the key K = (α<sup>x</sup>)<sup>b</sup>z<sub>A</sub><sup>y</sup> mod p.</li><li>(e) Both share the key K - α<sup>bx+ay</sup>.</li></ul></li></ul>
In order to compute the key K, A must use his secret key a and the random integer x, both of which are known only to him. Similarly B must use her secret key b and random integer y to compute the session key K. Provided the secret keys a,b remain uncompromised, an interloper cannot generate a session key identical to the other correspondent. Accordingly, any ciphertext will not be decipherable by both correspondents.
As such this and related protocols have been considered satisfactory for key establishment and resistant to conventional eavesdropping or man-in-the-middle attacks.
In some circumstances it may be advantageous for an adversary to mislead one correspondent as to the true identity of the other correspondent.
In such an attack an active adversary or interloper E modifies messages exchanged between A and B, with the result that B believes that he shares a key K with E while A believes that she shares the same key K with B. Even though E does not learn the value of K the misinformation as to the identity of the correspondents may be useful.
A practical scenario where such an attack may be launched successfully is the following. Suppose that B is a bank branch and A is an account holder. Certificates are issued by the bank headquarters and within the certificate is the account information of the holder. Suppose that the protocol for electronic deposit of funds is to exchange a key with a bank branch via a mutually authenticated key agreement. Once B has authenticated the transmitting entity, encrypted funds are deposited to the account number in the certificate. If no further authentication is done in the encrypted deposit message (which might be the case to save bandwidth) then the deposit will be made to E's account.
It is therefore an object of the present invention to provide a protocol in which the above disadvantages are obviated or mitigated.
According therefore to the present invention there is provided a method according to the appended claims.
Thus although the interloper E can substitute her public key p<sub>E</sub> = α<sup>ac</sup> in the transmission as part of the message, B will use p<sub>E</sub> rather than p<sub>A</sub> when authenticating the message. Accordingly the computed and transmitted values of the exponential functions will not correspond.
Embodiments of the invention will now be described by way of example only with reference to the accompanying drawings in which:- <ul id="ul0003" list-style="none" compact="compact"><li>Figure 1 is a schematic representation of a data communication system.</li></ul>
Referring therefore to Figure 1, a pair of correspondents, 10,12, denoted as correspondent A and correspondent B, exchange information over a communication channel 14. A cryptographic unit 16,18 is interposed between each of the correspondents 10,12 and the channel 14. A key 20 is associated with each of the cryptographic units 16,18 to convert plaintext carried between each unit 16,18 and its respective correspondent 10,12 into ciphertext carried on the channel 14.
In operation, a message generated by correspondent A, 10, is encrypted by the unit 16 with the key 20 and transmitted as ciphertext over channel 14 to the unit 18.
The key 20 operates upon the ciphertext in the unit 18 to generate a plaintext message for the correspondent B, 12. Provided the keys 20 correspond, the message received by the correspondent 12 will be that sent by the correspondent 10.
In order for the system shown in Figure 1 to operate it is necessary for the keys 20 to be identical and therefore a key agreement protocol is established that allows the transfer of information in a public manner to establish the identical keys. A number of protocols are available for such key generation and are variants of the Diffie-Hellman key exchange. Their purpose is for parties A and B to establish a secret session key K.
The system parameters for these protocols are a prime number p and a generator α of the multiplicative group <b><i>Z</i></b><maths id="math0004" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">P</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0004.tif" /></maths>. Correspondent A has private key a and public key p<sub>A</sub> = α<sup>a</sup>. correspondent B has private key b and public key p<sub>B</sub> = α<sup>b</sup>. In the protocol exemplified below, text<sub>A</sub> refers to a string of information that identifies party A. If the other correspondent B possesses an authentic copy of correspondent A's public key, then text<sub>A</sub> will contain A's public-key certificate, issued by a trusted center; correspondent B can use his authentic copy of the trusted center's public key to verify correspondent A's certificate, hence obtaining an authentic copy of correspondent A's public key.
In each example below it is assumed that, an interloper E wishes to have messages from A identified as having originated from E herself. To accomplish this, E selects a random integer e, 1≤e≤p-2, computes p<sub>E</sub>=(p<sub>A</sub>)<sup>c</sup>=α<sup>ac</sup> mod p , and gets this certified as her public key. E does not know the exponent ae, although she knows e. By substituting text<sub>E</sub> for text<sub>A</sub>, the correspondent B will assume that the message originates from E rather than A and use E's public key to generate the session key K. E also intercepts the message from B and uses his secret random integer e to modify its contents. A will then use that information to generate the same session key allowing A to communicate with B.
To avoid interloper E convincing B that he is communicating with E, the following protocol is adapted.
The purpose of the protocol is for parties A and B to establish a session key K. The protocols exemplified are role-symmetric and non-interactive.
The system parameters for this protocol are a prime number p and a generator α of the multiplicative group <i>Z</i><maths id="math0005" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">P</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0005.tif" /></maths> .User A has private key a and public key p<sub>A</sub> = α<sup>a</sup>. User B has private key b and public key p<sub>B</sub> = α<sup>b</sup>.
First Protocol
<ul id="ul0004" list-style="none" compact="compact"><li>1. A picks a random integer x,1≤x≤p-2, and computes r<sub>A</sub> = α<sup>x</sup> and a signature s<sub>A</sub> = x - r<sub>A</sub>a (mod p - 1) . A sends {r<sub>A</sub>,s<sub>A</sub>,text<sub>A</sub>} to B.</li><li>2. B picks a random integer y,1≤y≤p-2, and computes r<sub>B</sub> = α<sup>y</sup> and a signature s<sub>B</sub> = y - r<sub>B</sub>b (mod p -1). B sends {r<sub>B</sub>,s<sub>B</sub>,text<sub>B</sub>} to A.</li><li>3. A computes <i>α</i><sup><i>s</i><sub2><i>B</i></sub2></sup>(<i>p</i><sub><i>B</i></sub>)<sup><i>r</i><sub2><i>B</i></sub2></sup> and verifies that this is equal to r<sub>B</sub>. A computes the session key<maths id="math0006" num=""><math display="block"><mrow><msub><mrow><mtext>K = (r</mtext></mrow><mrow><mtext>B</mtext></mrow></msub><msup><mrow><mtext>)</mtext></mrow><mrow><mtext>x</mtext></mrow></msup><msup><mrow><mtext> = α</mtext></mrow><mrow><mtext>xy</mtext></mrow></msup><mtext>.</mtext></mrow></math><img file="EP0739105B1_D0006.tif" /></maths></li><li>4. B computes <i>α</i><sup><i>s</i><sub2><i>A</i></sub2></sup>(<i>p</i><sub><i>A</i></sub>)<sup><i>r</i><sub2><i>A</i></sub2></sup> and verifies that this is equal to r<sub>A</sub>. B computes the sessin key<maths id="math0007" num=""><math display="block"><mrow><msub><mrow><mtext>K = (r</mtext></mrow><mrow><mtext>A</mtext></mrow></msub><msup><mrow><mtext>)</mtext></mrow><mrow><mtext>y</mtext></mrow></msup><msup><mrow><mtext> = α</mtext></mrow><mrow><mtext>xy</mtext></mrow></msup><mtext>.</mtext></mrow></math><img file="EP0739105B1_D0007.tif" /></maths></li></ul>
Should E replace text A with text<sub>E</sub>, B will compute <i>α</i><sup><i>s</i><sub2><i>B</i></sub2></sup>(<i>p</i><sub><i>E</i></sub>)<sup><i>r</i><sub2><i>A</i></sub2></sup> which will not correspond with the transmitted value of r<sub>A</sub>. B will thus be alerted to the interloper E and will proceed to initiate another session key.
One draw back of the first protocol is that it does not offer perfect forward secrecy. That is, if an adversary learns the long-term private key a of party A, then the adversary can deduce all of A's past session keys. The property of perfect forward secrecy can be achieved by modifying Protocol 1 in the following way.
Modified First Protocol
In step 1, A also sends α<sup><i>x</i></sup>1 to B, where x<sub>1</sub> is a second random integer generated by A. Similarly, in step 2 above, B also sends α<sup><i>y</i></sup>1 to A, where y<sub>1</sub> is a random integer. A and B now compute the key K = α<sup><i>xy</i></sup>⊕α<sup><i>x</i><sub2>1</sub2><i>y</i><sub2>1</sub2></sup> .
Another drawback of the first protocol is that if an adversary learns the private random integer x of A, then the adversary can deduce the long-term private key a of party A from the equation s<sub>A</sub> = x -r<sub>A</sub>a mod p - 1. This drawback is primarily theoretical in nature since a well designed implementation of the protocol will prevent the private integers from being disclosed.
Second Protocol
A second protocol set out below addresses these two drawbacks. <ul id="ul0005" list-style="none" compact="compact"><li>1. A picks a random integer x,1≤x≤p-2, and computes (p<sub>B</sub>)<sup>x</sup>,α<sup>x</sup> and a signature s<sub>A</sub> = x + a(p<sub>B</sub>)<sup>x</sup> (mod p-1). A sends {α<sup>x</sup>,s<sub>A</sub>,text<sub>A</sub>} to B.</li><li>2. B picks a random integer y,1≤y≤p-2, and computes (p<sub>A</sub>)<sup>y</sup>,α<sup>y</sup> and a signature s<sub>B</sub> = y + b(p<sub>A</sub>)<sup>y</sup> (mod p-1). B sends {α<sup>y</sup>,s<sub>B</sub>,text<sub>B</sub>} to A.</li><li>3. A computes (α<sup>y</sup>)<sup>a</sup> and verifies that <i>α</i><sup><i>s</i><sub2><i>B</i></sub2></sup>(<i>p</i><sub><i>B</i></sub>)<sup><i>-α</i></sup><sup><i>ay</i></sup>=<i>α</i><sup><i>y</i></sup> . A then computes session key K = α<sup>ay</sup>(p<sub>B</sub>)<sup>x</sup>.</li><li>4. B computes (α<sup>x</sup>)<sup>b</sup> and verifies that α<sup><i>s</i><sub2><i>A</i></sub2></sup>(<i>p</i><sub><i>A</i></sub>)<sup>-α</sup><sup><i>bx</i></sup>=α<sup><i>x</i></sup>. A then computes session key K = α<sup>bx</sup>(p<sub>A</sub>)<sup>y</sup>.</li></ul>
The second protocol improves upon the first protocol in the sense that if offers perfect forward secrecy. While it is still the case that disclosure of a private random integer x allows an adversary to learn the private key a, this will not be a problem in practice because A can destroy x as soon as she uses it in step 1 of the protocol.
If A does not have an authenticated copy of B's public key then B has to transmit a certified copy of his key to B at the beginning of the protocol. In this case, the second protocol is a three pass protocol.
The quantity s<sub>A</sub> serves as A's signature on the value α<sup>x</sup>. This signature has the novel property that it can only be verified by party B. This idea can be generalized to all ElGamal-like signatures schemes.
A further protocol is available for parties A and B to establish a session key K.
Third Protocol
The system parameters for this protocol are a prime number p and a generator a for the multiplicative group <i>Z</i><maths id="math0008" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">p</mtext><mtext></mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0008.tif" /></maths>. User A has private key a and public key p<sub>A</sub> = α<sup>a</sup>. User B has private key b and public key p<sub>B</sub> = α<sup>b</sup>. <ul id="ul0006" list-style="none" compact="compact"><li>1. A picks two random integers x,x<sub>1</sub>,1≤x,x<sub>1</sub>≤p-2, and computes <i>r</i><sub><i>x</i><sub2><i>1</i></sub2></sub>=α<sup><i>x</i><sub2><i>1</i></sub2></sup>,<i>r</i><sub><i>A</i></sub>=α<sup>x</sup> and (<i>r</i><sup><i>A</i></sup>)<sup><i>r</i><sub2><i>x</i>1</sub2></sup>, then computes a signature <i>s</i><sub><i>A</i></sub><i>=xr</i><sub><i>x</i><sub2><i>1</i></sub2></sub><i>-</i>(<i>r</i><sub><i>A</i></sub>)<maths id="math0009" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext mathvariant="italic">r</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">x</mtext></mrow><mrow><mtext mathvariant="italic">1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></math><img file="EP0739105B1_D0009.tif" /></maths><i>a</i> (mod p-1). A sends {<i>r</i><sub><i>A</i></sub>,<i>s</i><sub><i>A</i></sub>,α<sup><i>x</i><sub2><i>1</i></sub2></sup>,<i>text</i><sub><i>A</i></sub>} to B.</li><li>2. B picks two random integers y,y<sub>1</sub>,1≤y,y<sub>1</sub>≤p-2, and computes <i>r</i><sub><i>y</i><sub2><i>1</i></sub2></sub>=α<sup><i>y</i><sub2><i>1</i></sub2></sup>,<i>r</i><sub><i>B</i></sub>=α<sup><i>y</i></sup> and (<i>r</i><sup><i>B</i></sup>)<sup><i>r</i></sup><sub><i>y</i><sub2><i>1</i></sub2></sub>, then computes a signature <i>s</i><sub><i>B</i></sub><i>=yr</i><sub><i>y</i><sub2><i>1</i></sub2></sub>-(<i>r</i><sub><i>B</i></sub>)<maths id="math0010" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext mathvariant="italic">r</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">y</mtext></mrow><mrow><mtext mathvariant="italic">1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></math><img file="EP0739105B1_D0010.tif" /></maths><i>b</i> (mod p-1). B sends {<i>r</i><sub><i>B</i></sub>,<i>s</i><sub><i>B</i></sub>,<i>α</i><sup><i>y</i><sub2><i>1</i></sub2></sup><i>,text</i><sub><i>B</i></sub>} to A.</li><li>3. A computes <i>α</i><sup><i>s</i></sup><sub><i>B</i></sub>(<i>p</i><sub><i>B</i></sub>)<sup>(</sup><sup><i>r</i><sub2><i>B</i></sub2></sup><maths id="math0011" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext>)</mtext><mtext mathvariant="italic">s</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">y</mtext></mrow><mrow><mtext>1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></math><img file="EP0739105B1_D0011.tif" /></maths> and verifies that this is equal to (<i>r</i><sub><i>B</i></sub>)<maths id="math0012" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext mathvariant="italic">r</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">y</mtext></mrow><mrow><mtext>1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></math><img file="EP0739105B1_D0012.tif" /></maths> . A computes session key K = (α<sup><i>y</i><sub2>1</sub2></sup>)<sup><i>x</i><sub2>1</sub2></sup>=α<sup><i>x</i><sub2>1</sub2><i>y</i><sub2>1</sub2></sup> .</li><li>4. B computes <i>α</i><sup><i>s</i><sub2><i>A</i></sub2></sup>(<i>p</i><sub><i>A</i></sub>)<maths id="math0013" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext>(</mtext><msub><mrow><mtext mathvariant="italic">r</mtext></mrow><mrow><mtext mathvariant="italic">A</mtext></mrow></msub><mtext>)</mtext><msup><mrow><mtext></mtext></mrow><mrow><mtext mathvariant="italic">r</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">x</mtext></mrow><mrow><mtext mathvariant="italic">1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></msup></mrow></math><img file="EP0739105B1_D0013.tif" /></maths> and verifies that this is equal to (<i>r</i><sub><i>A</i></sub>)<maths id="math0014" num=""><math display="inline"><mrow><msup><mrow><mtext></mtext></mrow><mrow><mtext mathvariant="italic">r</mtext><msub><mrow><mtext></mtext></mrow><mrow><msub><mrow><mtext mathvariant="italic">x</mtext></mrow><mrow><mtext>1</mtext></mrow></msub></mrow></msub></mrow></msup></mrow></math><img file="EP0739105B1_D0014.tif" /></maths> . B computes session key K = (α<sup><i>x</i><sub2>1</sub2></sup>)<sup><i>y</i><sub2>1</sub2></sup>=α<sup><i>x</i><sub2>1</sub2><i>y</i><sub2>1</sub2></sup> .</li></ul>
In these protocols, (r<sub>A</sub>,s<sub>A</sub>) can be thought of as the signature of <i>r</i><sub><i>x</i><sub2>1</sub2></sub> with the property that only A can sign the message <i>r</i><sub>x<sub2>1</sub2></sub>.
Key Transport Protocol
The protocols described above permit the establishment and authentication of a session key K. It is also desirable to establish a protocol in which permits A to transport a session key K to party B. Such a protocol is exemplified below. <ul id="ul0007" list-style="none" compact="compact"><li>1. A picks a random integer x,1≤x≤p-2, and computes r<sub>A</sub> = α<sup>x</sup> and a signature s<sub>A</sub> = x-r<sub>A</sub>a (mod p-1). A computes session key K = (p<sub>B</sub>)<sup>x</sup> and sends {r<sub>A</sub>,s<sub>A</sub>,text<sub>A</sub>} to B.</li><li>2. B computes α<sup><i>s</i><sub2><i>A</i></sub2></sup>(<i>p</i><sub><i>A</i></sub>)<sup><i>r</i><sub2><i>A</i></sub2></sup> and verifies that this quantity is equal to r<sub>A</sub>. B computes session key K = (r<sub>A</sub>)<sup>b</sup>.</li></ul>
All one-pass key transport protocols have the following problem of replay. Suppose that a one-pass key transport protocol is used to transmit a session key K from A to B as well as some text encrypted with the session key K. Suppose that E records the transmission from A to B. If E can at a later time gain access to B's decryption machine (but not the internal contents of the machine, such as B's private key), then, by replaying the transmission to the machine, E can recover the original text. (In this scenario, E does not learn the session key K.).
This replay attack can be foiled by usual methods, such as the use of timestamps. There are, however, some practical situations when B has limited computational resources, in which it is more suitable at the beginning of each session, for B to transmit a random bit string k to A. The session key that is used to encrypt the text is then k ⊕ K, i.e. k XOR'd with K.
All the protocols discussed above have been described in the setting of the multiplicative group <i>Z</i><maths id="math0015" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">P</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0015.tif" /></maths>. However, they can all be easily modified to work in any finite group in which the discrete logarithm problem appears intractable. Suitable choices include the multiplicative group of a finite field (in particular the finite field GF(2<sup>n</sup>), subgroups of <i>Z</i><maths id="math0016" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">P</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0016.tif" /></maths>of order q, and the group of points on an elliptic curve defined over a finite field. In each case an appropriate generator α will be used to define the public keys.
The protocols discussed above can also be modified in a straightforward way to handle the situation when each user picks their own system parameters p and α (or analogous parameters if a group other than <i>Z</i><maths id="math0017" num=""><math display="inline"><mrow><mfrac linethickness="0"><mrow><mtext>*</mtext></mrow><mrow><mtext mathvariant="italic">P</mtext></mrow></mfrac></mrow></math><img file="EP0739105B1_D0017.tif" /></maths> is used).
22 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22
35 members in 7 offices
Priority claims5
| Document | Office | Kind | Date |
|---|---|---|---|
| 426712 | United States of America | – | |
| 42671295 | United States of America | A | |
| 42671295 | United States of America | A | |
| 426712 | – | – | – |
| US19950426712 | – | – | – |
Members35
| Document | Office | Kind | |
|---|---|---|---|
| CA2174261A1 | Canada | A1 | |
| CA2579259A1 | Canada | A1 | |
| EP0739105A1 | European Patent Office (EPO) | A1 | |
| WO9633565A1 | World Intellectual Property Organization (WIPO) | A1 | |
| AU5266596A | Australia | A | |
| CA2176972A1 | Canada | A1 | |
| CA2237688A1 | Canada | A1 | |
| WO9818234A1 | World Intellectual Property Organization (WIPO) | A1 | |
| AU1405797A | Australia | A | |
| US5761305A | United States of America | A | |
| EP0873617A1 | European Patent Office (EPO) | A1 | |
| US5889865A | United States of America | A | |
| US5896455A | United States of America | A | |
| JP2000502553A | Japan | A | |
| US6122736A | United States of America | A | |
| US6785813B1 | United States of America | B1 | |
| EP0739105B1This record | European Patent Office (EPO) | B1 | |
| DE69633590D1 | Germany | D1 | |
| EP1496644A2 | European Patent Office (EPO) | A2 | |
| EP1496644A3 | European Patent Office (EPO) | A3 | |
| US2005182936A1 | United States of America | A1 | |
| DE69633590T2 | Germany | T2 | |
| EP0873617B1 | European Patent Office (EPO) | B1 | |
| DE69636815D1 | Germany | D1 | |
| CA2174261C | Canada | C | |
| CA2237688C | Canada | C | |
| DE69636815T2 | Germany | T2 | |
| US2008162940A1 | United States of America | A1 | |
| CA2176972C | Canada | C | |
| JP4384728B2 | Japan | B2 | |
| CA2579259C | Canada | C | |
| US7779259B2 | United States of America | B2 | |
| US2010281259A1 | United States of America | A1 | |
| US8090947B2 | United States of America | B2 | |
| US2012079274A1 | United States of America | A1 |
30 legal events, as 5 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent expired after termination of 20 yearsExpiredPE20 | PE20 | GB | |
| Expiry of rightR071 | R071 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Fee paymentPLFP | PLFP | FR | |
| No opposition filedOpposition26N | 26N | EP | |
| Fr: translation filedET | ET | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Patent ceasedCeasedPL | PL | CH | |
| Nl: lapsed or annulled due to failure to fulfill the requirements of art. 29p and 29m of the patents actLapsedNLV1 | NLV1 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Corresponds to:REF | REF | EP | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0739105
- Publication, DOCDB
- 0739105
- Publication, EPODOC
- EP0739105
- Application
- 96105920
- Application, DOCDB
- 96105920
- Application, EPODOC
- EP19960105920
Titles3
- German
- Verfahren zur Unterschrift und zur Sitzungsschlüsselerzeugung
- English
- Method for signature and session key generation
- French
- Procédé de signature et de génération de clé de session
Classification
- CPC, 4
- H04L9/0844
- G06F7/725
- H04L9/3247
- Y04S40/20
- IPC, 3
- G06F7 72
- H04L9 08
- H04L9 32
Designated states9
- Contracting states, 9
- Switzerland
- Germany
- Spain
- France
- United Kingdom
- Italy
- Liechtenstein
- Netherlands (Kingdom of the)
- Sweden
