US20050182936A1 - Key agreement and transport protocol with implicit signatures - Google Patents

Key agreement and transport protocol with implicit signatures Download PDF

Info

Publication number
US20050182936A1
US20050182936A1 US10/899,303 US89930304A US2005182936A1 US 20050182936 A1 US20050182936 A1 US 20050182936A1 US 89930304 A US89930304 A US 89930304A US 2005182936 A1 US2005182936 A1 US 2005182936A1
Authority
US
United States
Prior art keywords
correspondent
key
signature
function
generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/899,303
Inventor
Scott Vanstone
Alfred Menezes
Minghua Qu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Malikie Innovations Ltd
Cryptech Systems Inc
Original Assignee
Cryptech Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US08/966,766 external-priority patent/US6122736A/en
Application filed by Cryptech Systems Inc filed Critical Cryptech Systems Inc
Priority to US10/899,303 priority Critical patent/US20050182936A1/en
Publication of US20050182936A1 publication Critical patent/US20050182936A1/en
Priority to US11/870,901 priority patent/US7779259B2/en
Priority to US12/837,104 priority patent/US8090947B2/en
Priority to US13/310,227 priority patent/US20120079274A1/en
Assigned to MALIKIE INNOVATIONS LIMITED reassignment MALIKIE INNOVATIONS LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BLACKBERRY LIMITED
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0838Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
    • H04L9/0841Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these involving Diffie-Hellman or related key agreement protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
    • G06F7/72Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic
    • G06F7/724Finite field arithmetic
    • G06F7/725Finite field arithmetic over elliptic curves

Definitions

  • the present invention relates to key agreement protocols for transfer and authentication of encryption keys.
  • the correspondents 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.
  • 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.
  • 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.
  • Matsumoto-Takashima-Imai Matsumoto-Takashima-Imai
  • 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.
  • the MTI/AO key agreement protocol establishes a shared secret K, known to the two correspondents, in the following manner:
  • 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, ⁇ s Z ⁇ p ; in a manner guaranteeing authenticity.
  • Correspondent B generates analogous keys b, z B .
  • Correspondents A and B have access to authenticated copies of each other's long-term public key.
  • a ⁇ B ⁇ x mod p (1)
  • a ⁇ B ⁇ y mod p (2) where x and y are integers selected by correspondents A and B respectively.
  • 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.
  • A 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.
  • a practical scenario where such an attack may be launched successfully is the following.
  • 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.
  • the protocol for electronic deposit of funds is to exchange a key with a bank branch via a mutually authenticated key agreement.
  • 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.
  • 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 A ,p B derived from a generator ⁇ and respective ones of said private keys a,b, said method including the steps of
  • 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) ;
  • 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 s B obtained from said second integer y and said second exponentiated function f′( ⁇ ) g(y) ;
  • said second correspondent B forwarding a message to said first correspondent A including said second exponentiated function f′( ⁇ ) g(y) and said signature s B .
  • 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;
  • 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.
  • 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.
  • a pair of correspondents, 10 , 12 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 .
  • 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 .
  • the system parameters for these protocols are a prime number p and a generator ⁇ a of the multiplicative group Z ⁇ p .
  • text A 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 A 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.
  • an interloper E wishes to have messages from A identified as having originated from E herself.
  • E does not know the exponent ae, although she knows e.
  • 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.
  • 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 .
  • A sends ⁇ r A ,s A ,text A ⁇ to B.
  • A computes ⁇ s B (p B ) r B and verifies that this is equal to r B .
  • B computes ⁇ s A (p A ) r A and verifies that this is equal to r A .
  • B will compute ⁇ s B (p E ) r A which will not correspond with the transmitted value of r A . B will thus be alerted to the interloper E and will proceed to initiate another session key.
  • Protocol 1 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.
  • step 1 A also sends ⁇ x 1 to B, where x 1 is a second random integer generated by A.
  • B also sends ⁇ y 1 to A, where y 1 is a random integer.
  • A sends ⁇ x ,s A ,text A ⁇ to B.
  • B sends ⁇ Y ,s B ,text B ⁇ to A.
  • 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.
  • the second protocol is a three-pass protocol.
  • the quantity s A serves as A's signature on the value ⁇ x .
  • This signature has the novel property that it can only be verified by part 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 .
  • A sends ⁇ A ,s A , ⁇ x 1 , text A ⁇ to B.
  • B sends ⁇ B ,s B , ⁇ y1 ,text B ⁇ to A.
  • A computes ⁇ s B (p B ) ⁇ B) ⁇ y1 and verifies that is equal to ( ⁇ B ) ⁇ y1 .
  • ( ⁇ A ,s A ) can be thought of as the signature of ⁇ x 1 , with the property that only A can sign the message ⁇ x 1 .
  • 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.
  • a computes session key K (p B ) x and sends ⁇ r A ,s A ,text A ⁇ to B.
  • B computes ⁇ s A (p A ) r A and verifies that this quantity is equal to r A .
  • All one-pass key transport protocols have the following problem of replay.
  • 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.
  • 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.
  • 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 ⁇ circle over ( ⁇ ) ⁇ K, i.e. k XOR'd with K.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Storage Device Security (AREA)

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.

