US 6785813 B1 Abstract A key establishment protocol between a pair of correspondents includes the generation by each correspondent of respective signatures. The signatures are derived from information that is private to the correspondent and information that is public. After exchange of signatures, the integrity of exchange messages can be verified by extracting the public information contained in the signature and comparing it with information used to generate the signature. A common session key may then be generated from the pubilc and private information of respective ones of the correspondents.
Claims(8) 1. A method of authenticating a pair of correspondents A, B to permit exchange of information therebetween, each of said correspondents 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 ƒ(α) including said generator to a power g(x) to provide a first exponentiated function ƒ(α)
^{g(x)}; (ii) said first correspondent A generating a first signature s
_{A }from said first random integer x and said exponentiated function ƒ(α)^{g(x)}; (iii) said first correspondent A forwarding to a second correspondent B a message including said first exponentiated function ƒ(α)
^{g(x) }and said signature s_{A}; (iv) said correspondent B selecting a second random integer y and exponentiating a function ƒ′(α) including said generator to a power g(y) to provide a second exponentiated function ƒ′(α)
^{g(y) }and generating a signature s_{B }obtained from said second integer y and said second exponentiated function ƒ′(α)^{g(y)}; (v) said second correspondent B forwarding a message to said first correspondent A including said second exponential function ƒ′(α)
^{g(y) }and said signature s_{B}; (vi) each of said correspondents verifying the integrity of messages received by them by computing from said signature and said exponentiated function in such a received message a value equivalent to said exponentiated function and comparing said computed value and said transmitted value;
(vii) each of said correspondents constructing a session key K by exponentiating information made public by another of said correspondents with said first random integer that is private to itself.
2. A method according to
_{B }of said second correspondent.3. A method according to
_{A }of said first correspondent.4. A method according to
said signature generated by a respective one of the correspondents combine the random integer, exponentiated function and private key of that one correspondent; and
said signature of correspondent A is of the form x+a(p
_{B})^{x }mod(p−1). 5. A method according to
said signature generated by a respective one of the correspondents combine the random integer, exponentiated function and private key of that one correspondent; and
said signature of correspondent A is of the form xr
_{x} _{ 1 }−(r_{A})^{r} ^{ x1 }a mod(p−1) where x_{1 }is a second random integer selected by A and r_{x} _{ 1 }=α^{x} ^{ 1 }. 6. A method according to
said signature generated by a respective one of the correspondents combine the random integer, exponentiated function and private key of that one correspondent; and
said signature of correspondent B is of the form y+b(p
_{A})^{y }mod(p−1). 7. A method according to
said signature of correspondent B is of the form yr
_{y} _{ 1 }−(r_{B})^{r} ^{ y1 }b mod(p−1) where y_{1 }is a second integer selected by correspondent B and r_{y } _{ 1 }=α^{y} ^{ 1 }. 8. A method according to
said signature generated by a respective one of the correspondents combine the random integer, exponentiated function and private key of that one correspondent;
said signature of correspondent A is of the form x−r
_{A }a mod (p−1); and said correspondent A selects a second integer x
_{1 }and forwards r_{A} _{ 1 }to correspondent B where r_{A} _{ 1 }=α^{x} ^{ 1 }and said correspondent B selects a second random integer y_{1 }and sends r_{B} _{ 1 }to correspondent A, where r_{B} _{ 1 }=α^{y} ^{ 1 }each of said correspondents computing a pair of keys k_{1},k_{2 }equivalent to a^{xy }and a^{x} ^{ 1 } ^{y} ^{ 1 }respectively, said session key K being generated by XORing k_{1 }and k_{2}.Description This application is a divisional of application(s) application Ser. No. 08/966,766 now U.S. Pat. No. 6,122,736 filed on Nov. 7, 1997. 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 part 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 and the Matsumoto-Takashima-Imai (MTI) and the Goss 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/AO key agreement protocol establishes a shared secret K, known to the two correspondents, in the following manner. 1. During initial, one-time setup, key generation and publication is undertaken by selecting and publishing an appropriate system prime p and generator α of the multiplicative group Z* 2. The protocol requires the exchange of the following messages.
where x and y are integers selected by correspondents A and B respectively. 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. 3. To implement the protocol the following steps are performed each time a shared key is required. (a) A chooses a random integer x, 1≦x≦p−2, and sends B message (1) i.e. α (b) B chooses a random integer y, 1≦y≦p−2; and sends A message (2) i.e. α (c) A computes the key K=(α (d) B computes the key K=(α (e) Both share the key K=αbx+ay. 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 a 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 5 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 night 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 of authenticating a pair of correspondents A,B to permit exchange of information therebetween, each of said correspondents having a respective private key a,b and a public key p 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(α) ii) said first correspondent A generating a first signature s iii) said first correspondent A forwarding to a second correspondent B a message including said first exponentiated function f(α) 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′(α) v) said second correspondent B forwarding a message to said first correspondent A including said second exponentiated function f′(α) vi) each of said correspondents verifying the integrity of messages received by them by computing from said signature and said exponentiated functioning such a received message a value equivalent to said exponentiated function and comparing said computed value and said transmitted value; vii) each of said correspondents A and B constructing a session key K by exponentiating information made public by said other correspondent with said random integer that is private to themselves. Thus although the interloper E can substitute her public key p Embodiments or the invention will now be described by way of example only with reference to the accompanying drawings in which: FIG. 1 is a schematic representation of a data communication system. FIG. 2 is a flow chart illustrating the steps of authenticating the correspondents shown in FIG. 1 according to a first protocol. Referring therefore to FIG. 1, a pair of correspondents, In operation, a message generated by correspondent A, The key In order for the system shown in FIG. 1 to operate it is necessary for the keys The system parameters for these protocols are a prime number p and a generator α 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 To avoid interloper E convincing B that he is communicating with E, the following protocol is adapted, as exemplified in FIG. 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 Z* 1. A picks a random integer x,1≦x≦p−2, and computes a value r 2. B picks a random integer y,1≦y≦p−2, and computes a value r 3. A computes α 4. B computes α Should E replace text 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. In step 1, A also sends α 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 A second protocol set out below addresses these two drawbacks. 1. A picks a random integer X,1≦x≦p−2, and computes (p 2. B picks a random integer y,1≦y≦p−2, and computes (p 3. A computes (α 4. B computes (α 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 he 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 A further protocol is available for parties A and B to establish a session key K. The system parameters for this protocol are a prime number p and a generator α for the multiplicative group Z* 1. A picks two random integers x,x 2. B picks two random integers y,y 3. A computes α 4. B computes α In these protocols, (r 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. 1. A picks a random integer x, 1≦x≦p−2, and computes r 2. B computes α 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 Z* 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 a (or analogous parameters if a group other than Z* Patent Citations
Non-Patent Citations
Referenced by
Classifications
Legal Events
Rotate |