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.
|
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 sA 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 sA; (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 sB 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 sB; (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
3. A method according to
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(pB)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 xrx
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(pA)y mod(p-1).
7. 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 yry
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-rA a mod (p-1); and said correspondent A selects a second integer x1 and forwards rA
|
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*p, that is, αεZ*p; 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 ZA=αZ mod p. Correspondent B generates analogous keys b, zB. Correspondents A and B have access to authenticated copies of each other's long-term public key.
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. αx mod p.
(b) B chooses a random integer y, 1≦y≦p-2; and sends A message (2) i.e. αy mod p.
(c) A computes the key K=(αy)azBx mod p.
(d) B computes the key K=(αx)bzAy mod p.
(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 pApB derived from a generator a 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 and said first exponentiated function f(α)g(x);
iii) said first correspondent A forwarding to a second correspondent B a message including said first exponentiated function f(α)g(x) and the 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 a signature sB obtained from said second integer y and said second exponentiated function f'(α)g(y);
v) said second correspondent B forwarding a message to said first correspondent A including said second exponentiated function f'(α)g(y) and said signature sB.
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 pE=αae in the transmission as: part of the message, B will use pE rather than pA when authenticating the message. Accordingly the computed and transmitted values of the exponential functions mill not correspond.
Embodiments or the invention will now be described by way of example only with reference to the accompanying drawings in which:
Referring therefore to
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
The system parameters for these protocols are a prime number p and a generator αa of the multiplicative group Z*p. Correspondent A has private key a and public key pA=αa. Correspondent B has private key b and b public key pB=αb. In the protocol exemplified below, textA 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 textA 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 pE=(pA)e=αae mod p, and gets this certified as her public key. E does not know the exponent ae, although she knows e. By substituting textE for textA, 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 her 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, as exemplified in FIG. 2.
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*p. User A has private key a and public key pA=αa. User B has private key b and public key pB=αb.
1. A picks a random integer x,1≦x≦p-2, and computes a value rA=αx and a signature sA=x-rAa mod (p-1). A sends {rA,sA,textA} to B.
2. B picks a random integer y,1≦y≦p-2, and computes a value rB=αy and a signature sB=y-rBb mod (p-1). B sends {rB, sB, textB} to A.
3. A computes αs
4. B computes αs
Should E replace textA with textE, B will compute αs
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 αx
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 sA=x-rAa {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.
A second protocol set out below addresses these two drawbacks.
1. A picks a random integer X,1≦x≦p-2, and computes (pB)x, αx and a signature sA=x+a(pB)x {mod (p-1)}. A sends {αx,sA,textA} to B.
2. B picks a random integer y,1≦y≦p-2, and computes (pA)y, αy and a signature sB=Y+b(pA)y {mod (p-1)}. B sends {αY,sB,textB} to A.
3. A computes (αy)a and verifies that αs
4. B computes (αx)b and verifies that αs
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 sS serves as A's signature on the value αx. 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.
The system parameters for this protocol are a prime number p and a generator α for the multiplicative group Z*p. User A has private key a and public key pA=αa. User B has private key b and public key pB=αb.
1. A picks two random integers x,x1,1≦x,x1≦p-2, and computes rx
2. B picks two random integers y,y1,1≦y,y1≦p-2, and computes ry
3. A computes αs
4. B computes αs
In these protocols, (rA,sA) can be thought of as the signature of rx
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 rA=αx and a signature sA=x-rAa {mod (p-1)}. A computes session key K=(pB)x and sends {rA,sA,textA} to B.
2. B computes αa
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*p. 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 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 a (or analogous parameters if a group other than Z*p is used).
Vanstone, Scott, Menezes, Alfred John, Qu, Minghua
Patent | Priority | Assignee | Title |
10652014, | Feb 23 2016 | nChain Licensing AG | Determining a common secret for the secure exchange of information and hierarchical, deterministic cryptographic keys |
10659223, | Feb 23 2016 | nChain Licensing AG | Secure multiparty loss resistant storage and transfer of cryptographic keys for blockchain based systems in conjunction with a wallet management system |
10715336, | Feb 23 2016 | nChain Licensing AG | Personal device security using elliptic curve cryptography for secret sharing |
11120437, | Feb 23 2016 | nChain Licensing AG | Registry and automated management method for blockchain-enforced smart contracts |
11126976, | Feb 23 2016 | nChain Licensing AG | Method and system for efficient transfer of cryptocurrency associated with a payroll on a blockchain that leads to an automated payroll method and system based on smart contracts |
11182782, | Nov 15 2016 | nChain Licensing AG | Tokenisation method and system for implementing exchanges on a blockchain |
11194898, | Feb 23 2016 | nChain Licensing AG | Agent-based turing complete transactions integrating feedback within a blockchain system |
11308486, | Feb 23 2016 | nChain Licensing AG | Method and system for the secure transfer of entities on a blockchain |
11347838, | Feb 23 2016 | nChain Licensing AG | Blockchain implemented counting system and method for use in secure voting and distribution |
11349645, | Feb 23 2016 | nChain Licensing AG | Determining a common secret for the secure exchange of information and hierarchical, deterministic cryptographic keys |
11356280, | Feb 23 2016 | nChain Licensing AG | Personal device security using cryptocurrency wallets |
11373152, | Feb 23 2016 | nChain Licensing AG | Universal tokenisation system for blockchain-based cryptocurrencies |
11410145, | Feb 23 2016 | nChain Licensing AG | Blockchain-implemented method for control and distribution of digital content |
11455378, | Feb 23 2016 | nChain Licensing AG | Method and system for securing computer software using a distributed hash table and a blockchain |
11606219, | Feb 23 2016 | nChain Licensing AG | System and method for controlling asset-related actions via a block chain |
11621833, | Feb 23 2016 | nChain Licensing AG | Secure multiparty loss resistant storage and transfer of cryptographic keys for blockchain based systems in conjunction with a wallet management system |
11625694, | Feb 23 2016 | nChain Licensing AG | Blockchain-based exchange with tokenisation |
11727501, | Feb 23 2016 | nChain Licensing AG | Cryptographic method and system for secure extraction of data from a blockchain |
11755718, | Feb 23 2016 | nChain Licensing AG | Blockchain implemented counting system and method for use in secure voting and distribution |
11936774, | Feb 23 2016 | nChain Licensing AG | Determining a common secret for the secure exchange of information and hierarchical, deterministic cryptographic keys |
11972422, | Feb 23 2016 | nChain Licensing AG | Registry and automated management method for blockchain-enforced smart contracts |
12107952, | Feb 23 2016 | nChain Licensing AG | Methods and systems for efficient transfer of entities on a peer-to-peer distributed ledger using the blockchain |
12182805, | Feb 23 2016 | nChain Licensing AG | Tokenisation method and system for implementing exchanges on a blockchain |
6934463, | Apr 23 1997 | Sony Corporation | Information processing apparatus, information processing method, information processing system and recording medium |
7779259, | Apr 21 1995 | Malikie Innovations Limited | Key agreement and transport protocol with implicit signatures |
8090097, | Oct 11 2006 | Device, system and method for cryptographic key exchange | |
8090947, | Apr 21 1995 | Malikie Innovations Limited | Key agreement and transport protocol with implicit signatures |
8098815, | Oct 11 2006 | Device, system and method for cryptographic key exchange | |
8219820, | Mar 07 2007 | Malikie Innovations Limited | Power analysis countermeasure for the ECMQV key agreement algorithm |
8578165, | Apr 21 1995 | Malikie Innovations Limited | Key agreement and transport protocol |
8631247, | Nov 24 2008 | Malikie Innovations Limited | System and method for hardware based security |
8645703, | Mar 07 2007 | Malikie Innovations Limited | Power analysis countermeasure for the ECMQV key agreement algorithm |
8892890, | Apr 21 1995 | Malikie Innovations Limited | Key agreement and transport protocol |
9183158, | Nov 24 2008 | Malikie Innovations Limited | System and method for hardware based security |
9537660, | Aug 21 2013 | Weijian, Wang; Xiaofeng, Wang | Method of establishing public key cryptographic protocols against quantum computational attack |
9678896, | Nov 24 2008 | Malikie Innovations Limited | System and method for hardware based security |
9774576, | Mar 18 2014 | EM Microelectronic-Marin S.A. | Authentication by use of symmetric and asymmetric cryptography |
ER5660, |
Patent | Priority | Assignee | Title |
4200770, | Sep 06 1977 | Stanford University | Cryptographic apparatus and method |
4956863, | Apr 17 1989 | JONES FUTUREX, INC A CORP OF COLORADO | Cryptographic method and apparatus for public key exchange with authentication |
5586186, | Jul 15 1994 | Microsoft Technology Licensing, LLC | Method and system for controlling unauthorized access to information distributed to users |
5600725, | Aug 17 1993 | Certicom Corp | Digital signature method and key agreement method |
5761305, | Apr 21 1995 | Malikie Innovations Limited | Key agreement and transport protocol with implicit signatures |
5889865, | May 17 1995 | Malikie Innovations Limited | Key agreement and transport protocol with implicit signatures |
DE3915262, | |||
EP393806, | |||
EP639907, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 25 2000 | Certicom Corp. | (assignment on the face of the patent) | / | |||
May 11 2023 | BlackBerry Limited | Malikie Innovations Limited | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 064104 | /0103 |
Date | Maintenance Fee Events |
Jan 18 2008 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 01 2012 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Apr 08 2016 | REM: Maintenance Fee Reminder Mailed. |
Aug 31 2016 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Aug 31 2007 | 4 years fee payment window open |
Mar 02 2008 | 6 months grace period start (w surcharge) |
Aug 31 2008 | patent expiry (for year 4) |
Aug 31 2010 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 31 2011 | 8 years fee payment window open |
Mar 02 2012 | 6 months grace period start (w surcharge) |
Aug 31 2012 | patent expiry (for year 8) |
Aug 31 2014 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 31 2015 | 12 years fee payment window open |
Mar 02 2016 | 6 months grace period start (w surcharge) |
Aug 31 2016 | patent expiry (for year 12) |
Aug 31 2018 | 2 years to revive unintentionally abandoned end. (for year 12) |