Description

  • This application is a continuation of U.S. divisional patent application Ser. No. 09/558,256 filed on Apr. 25, 2000, which is a divisional of U.S. patent application Ser. No. 08/966,766 filed on Nov. 7, 1997 which is a file wrapper continuation of U.S. patent application Ser. No. 08/426,712 filed on Apr. 12, 1995.
  • 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 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, αs 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 ZAz 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.
    A→B: α x mod p  (1)
    A→B: α y mod p  (2)
    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)azB x mod p.
  • (d) B computes the key K=(αx)bzA y 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 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 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 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 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 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 pEac 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 will not correspond.
  • Embodiments of 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, 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 FIG. 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 αa of the multiplicative group Z p. Correspondent A has private key a and public key pAa. Correspondent B has private key b and b public key pBb. 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)eae 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 pAa. User B has private key b and public key pBb.
  • First Protocol
  • 1. A picks a random integer x,1≦x≦p−2, and computes a value rAx 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 rBy and a signature sB=y−rBb mod (p−1). B sends {rB, sB, textB} to A.
  • 3. A computes αs B (pB)r B and verifies that this is equal to rB. A computes the session key K=(rB)xxy.
  • 4. B computes αs A (pA)r A and verifies that this is equal to rA. B computes the session key K=(rA)yxy.
  • Should E replace textA with textE, B will compute αs B (pE)r A which will not correspond with the transmitted value of rA. 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 αx 1 to B, where x1 is a second random integer generated by A. Similarly, in step 2 above, B also sends αy 1 to A, where y1 is a random integer. A and B now compute the key K=αxy{circle over (+)}αx 1 y 1 .
  • 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.
  • Second Protocol
  • 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)yy 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 B (pB)−α ay y. A then computes session key=αay(pB)x.
  • 4. B computes (αx)b and verifies that αs A (pA)−α bx x. A then computes session key K=αbx(pA)y.
  • 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 sA serves as A's signature on the value αx. This signature has the novel property that it can only be verified by part 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 α for the multiplicative group Zα p. User A has private key a and public key pAa. User B has private key b and public key pBb.
  • 1. A picks two random integers x,x1,1≦x,x1≦p−2, and computes γx1,=αx1Ax and (ΓA)Γx1, then computes a signature sA=xΓx 1 ·(γA)Γ x1 a mod (p−1). A sends {ΓA,sAx 1 , textA} to B.
  • 2. B picks two random integers y,y1,1≦y,y1≦p−2, and computes Γy1y1By and (ΓB)Γ y1 , then computes a signature sB=yry1·(ΓB)Γ y1 b {mod (p−1)}. B sends {γB,sB, αy1,textB} to A.
  • 3. A computes αs B (pB)Γ B) Γ y1 and verifies that is equal to (ΓB)Γ y1 .
  • A computes session key K=(αy1)x 1 x 1 y1.
  • 4. B computes αs A (pA) A ) Γ x1 and verifies that this is equal to (ΓA)Γ x1 .
  • B computes session key K=(αx 1 )y1x 1 y 1
  • In these protocols, (ΓA,sA) can be thought of as the signature of Γx 1 , with the property that only A can sign the message Γx 1 .
  • 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.
  • 1. A picks a random integer x, 1≦x≦p−2, and computes rAx 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 αs A (pA)r A and verifies that this quantity is equal to rA. B computes session key K=(rA)b.
  • 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{circle over (−)}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).

