Key agreement and transport protocol with implicit signatures
6 claims: 3 independent, 3 dependent
- 1A method of establishing a session key K at a correspondent A in a public key data communication system, the session key K for use in communication with a correspondent B over a communication channel, said correspondent A having a private key d A and a public key Q A , wherein said public key Q A is derived from a point P on an elliptic curve defined over a finite field and said private key d A , said method comprising:said correspondent A selecting a random integer k and obtaining a function by scalar multiplication of said point P and said random integer k;said correspondent A generating a signature s A by combining said random integer k, an integer derived from said function and said private key d A ;said correspondent A sending to said correspondent B, a message including said function;said correspondent A computing said session key K by scalar multiplication of public information of said correspondent B and said signature S A ;wherein said signature s A is not transmitted by said correspondent A;and wherein said signature s A of said correspondent A is of the form k + r A d A mod G, r A is an integer derived from said function and G is an order of said point P and is a prime number.
- 3A method according to any one of the preceding claims wherein said random integer k is selected such that 1 ≤ k ≤ G - 1.
Independent claims3
77 paragraphs in 4 sections, as filed
0001The present invention relates generally to key agreement protocols for transfer and authentication of encryption keys.
BACKGROUND
0002To 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.
0003In 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.
0004Public 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.
0005Key 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.
0006There are various prior proposals which claim to provide implicit key authentication.
0007Examples include the Nyberg-Rueppel one-pass protocol and the Matsumoto-Takashima-Imai (MTI) and the Goss and Yacobi two-pass protocols for key agreement.
0008The 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.
0009For example, the MTI/A0 key agreement protocol establishes a shared secret K, known to the two correspondents, in the following manner: <ol id="ol0001" compact="compact" ol-style=""><li>1. During initial, one-time setup, key generation and publication is undertaken by selecting and publishing an appropriate system prime p and generator <maths id="math0001" num=""><math display="inline"><mi>α</mi><mo>∈</mo><msubsup><mi>Z</mi><mi>p</mi><mo>*</mo></msubsup></math><img file="EP2315391B1_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> = α<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"><mi mathvariant="normal">A</mi><mo>→</mo><mi mathvariant="normal">B</mi><mo>:</mo><msup><mi mathvariant="normal">α</mi><mi mathvariant="normal">x</mi></msup><mspace width="1em" /><mi>mod p</mi></math><img file="EP2315391B1_D0002.tif" /></maths><maths id="math0003" num="(2)"><math display="block"><mi mathvariant="normal">A</mi><mo>←</mo><mi mathvariant="normal">B</mi><mo>:</mo><msup><mi mathvariant="normal">α</mi><mi mathvariant="normal">y</mi></msup><mspace width="1em" /><mi>mod p</mi></math><img file="EP2315391B1_D0003.tif" /></maths> The values of x and y remain secure during such transmission 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. <ol id="ol0002" compact="compact" ol-style=""><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 = (αy) azBx mod p</li><li>(d) B computes the key K = (αx)bzAY mod p</li><li>(e) Both share the key K - αbx+ay</li></ol></li></ol>
0010In 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.
0011As 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.
0012In 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.
0013A 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.
0014"<nplcit id="ncit0001" npl-type="s"><text>On seeking Smart Public Key-Distribution Systems", Matsumoto et al, IEICE TRANSACTIONS (1976-1990) Vol.E69-E No.2 pp.99-106 20 February 1986</text></nplcit> relates to the problem of how to distribute the common keys. The paper discusses a sort of scheme (direct schemes) that smartly provides different keys in different communications. Such a property is not attained via the basic scheme for the public key distribution systems proposed by Diffie and Hellman. The paper shows that the recently introduced five direct schemes are classified into three sets (called sequences) of infinite schemes, and points out that there are some tight relations among the sequences. It is clarified which is the best in the three sequences by a systematic evaluation of the complexities for the normal update and for the deliberate forgery of the shared common keys.
0015<patcit id="pcit0001" dnum="EP0639907A"><text>EP 0639907</text></patcit> discloses a digital signature method based on the discrete logarithm problem is provided that allows message recovery. The message x is transformed according to the rule e = x g-r mod p, where r is a secret value generated by the signer. A value y is then calculated according to the rule y = r + s e mod q, where s is the signer's secret key. The signature of x consists of the pair (e,y). The verifier recovers the message x according the the rule x = gy ke e mod p, where k is the signer's public key. The validation of x can be based on some redundancy contained in x. Alternatively, a conventional verification equation can be constructed by using the signature method together with a hash function H. In addition, a key agreement method based on the signature method is provided which establishes with a single transmission pass a shared secret key K between two parties A and B in an authenticated fashion.
GENERAL
0016In one aspect the present invention may provide a protocol in which the above disadvantages are obviated or mitigated.
0017According to one aspect there may be provided a method as set out in accompanying claim 1.
0018According to a further aspect there is provided a cryptographic unit as set out in the accompanying claim 4.
0019According to a yet further aspect there is provided a device as set out in accompanying claim 5.
0020According to another aspect there is provided a computer readable medium as set out in the accompanying claim 6.
BRIEF DESCRIPTION OF DRAWING
0021Embodiments of the invention will now be described by way of example only with reference to the accompanying drawings in which: <ul id="ul0001" list-style="none" compact="compact"><li><figref idref="f0001">Figure 1</figref> is a schematic representation of a data communication system.</li></ul>
DETAILED DESCRIPTION
0022Referring therefore to <figref idref="f0001">Figure 1</figref>, 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.
0023In operation, a message generated by correspondent A, 10, is encrypted by the unit 16 with the key 20 and transmitted and transmitted as ciphertext over channel 14 to the unit 18.
0024The 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 correspondent 12 will be that sent by the correspondent 10.
0025In order for the system shown in <figref idref="f0001">Figure 1</figref> 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.
0026The system parameters for these protocols are a prime number p and a generator α of the multiplicative group Z*p. 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 and 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.
0027In 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>e</sup>=α<sup>ae</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.
0028To avoid interloper E convincing B that he is communicating with E, the following protocol is adapted.
0029The 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.
0030The system parameters for this protocol are a prime number p and a generator α of the multiplicative group <i>Z</i>*<sub>p</sub>. 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
0031<ol id="ol0003" compact="compact" ol-style=""><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α<sup>a</sup> 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α<sup>b</sup> mod (p-1). B sends {r<sub>B</sub>, s<sub>B</sub>, text<sub>B</sub>} to A.</li><li>3. A computes <maths id="math0004" num=""><math display="inline"><msup><mi>α</mi><msub><mi>s</mi><mi>B</mi></msub></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>B</mi></msub></mfenced><mrow><msub><mi>r</mi><mi>B</mi></msub><mo></mo><msup><mi>α</mi><mi>b</mi></msup></mrow></msup></math><img file="EP2315391B1_D0004.tif" /></maths> and verifies that this is equal to r<sub>B</sub>. A computes the session key K = (r<sub>B</sub>)<sup>x</sup> = α<sup>x<sub2>y</sub2></sup></li><li>4. B computes <maths id="math0005" num=""><math display="inline"><msup><mi>α</mi><msub><mi>s</mi><mi>A</mi></msub></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>A</mi></msub></mfenced><mrow><msub><mi>r</mi><mi>A</mi></msub><mo></mo><msup><mi>α</mi><mi>a</mi></msup></mrow></msup></math><img file="EP2315391B1_D0005.tif" /></maths> and verifies that this is equal to r<sub>A</sub>. B computes the session key K = (r<sub>A</sub>)<sup>y</sup> = α<sup>x<sub2>y</sub2></sup>.</li></ol>
0032Should E replace text<sub>A</sub> with text <sub>E</sub>, B will compute <maths id="math0006" num=""><math display="inline"><msup><mi>α</mi><msub><mi>s</mi><mi>A</mi></msub></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>E</mi></msub></mfenced><mrow><msub><mi>r</mi><mi>A</mi></msub><mo></mo><msup><mi>α</mi><mi>a</mi></msup></mrow></msup></math><img file="EP2315391B1_D0006.tif" /></maths> which will not correspond with the transmitted value of <sub>r</sub>A. B will thus be alerted to the interloper E and will proceed to initiate another session key.
0033One drawback 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
0034In step 1, A also sends α<sup><i>x</i>1</sup> to B, where x<sub>1</sub> is a second random integer generated by A Similarly, in step 2, B also sends α<sup>y<i>1</i></sup> to A, where y<sub>1</sub> is a random integer. A and B now compute the key <i>K</i>= α<sup>xy</sup>⊕<sub>α</sub><sup><i>x</i><sub2>1</sub2><i>y</i><sub2>1</sub2></sup>.
0035Another 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α<sup>a</sup> 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
0036A second protocol set out below addresses these two drawbacks. <ol id="ol0004" compact="compact" ol-style=""><li>1. A picks a random integer x, 1≤x≤p-2, and computes (<i>p<sub>B</sub></i>)<sup>x</sup>, α<sup>x</sup> and a signature <i>s<sub>A</sub></i> = x + <i>a</i>α<sup>a</sup>(<i>p<sub>B</sub></i>)<i><sup>x</sup></i>mod(<i>p</i>-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 (<i>p</i><sub>A</sub>)<i><sup>y</sup></i>, α<sup>y</sup> and a signature <i>s<sub>B</sub></i> = <i>y</i> + <i>bα<sup>b</sup></i> (<i>p<sub>A</sub></i>)<i><sup>y</sup></i> mod(<i>p</i>-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><sup>s<sub2>B</sub2></sup></i>(<i>p<sub>B</sub></i>)<i><sup>-α<sup2>b</sup2>α<sup2>ay</sup2></sup></i> = α<i><sup>y</sup></i>. A then computes session key <i>K</i> = <i>α<sup>ay</sup>(p<sub>B</sub>)<sup>x</sup>.</i></li><li>4. B computes (a<sup>x</sup>)<sup>b</sup> and verifies that α<i><sup>s<sub2>A</sub2></sup></i>(<i>p<sub>A</sub></i>)<sup>-<i>αaαbx</i></sup> = α<i><sup>x</sup></i>. A then computes session key <i>K</i> = <i>α<sup>bx</sup>(pA)<sup>y</sup>.</i></li></ol>
0037The second protocol improves upon the first protocol in the sense that it 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.
0038If 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.
0039The quantity s<sub>A</sub> serves as A's signature on the value a<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.
0040The first and second protocols above can be modified to improve the bandwidth requirements and computational efficiency of the key agreement. The modified protocols are described below as Protocol 1' and Protocol 2'. In each case, A and B will share the common key α<i><sup>s<sub2>A</sub2>s<sub2>B</sub2></sup>.</i>
Protocol 1'
0041<ol id="ol0005" compact="compact" ol-style=""><li>1. A picks a random integer x, 1≤x≤p-2, and computes r<sub>A</sub> = α<sup>a</sup> and s<sub>A</sub> = x + r<sub>A</sub>aα<sup>a</sup> mod (p-1). A sends {r<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 s<sub>B</sub> = y + r<sub>B</sub>bα<sup>b</sup> mod (p-1). B sends {r<sub>B</sub>, text<sub>B</sub>} to A.</li><li>3. A computes <maths id="math0007" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msub><mi>r</mi><mi>B</mi></msub><mo></mo><msup><mfenced><msub><mi>p</mi><mi>B</mi></msub></mfenced><mrow><msub><mi>r</mi><mi>B</mi></msub><mo></mo><msup><mi>α</mi><mi>b</mi></msup></mrow></msup></mfenced><msub><mi>s</mi><mi>A</mi></msub></msup></math><img file="EP2315391B1_D0007.tif" /></maths> which is equivalent to <i>α<sup>s<sub2>A</sub2>s<sub2>B</sub2></sup>.</i></li><li>4. B computes <maths id="math0008" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msub><mi>r</mi><mi>A</mi></msub><mo></mo><msup><mfenced><msub><mi>p</mi><mi>A</mi></msub></mfenced><mrow><msub><mi>r</mi><mi>A</mi></msub><mo></mo><msup><mi>α</mi><mi>n</mi></msup></mrow></msup></mfenced><msub><mi>s</mi><mi>B</mi></msub></msup></math><img file="EP2315391B1_D0008.tif" /></maths> which is also equivalent to <i>α<sup>s<sub2>A</sub2>s<sub2>B</sub2></sup></i>.</li></ol>
0042A and B thus share the common key but it will be noted that the signatures s<sub>A</sub> and s<sub>B</sub> need not be transmitted.
Protocol 2'
0043<ol id="ol0006" compact="compact" ol-style=""><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 s<sub>A</sub> = x + a(p <sub>B</sub>)<sup>x</sup> mod (p-1). A sends {a<sup>x</sup>, 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 s<sub>B</sub> = y + b(p<sub>A</sub>)<sup>y</sup> mod (p-1 ). B sends {a<sup>y</sup>, text <sub>B</sub>} to A.</li><li>3. A computes (α<sup>y</sup>)<sup>a</sup> and <maths id="math0009" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msup><mi>α</mi><mi>y</mi></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>B</mi></msub></mfenced><mrow><msup><mi>α</mi><mi>b</mi></msup><mo></mo><msup><mi>α</mi><mi mathvariant="italic">ay</mi></msup></mrow></msup></mfenced><msub><mi>s</mi><mi>A</mi></msub></msup><mo>,</mo></math><img file="EP2315391B1_D0009.tif" /></maths> i.e. α<sup>s<sub2>A</sub2>s<sub2>B</sub2></sup><sub>.</sub></li><li>4. B computes (α<sup>x</sup>)<sup>b</sup> and <maths id="math0010" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msup><mi>α</mi><mi>x</mi></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>A</mi></msub></mfenced><mrow><msup><mi>α</mi><mi>a</mi></msup><mo></mo><msup><mi>α</mi><mi mathvariant="italic">bx</mi></msup></mrow></msup></mfenced><msub><mi>s</mi><mi>B</mi></msub></msup></math><img file="EP2315391B1_D0010.tif" /></maths> i.e. α<i><sup>s<sub2>A</sub2>s<sub2>B</sub2></sup></i>.</li></ol>
0044Again therefore the transmission of s<sub>A</sub> and s<sub>B</sub> is avoided.
0045A further protocol is available for parties A and B to establish a session key K.
Third Protocol
0046The system parameters for this protocol are a prime number p and a generator α for the multiplicative group Z*<i>p</i>. 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>. <ol id="ol0007" compact="compact" ol-style=""><li>1. A picks two random integers x, x<sub>1</sub>, 1≤x,x<sub>1</sub>≤p-2, and computes r<sub>x1</sub> = α<sup>x1</sup>, r<sub>A</sub> = α<sup>x</sup> and (<i>r<sub>A</sub></i>)<sup><i>r</i><sub2><i>x</i>1</sub2></sup>, then computes a signature s<sub>A</sub> = xr<sub>x1</sub>-(r<sub>A</sub>)<sup>rx1</sup>aα<sup>a</sup> mod (p-1). A sends {r<sub>A</sub>, s<sub>A</sub>, α<sup>x1</sup>, text<sub>A</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 ry<sub>1</sub> = α<sup>y1</sup>, r<sub>B</sub>= a<sup>y</sup> and (<i>r<sub>B</sub></i>)<sup><i>r</i><sub2><i>y</i>1</sub2></sup>, then computes a signature s<sub>B</sub>= yr<sub>y1</sub>- (r<sub>B</sub>)<sup>ry1</sup>b mod (p-1). A sends {r<sub>B</sub>, s<sub>B</sub>, α<sup>y1</sup>, text <sub>B</sub>} to A.</li><li>3. A computes <maths id="math0011" num=""><math display="inline"><msup><mi>α</mi><msub><mi>s</mi><mi>B</mi></msub></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>B</mi></msub></mfenced><msup><mfenced><msub><mi>r</mi><mi>B</mi></msub></mfenced><msub><mi>r</mi><mrow><mi>y</mi><mo></mo><mn>1</mn></mrow></msub></msup></msup></math><img file="EP2315391B1_D0011.tif" /></maths> and verifies that this is equal to (<i>r<sub>B</sub></i>)<sup>r<sub2>y1</sub2></sup>. A computes session key <i>K</i>=(α<i><sup>y1</sup></i>)<i><sup>x1</sup></i> = α<sup><i>x1</i>.<i>y1</i></sup></li><li>4. B computes <maths id="math0012" num=""><math display="inline"><msup><mi>α</mi><msub><mi>s</mi><mi>A</mi></msub></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>A</mi></msub></mfenced><msup><mfenced><msub><mi>r</mi><mi>A</mi></msub></mfenced><msub><mi>r</mi><mrow><mi>x</mi><mo></mo><mn>1</mn></mrow></msub></msup></msup></math><img file="EP2315391B1_D0012.tif" /></maths> and verifies that this is equal to (<i>r<sub>A</sub></i>)<i><sup>r<sub2>x1</sub2></sup></i>. B computes session key <i>K</i>=<i>(α<sup>x1</sup>)<sup>y1</sup> = α</i><sup><i>x1</i>y<i>1</i></sup></li></ol>
0047In these protocols, (r<sub>A</sub>, s<sub>A</sub>) can be thought of as the signature of r<sub>x1</sub> with the property that only A can sign the message r<sub>x1</sub>.
Key Transport Protocol
0048The 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. <ol id="ol0008" compact="compact" ol-style=""><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α<sup>a</sup> 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 α<i><sup>s<sub2>A</sub2></sup></i>(<i>p<sub>A</sub></i>)<sup><i>r<sub>A</sub></i>α<i>a</i></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></ol>
Modified Key Transport Protocol
0049The above protocol may be modified to reduce the bandwidth by avoiding the need to transmit the signature s<sub>A</sub> as follows: <ol id="ol0009" compact="compact" ol-style=""><li>1. A picks a random integer x, 1≤x≤p-2, and computes r<sub>A</sub> = α<sup>x</sup> and s<sub>A</sub> = x - r<sub>A</sub>aα<sup>a</sup> mod (p-1). A computes <i>K</i>= <i>(p<sub>B</sub>)</i><sup><i>s</i>A</sup> and sends (r<sub>A</sub>, text <sub>A</sub>) to B.</li><li>2. B computes <maths id="math0013" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msup><mi>α</mi><mi>x</mi></msup><mo></mo><msup><mfenced><msub><mi>p</mi><mi>A</mi></msub></mfenced><mrow><mo>-</mo><msub><mi>r</mi><mi>A</mi></msub><mo></mo><msup><mi>α</mi><mi>a</mi></msup></mrow></msup></mfenced><mi>b</mi></msup><mo>=</mo><msup><mi>α</mi><msub><mi mathvariant="italic">bs</mi><mi>A</mi></msub></msup></math><img file="EP2315391B1_D0013.tif" /></maths></li></ol>
0050All 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).
0051This 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.
0052The signing equation s<sub>A</sub> = x - rAaα<sup>a</sup> where r<sub>a</sub> = α<sup>x</sup> in protocol 1, and the key transportation protocols; r<sub>A</sub> = a<sup>xb</sup> in protocol 2, can be replaced with several variants. Some of them are: <maths id="math0014" num=""><math display="block"><msub><mi mathvariant="normal">r</mi><mi mathvariant="normal">A</mi></msub><mo>=</mo><msub><mi mathvariant="normal">s</mi><mi mathvariant="normal">A</mi></msub><mo></mo><mi mathvariant="normal">x</mi><mo>+</mo><mi mathvariant="normal">z</mi></math><img file="EP2315391B1_D0014.tif" /></maths><maths id="math0015" num=""><math display="block"><msub><mi mathvariant="normal">s</mi><mi mathvariant="normal">A</mi></msub><mo>=</mo><msup><mi mathvariant="normal">xα</mi><mi mathvariant="normal">a</mi></msup><mo>+</mo><msub><mi>ar</mi><mi mathvariant="normal">A</mi></msub></math><img file="EP2315391B1_D0015.tif" /></maths><maths id="math0016" num=""><math display="block"><msub><mi mathvariant="normal">s</mi><mi mathvariant="normal">A</mi></msub><mo>=</mo><msub><mi>ar</mi><mi mathvariant="normal">A</mi></msub><mo>+</mo><msup><mi mathvariant="normal">xα</mi><mi mathvariant="normal">a</mi></msup></math><img file="EP2315391B1_D0016.tif" /></maths><maths id="math0017" num=""><math display="block"><mn>1</mn><mo>=</mo><msub><mi>ar</mi><mi mathvariant="normal">A</mi></msub><mo>+</mo><msub><mi>xs</mi><mi mathvariant="normal">A</mi></msub></math><img file="EP2315391B1_D0017.tif" /></maths>
0053All the protocols discussed above have been described in the setting of the multiplicative group <i>Z*<sub>p</sub></i>. 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 filed (in particular the finite field GF(2<sup>n</sup>), subgroups of Z<i>*<sub>p</sub></i> of order q, and the group of points on an elliptic curve defined over a finite field. In each case, an appropriate generator a will be used to define the public keys.
0054The 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 Z<i>*<sub>p</sub></i> is used).
0055In the above protocols, a signature component of the general form s<sub>A</sub> = x + r<sub>a</sub>.a.α<sup>a</sup> has been used.
0056The protocols may be modified to use a simpler signature component of the general form s<sub>A</sub> = x + r<sub>a</sub>.a without jeopardizing the security.
0057Examples of such protocols will be described below using the same notation although it will be understood that the protocols could be expressed in alternative notation if preferred.
Protocol 1"
0058This protocol will be described using an implementation in the multiplicative group Z<i>*<sub>p</sub></i> with the following notation: <ul id="ul0002" list-style="none" compact="compact"><li>p is a prime number,</li><li>α is a generator of Z<i>*<sub>p</sub></i>,</li><li>a and b are party A's and B's respective long-term private key,</li><li>α<sup>3</sup> mod p is party A's long-term private key,</li><li>α<sup>b</sup> mod p is party B's long-term private key,</li><li>x is a random integer selected by A as a short-term private key,</li><li>r<sub>a</sub> = a<sup>x</sup> mod p is party A's short-term public key,</li><li>y is a random integer selected by B as a short-term private key,</li><li>r<sub>b</sub> = a<sup>y</sup> mod p is party B's short-term public key,</li><li><o ostyle="single"><i>r</i><sub>a</sub></o> is an integer derived from r<sub>a</sub> and is typically the 80 least significant bits of r<sub>a</sub>,</li><li><i><o ostyle="single">r<sub>b</sub></o></i> is an integer derived from r<sub>b</sub> and is typically the 80 least significant bits of r<sub>b</sub>.</li></ul>
0059To implement the protocol, <ol id="ol0010" ol-style=""><li>1. A sends r<sub>a</sub> to B.</li><li>2. B sends r<sub>B</sub> to A.</li><li>3. A computes s<sub>A</sub> = x + <i><o ostyle="single">r<sub>a</sub></o></i> .a mod (p-1).</li><li>4. A computes the session key K where <maths id="math0018" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msup><mi>α</mi><mi>y</mi></msup><mo></mo><msup><mfenced><msup><mi>α</mi><mi>b</mi></msup></mfenced><mover><msub><mi>r</mi><mi>b</mi></msub><mo>‾</mo></mover></msup></mfenced><msub><mi>s</mi><mi>A</mi></msub></msup><mspace width="1em" /><mi>mod p</mi><mn>.</mn></math><img file="EP2315391B1_D0018.tif" /></maths></li><li>5. B computes s<sub>B</sub> = y + <i><o ostyle="single">r<sub>b</sub></o></i> .b mod (p-1).</li><li>6. B computes the session key K where <maths id="math0019" num=""><math display="inline"><mi>K</mi><mo>=</mo><msup><mfenced separators=""><msup><mi>α</mi><mi>x</mi></msup><mo></mo><msup><mfenced><msup><mi>α</mi><mi>a</mi></msup></mfenced><mover><msub><mi>r</mi><mi>a</mi></msub><mo>‾</mo></mover></msup></mfenced><msub><mi>s</mi><mi>B</mi></msub></msup></math><img file="EP2315391B1_D0019.tif" /></maths> mod p.</li><li>7. The shared secret is α<i><sup>s<sub2>B</sub2>s<sub2>A</sub2></sup></i> mod p.</li></ol>
0060In this protocol, the bandwidth requirements are again reduced by the signature components combine the short and long-term keys of the correspondent to inhibit an attack by an interloper.
0061The above protocol may also be implemented using a subgroup of <i>Z*p</i>. In this case, q will be a prime divisor of (p- 1) and g will be an element of order p in Z*<i><sub>p</sub></i>.
0062A's and B's public keys will be of the form g<sup>a</sup>, g<sup>b</sup> respectively and the short-term keys r<sub>a</sub>, r<sub>b</sub> will be of the form g<sup>x</sup>, g<sup>y</sup>.
0063The signature components s<sub>A</sub>, s<sub>B</sub> are computed mod q and the session key K computed mod q as before. The shared secret is then <i>g<sup>s<sub2>B</sub2>s<sub2>A</sub2></sup></i> mod p.
0064As noted above, the protocols may be implemented in groups other than Z*<i><sub>p</sub></i> and a particularly robust group is the group of points on an elliptic curve over a finite field. An example of such an implementation is set out below as protocol 1"'.
Protocol 1"'
0065The following notation is used: <ul id="ul0003" list-style="none" compact="compact"><li>E is an elliptic curve defined over Fq,</li><li>P is a point of prime order n in E(Fq),</li><li>d<sub>a</sub> (1<d<sub>a</sub><n-1) is party A's long-term private key,</li><li>d<sub>b</sub> (1<d<sub>b</sub><n-1) is party B's long-term private key,</li><li>Q<sub>a</sub> = d<sub>a</sub>P is party A's long-term public key,</li><li>Q<sub>b</sub> = d<sub>b</sub>P is party B's long-term public key,</li><li>k(1<k<n-1) is party A's short-term private key,</li><li>r<sub>a</sub> = kP is party A's short-term public key,</li><li>m (1<m<n-1) is party B's short-term private key,</li><li>r<sub>b</sub> = mP is party B's short-term public key,</li><li><i><o ostyle="single">r<sub>a</sub></o></i> and <i><o ostyle="single">r<sub>b</sub></o></i> respectively are bit strings, for example the 80 least significant bits of the x co-ordinate of r<sub>a</sub> and r<sub>b</sub>.</li></ul>
0066To implement the protocol: <ol id="ol0011" ol-style=""><li>1. A sends r<sub>a</sub> to B.</li><li>2. B sends r<sub>b</sub> to A.</li><li>3. A computes s<sub>A</sub> = (k + <i><o ostyle="single">r<sub>a</sub></o></i> d<sub>a</sub>) mod n.</li><li>4. A computes the session key K where <i>K</i>=<i>s<sub>b</sub></i>(<i>r<sub>b</sub></i> + <i><o ostyle="single">r<sub>b</sub></o> Qb</i>)</li><li>5. B computes s<sub>b</sub> = (m + <i><o ostyle="single">r<sub>b</sub></o></i> d<sub>b</sub>) mod n.</li><li>6. B computes the session key K where <i>K=s<sub>b</sub></i>(<i>r<sub>a</sub></i>+ <i><o ostyle="single">r<sub>a</sub></o> Q<sub>a</sub></i>).</li><li>7. The shared secret is s<sub>a</sub>s<sub>b</sub>P.</li></ol>
0067Again, it will be noted that it is not necessary to send the signature components s<sub>A</sub>, s<sub>B</sub> between the correspondent but the short and long-term keys of the correspondents are combined by the form of the components. (It will be appreciated that the notation m has been substituted for x,y in the previous examples to avoid confusion with the co-ordinate (x,y) of the points on the curve).
Contents4
20 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
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| EP0393806A | Cites | European Patent Office (EPO) | – |
| EP0639907A1 | Cites | European Patent Office (EPO) | – |
| EP0739105A1 | Cites | European Patent Office (EPO) | – |
| DE3915262A1 | Cites | Germany | – |
| MATSUMOTO T ET AL: "ON SEEKING SMART PUBLIC-KEY-DISTRIBUTION SYSTEMS", TRANSACTIONS OF THE INSTITUTE OF ELECTRONICS AND COMMUNICATION ENGINEERS OF JAPAN, SECTION E, INST. OF ELECTRONICS & COMMUNIC. ENGINEERS OF JAPAN. TOKYO, JP, vol. E69, no. 2, February 1986 (1986-02), pages 99-105, XP002056002, | Non-patent | – | – |
| BOYD C ET AL PIEPRZYK J ET AL: "DESIGN AND ANALYSIS OF KEY EXCHANGE PROTOCOLS VIA SECURE CHANNEL IDENTIFICATION", ADVANCES IN CRYPTOLOGY - ASIACRYPT '94. 4TH. INTERNATIONAL CONFERENCE ON THE THEORY AND APPLICATIONS OF CRYPTOLOGY, WOLLONGONG, AUSTRALIA, NOV. 28 - DEC. 1, 1994. PROCEEDINGS, PROCEEDINGS OF THE CONFERENCE ON THE THEORY AND APPLICATIONS OF CRYPTOLOGY, vol. CONF. 4, 28 November 1994 (1994-11-28), pages 171-181, XP000527595, ISBN: 3-540-59339-X | Non-patent | – | – |
| Alfred J. Menezes ET AL: "Some New Key Agreement Protocols Providing Implicit Authentication", Selected Areas in Cryptography SAC '95, 18 May 1995 (1995-05-18), pages 22-32, XP055078224, Ontario, Canada | Non-patent | – | – |
| ALFRED J. MENEZES ET AL: "Some New Key Agreement Protocols Providing Implicit Authentication", SELECTED AREAS IN CRYPTOGRAPHY SAC '95, 18 May 1995 (1995-05-18), Ontario, Canada, pages 22 - 32, XP055078224 | Non-patent | – | Examiner |
53 members in 8 offices
Priority claims11
| Document | Office | Kind | Date |
|---|---|---|---|
| 10186321 | European Patent Office (EPO) | A | |
| 09162881 | European Patent Office (EPO) | A | |
| 07000020 | European Patent Office (EPO) | A | |
| 96944186 | European Patent Office (EPO) | A | |
| EP20100186321 | – | – | – |
| EP20090162881 | – | – | – |
| EP20070000020 | – | – | – |
| EP19960944186 | – | – | – |
| 091628818 | – | – | – |
| 070000203 | – | – | – |
| 969441864 | – | – | – |
Members53
| 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 | |
| EP0739105B1 | 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 | |
| EP1768300A1 | European Patent Office (EPO) | A1 | |
| CA2174261C | Canada | C | |
| CA2237688C | Canada | C | |
| DE69636815T2 | Germany | T2 | |
| US2008162940A1 | United States of America | A1 | |
| CA2176972C | Canada | C | |
| EP1768300B1 | European Patent Office (EPO) | B1 | |
| DE69637956D1 | Germany | D1 | |
| EP2104268A2 | European Patent Office (EPO) | A2 | |
| JP4384728B2 | Japan | B2 | |
| CA2579259C | Canada | C | |
| US7779259B2 | United States of America | B2 | |
| US2010281259A1 | United States of America | A1 | |
| EP2315389A2 | European Patent Office (EPO) | A2 | |
| EP2315390A2 | European Patent Office (EPO) | A2 | |
| EP2315391A2 | European Patent Office (EPO) | A2 | |
| EP2104268A3 | European Patent Office (EPO) | A3 | |
| EP2315390A3 | European Patent Office (EPO) | A3 | |
| EP2315389A3 | European Patent Office (EPO) | A3 | |
| EP2315391A3 | European Patent Office (EPO) | A3 | |
| US8090947B2 | United States of America | B2 | |
| US2012079274A1 | United States of America | A1 | |
| HK1157524A | Hong Kong, China | A | |
| HK1157528A | Hong Kong, China | A | |
| HK1157529A | Hong Kong, China | A | |
| EP2104268B1 | European Patent Office (EPO) | B1 | |
| EP2315391B1This record | European Patent Office (EPO) | B1 | |
| EP2315389B1 | European Patent Office (EPO) | B1 | |
| EP2315390B1 | European Patent Office (EPO) | B1 |
45 legal events, as 6 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 | |
| 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 | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| No opposition filed against granted patent, or epo opposition proceedings concluded without decisionGrantedR097 | R097 | DE | |
| Patent ceasedCeasedPL | PL | CH | |
| Standard patents granted in hong kongGrantedGR | GR | HK | |
| Dpma publication of mentioned ep patent grantGrantedR096 | R096 | DE | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Intention to grant announcedINTG | INTG | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| Amendment of ipc main classPREVIOUS MAIN CLASS: H04L0009320000R079 | R079 | DE | |
| First examination report despatched17Q | 17Q | EP | |
| Requests to designate patent in hong kongDE | DE | HK | |
| Party data changed (applicant data changed or rights of an application transferred)RAP1 | RAP1 | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Request for examination filed17P | 17P | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | 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
- 2315391
- Publication, DOCDB
- 2315391
- Publication, EPODOC
- EP2315391
- Application
- 101863215
- Application, DOCDB
- 10186321
- Application, EPODOC
- EP20100186321
Titles3
- German
- Schlüsselvereinbarungs- und Transportprotokoll mit impliziten Signaturen
- English
- Key agreement and transport protocol with implicit signatures
- French
- Mise en accord de clé et protocole de transport avec signatures implicites
Classification
- CPC, 3
- H04L9/3013
- H04L9/0844
- Y04S40/20
- IPC, 2
- H04L9 08
- H04L9 30
Designated states5
- Contracting states, 5
- Switzerland
- Germany
- France
- United Kingdom
- Liechtenstein