Claims (17)

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 f(α) including said generator to a power g(x) to provide a first exponentiated function f(α)2(x);
ii) said first correspondent A generating a first signature sA from said random integer x and said exponentiated function f(α)2(x);
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);
v) said second correspondent B forwarding a message to said first correspondent A including said second exponential function f′(α)g(y) and said signature sg;
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 correspondent with said random integer that is private to themselves.
2. A method of claim 1 wherein said message forwarded by said first correspondent includes an identification of the first correspondent.
3. A method according to claim 1 wherein said message forwarded by said second correspondent includes an identification of said second correspondent.
4. A method according to claim 3 wherein said message forwarded by said first correspondent includes an identification of the first correspondent.
5. A method according to claim 1 wherein said first function including said generator f(α) is said generator itself.
6. A method according to claim 1 wherein said second function f(α) including said generator is said generator itself.
7. A method according to claim 6 wherein said first function f(α) including said generator is said generator itself.
8. A method according to claim 1 wherein said first function including said generator f(α) includes the public key pB of said second correspondent.
9. A method according to claim 1 wherein said second function including said generator f′α includes the public key pA of said first correspondent.
10. A method according to claim 1 wherein said signature generated by a respective one of the correspondents combine the random integer, exponentiated function and private key of that one correspondent.
11. A method according to claim 10 wherein said signature of correspondent A is of the form x−rA a mod (p−1).
12. A method according to claim 10 wherein said signature of correspondent A is of the form x+a(pB)x mod (p−1).
13. A method according to claim 10 wherein said signature of correspondent A is of the form xΓx 1 −(ΓA)Γ x1 a mod (p−1) where x1 is a second random integer selected by A and rx 1 x 1 .
14. A method according to claim 10 wherein said signature of correspondent B is of the form yB−rBb mod (p−1).
15. A method according to claim 10 wherein said signature of correspondent B is of the form y+b(pA)y mod (p−1).
16. A method according to claim 10 wherein said signature of correspondent B is of the form yΓy 1 −(ΓB)Γ y −b mod (p−1) where y1 is a second integer selected by correspondent B and Γy 1 y 1
17. A method according to claim 11 wherein said correspondent A selects a second integer x1 and forwards ΓA 1 to correspondent B where ΓA 1 x 1 and said correspondent B selects a second random integer y1 and sends ΓB 1 to correspondent A, where ΓB 1 y 1 each of said correspondents computing a pair of keys k1,k2. equivalent to αa and αx 1 y s respectively, said session key K being generated by XORing k1 and k2.
US10/899,303 1995-04-21 2004-07-27 Key agreement and transport protocol with implicit signatures Abandoned US20050182936A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US10/899,303 US20050182936A1 (en) 1995-04-21 2004-07-27 Key agreement and transport protocol with implicit signatures
US11/870,901 US7779259B2 (en) 1995-04-21 2007-10-11 Key agreement and transport protocol with implicit signatures
US12/837,104 US8090947B2 (en) 1995-04-21 2010-07-15 Key agreement and transport protocol with implicit signatures
US13/310,227 US20120079274A1 (en) 1995-04-21 2011-12-02 Key Agreement and Transport Protocol with Implicit Signatures

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US42671295A 1995-04-21 1995-04-21
US08/966,766 US6122736A (en) 1995-04-21 1997-11-07 Key agreement and transport protocol with implicit signatures
US09/558,256 US6785813B1 (en) 1997-11-07 2000-04-25 Key agreement and transport protocol with implicit signatures
US10/899,303 US20050182936A1 (en) 1995-04-21 2004-07-27 Key agreement and transport protocol with implicit signatures

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
US09/558,256 Continuation US6785813B1 (en) 1995-04-21 2000-04-25 Key agreement and transport protocol with implicit signatures
US09/558,256 Division US6785813B1 (en) 1995-04-21 2000-04-25 Key agreement and transport protocol with implicit signatures

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/870,901 Continuation US7779259B2 (en) 1995-04-21 2007-10-11 Key agreement and transport protocol with implicit signatures

Publications (1)

Publication Number Publication Date
US20050182936A1 true US20050182936A1 (en) 2005-08-18

Family

ID=32909096

Family Applications (5)

Application Number Title Priority Date Filing Date
US09/558,256 Expired - Fee Related US6785813B1 (en) 1995-04-21 2000-04-25 Key agreement and transport protocol with implicit signatures
US10/899,303 Abandoned US20050182936A1 (en) 1995-04-21 2004-07-27 Key agreement and transport protocol with implicit signatures
US11/870,901 Expired - Fee Related US7779259B2 (en) 1995-04-21 2007-10-11 Key agreement and transport protocol with implicit signatures
US12/837,104 Expired - Fee Related US8090947B2 (en) 1995-04-21 2010-07-15 Key agreement and transport protocol with implicit signatures
US13/310,227 Abandoned US20120079274A1 (en) 1995-04-21 2011-12-02 Key Agreement and Transport Protocol with Implicit Signatures

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/558,256 Expired - Fee Related US6785813B1 (en) 1995-04-21 2000-04-25 Key agreement and transport protocol with implicit signatures

Family Applications After (3)

Application Number Title Priority Date Filing Date
US11/870,901 Expired - Fee Related US7779259B2 (en) 1995-04-21 2007-10-11 Key agreement and transport protocol with implicit signatures
US12/837,104 Expired - Fee Related US8090947B2 (en) 1995-04-21 2010-07-15 Key agreement and transport protocol with implicit signatures
US13/310,227 Abandoned US20120079274A1 (en) 1995-04-21 2011-12-02 Key Agreement and Transport Protocol with Implicit Signatures

Country Status (1)

Country Link
US (5) US6785813B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132806A1 (en) * 2004-06-10 2009-05-21 Marc Blommaert Method for agreeing between at least one first and one second communication subscriber to security key for securing communication link
CN103647653A (en) * 2013-12-24 2014-03-19 深圳国微技术有限公司 Certification and key agreement method between devices

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785813B1 (en) * 1997-11-07 2004-08-31 Certicom Corp. Key agreement and transport protocol with implicit signatures
US6487661B2 (en) 1995-04-21 2002-11-26 Certicom Corp. Key agreement and transport protocol
JP3864401B2 (en) * 1997-04-23 2006-12-27 ソニー株式会社 Authentication system, electronic device, authentication method, and recording medium
JP2003229847A (en) * 2001-11-28 2003-08-15 Yun-Factory:Kk Key exchange apparatus, method, program and recording medium recording the program
JP2006080642A (en) * 2004-09-07 2006-03-23 Sony Corp Information processing apparatus and method, program, and recording medium
US7958356B1 (en) * 2006-09-29 2011-06-07 Netapp, Inc. System and method for establishing a shared secret among nodes of a security appliance
US8098815B2 (en) * 2006-10-11 2012-01-17 Frank Rubin Device, system and method for cryptographic key exchange
US8090097B2 (en) * 2006-10-11 2012-01-03 Frank Rubin Device, system and method for cryptographic key exchange
WO2008106792A1 (en) * 2007-03-06 2008-09-12 Research In Motion Limited Methods and apparatus for performing an elliptic curve scalar multiplication operation using splitting
US8219820B2 (en) 2007-03-07 2012-07-10 Research In Motion Limited Power analysis countermeasure for the ECMQV key agreement algorithm
KR20080112010A (en) * 2007-06-20 2008-12-24 삼성전자주식회사 Apparatus and method for authenticating firmware
CA2743958C (en) 2008-11-24 2016-11-08 Certicom Corp. System and method for hardware based security
WO2010105900A1 (en) * 2009-03-16 2010-09-23 Thomson Licensing Exponentiation method resistant against side-channel and safe-error attacks
US8621227B2 (en) 2010-12-28 2013-12-31 Authernative, Inc. System and method for cryptographic key exchange using matrices
US8656484B2 (en) 2010-12-28 2014-02-18 Authernative, Inc. System and method for mutually authenticated cryptographic key exchange using matrices
CN103414569B (en) * 2013-08-21 2016-08-10 王威鉴 A kind of method of the public key cryptography setting up attack resistance
US9774576B2 (en) * 2014-03-18 2017-09-26 Em Microelectronic-Marin S.A. Authentication by use of symmetric and asymmetric cryptography
JP5838248B1 (en) * 2014-09-24 2016-01-06 株式会社 ディー・エヌ・エー System and method for providing a predetermined service to a user
KR20180114939A (en) 2016-02-23 2018-10-19 엔체인 홀딩스 리미티드 Systems and methods for controlling asset-related activities through block chaining
WO2017145002A1 (en) 2016-02-23 2017-08-31 nChain Holdings Limited Personal device security using elliptic curve cryptography for secret sharing
JP7083754B2 (en) 2016-02-23 2022-06-13 エヌチェーン ホールディングス リミテッド Methods and systems for efficient transfer of cryptocurrencies associated with payroll on the blockchain, resulting in automatic payroll methods and systems based on smart contracts
EP3860037A1 (en) 2016-02-23 2021-08-04 Nchain Holdings Limited Cryptographic method and system for secure extraction of data from a blockchain
MX2018010048A (en) 2016-02-23 2019-01-21 Nchain Holdings Ltd Universal tokenisation system for blockchain-based cryptocurrencies.
EP3420517B1 (en) 2016-02-23 2022-07-06 nChain Holdings Limited A method and system for the secure transfer of entities on a blockchain
ES2687182T3 (en) 2016-02-23 2018-10-24 nChain Holdings Limited Determine a common secret for the secure exchange of information and hierarchical and deterministic cryptographic keys
WO2017145010A1 (en) 2016-02-23 2017-08-31 nChain Holdings Limited Secure multiparty loss resistant storage and transfer of cryptographic keys for blockchain based systems in conjunction with a wallet management system
SG11201806785YA (en) 2016-02-23 2018-09-27 Nchain Holdings Ltd Tokenisation method and system for implementing exchanges on a blockchain
CN112686653B (en) 2016-02-23 2024-06-07 区块链控股有限公司 Registration and automation management method for intelligent contract executed by block chain
EP3754901A1 (en) 2016-02-23 2020-12-23 Nchain Holdings Limited Blockchain implemented counting system and method for use in secure voting and distribution
BR112018016822A2 (en) 2016-02-23 2018-12-26 Nchain Holdings Ltd computer-implemented method for performing an entity exchange between a first user and a second user, processor, and computer readable medium
MX2018010059A (en) 2016-02-23 2019-01-21 Nchain Holdings Ltd Blockchain-implemented method for control and distribution of digital content.
AU2017222471B2 (en) 2016-02-23 2022-09-01 nChain Holdings Limited A method and system for securing computer software using a distributed hash table and a blockchain
US12107952B2 (en) 2016-02-23 2024-10-01 Nchain Licensing Ag Methods and systems for efficient transfer of entities on a peer-to-peer distributed ledger using the blockchain
US11431477B2 (en) 2018-05-14 2022-08-30 nChain Holdings Limited Computer-implemented systems and methods for using a blockchain to perform an atomic swap
GB201815396D0 (en) 2018-09-21 2018-11-07 Nchain Holdings Ltd Computer implemented system and method
GB201909960D0 (en) 2019-07-11 2019-08-28 Nchain Holdings Ltd Computer-implemented system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4200770A (en) * 1977-09-06 1980-04-29 Stanford University Cryptographic apparatus and method
US4956863A (en) * 1989-04-17 1990-09-11 Trw Inc. Cryptographic method and apparatus for public key exchange with authentication
US5586186A (en) * 1994-07-15 1996-12-17 Microsoft Corporation Method and system for controlling unauthorized access to information distributed to users
US5600725A (en) * 1993-08-17 1997-02-04 R3 Security Engineering Ag Digital signature method and key agreement method
US5761305A (en) * 1995-04-21 1998-06-02 Certicom Corporation Key agreement and transport protocol with implicit signatures
US5889865A (en) * 1995-05-17 1999-03-30 Certicom Corp. Key agreement and transport protocol with implicit signatures

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4405829A (en) 1977-12-14 1983-09-20 Massachusetts Institute Of Technology Cryptographic communications system and method
DE3915262A1 (en) 1988-05-18 1989-11-30 Asea Brown Boveri Method for generating authenticated secret codes
US4991210A (en) 1989-05-04 1991-02-05 David Chaum Unpredictable blind signature systems
JPH02301241A (en) 1989-05-15 1990-12-13 Nippon Telegr & Teleph Corp <Ntt> Delivery system for common key
US4996711A (en) 1989-06-21 1991-02-26 Chaum David L Selected-exponent signature systems
US5199070A (en) 1990-12-18 1993-03-30 Matsushita Electric Industrial Co., Ltd. Method for generating a public key
US5299262A (en) 1992-08-13 1994-03-29 The United States Of America As Represented By The United States Department Of Energy Method for exponentiating in cryptographic systems
JPH06141785A (en) * 1992-09-17 1994-05-24 Ajinomoto Co Inc Feed additive composition for ruminant
US5442707A (en) 1992-09-28 1995-08-15 Matsushita Electric Industrial Co., Ltd. Method for generating and verifying electronic signatures and privacy communication using elliptic curves
US5299263A (en) 1993-03-04 1994-03-29 Bell Communications Research, Inc. Two-way public key authentication and key agreement for low-cost terminals
US5347581A (en) 1993-09-15 1994-09-13 Gemplus Developpement Verification process for a communication system
US5491749A (en) 1993-12-30 1996-02-13 International Business Machines Corporation Method and apparatus for entity authentication and key distribution secure against off-line adversarial attacks
FR2718312B1 (en) 1994-03-29 1996-06-07 Rola Nevoux Method for the combined authentication of a telecommunications terminal and a user module.
US6785813B1 (en) * 1997-11-07 2004-08-31 Certicom Corp. Key agreement and transport protocol with implicit signatures
US6487661B2 (en) 1995-04-21 2002-11-26 Certicom Corp. Key agreement and transport protocol
WO1996033565A1 (en) 1995-04-21 1996-10-24 Certicom Corp. Method for signature and session key generation
AU713063B2 (en) 1996-10-11 1999-11-25 Integrated Research Technology, Llc Long chain carboxybetaines in antimicrobial formulations
EP1075746B1 (en) 1998-05-01 2005-11-23 Certicom Corp. Authenticated key agreement protocol
US6192474B1 (en) 1998-07-31 2001-02-20 Lucent Technologies Inc. Method for establishing a key using over-the-air communication and password protocol and password protocol
US7047408B1 (en) 2000-03-17 2006-05-16 Lucent Technologies Inc. Secure mutual network authentication and key exchange protocol
US7047406B2 (en) * 2001-03-21 2006-05-16 Qurlo Holdings, Inc. Method and system for providing a secure peer-to-peer file delivery network
US7076656B2 (en) 2001-04-05 2006-07-11 Lucent Technologies Inc. Methods and apparatus for providing efficient password-authenticated key exchange
DE10137152A1 (en) 2001-07-30 2003-02-27 Scm Microsystems Gmbh Procedure for the transmission of confidential data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4200770A (en) * 1977-09-06 1980-04-29 Stanford University Cryptographic apparatus and method
US4956863A (en) * 1989-04-17 1990-09-11 Trw Inc. Cryptographic method and apparatus for public key exchange with authentication
US5600725A (en) * 1993-08-17 1997-02-04 R3 Security Engineering Ag Digital signature method and key agreement method
US5586186A (en) * 1994-07-15 1996-12-17 Microsoft Corporation Method and system for controlling unauthorized access to information distributed to users
US5761305A (en) * 1995-04-21 1998-06-02 Certicom Corporation Key agreement and transport protocol with implicit signatures
US5889865A (en) * 1995-05-17 1999-03-30 Certicom Corp. Key agreement and transport protocol with implicit signatures

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132806A1 (en) * 2004-06-10 2009-05-21 Marc Blommaert Method for agreeing between at least one first and one second communication subscriber to security key for securing communication link
US8291222B2 (en) * 2005-06-10 2012-10-16 Siemens Aktiengesellschaft Method for agreeing between at least one first and one second communication subscriber to security key for securing communication link
CN103647653A (en) * 2013-12-24 2014-03-19 深圳国微技术有限公司 Certification and key agreement method between devices

Also Published As

Publication number Publication date
US7779259B2 (en) 2010-08-17
US6785813B1 (en) 2004-08-31
US20080162940A1 (en) 2008-07-03
US20120079274A1 (en) 2012-03-29
US20100281259A1 (en) 2010-11-04
US8090947B2 (en) 2012-01-03

Similar Documents

Publication Publication Date Title
US6785813B1 (en) Key agreement and transport protocol with implicit signatures
EP0739105B1 (en) Method for signature and session key generation
US5761305A (en) Key agreement and transport protocol with implicit signatures
US5896455A (en) Key agreement and transport protocol with implicit signatures
US6487661B2 (en) Key agreement and transport protocol
US20040081321A1 (en) Key agreement and transport protocol
US7243232B2 (en) Key agreement and transport protocol
EP2315389B1 (en) Key agreement and transport protocol with implicit signatures
CA2581119C (en) Key agreement and transport protocol

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

AS Assignment

Owner name: MALIKIE INNOVATIONS LIMITED, IRELAND

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BLACKBERRY LIMITED;REEL/FRAME:064104/0103

Effective date: 20230511