# US 2022/0294611 A1 · Methods of generating a key and a communication method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0294611 A1
- Document ID: US20220294611A1
- Status: Published application
- Kind: A1
- Application number: 17/825,845
- Filed: 2022-05-26
- Published: 2022-09-15
- Earliest claimed: 2019-11-27
- Assignees: PQShield Ltd
- Applicants: PQShield Ltd.
- Inventors: Shuichi KATSUMATA; Thomas PREST
- Web page: https://patentgrep.com/patent/US20220294611A1

## CPC

- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 63/045: {wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0838: {Key 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 (network architectures or network communication protocols for key exchange in a packet data network H04L63/061)}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3255: {using group based signatures, e.g. ring or threshold signatures}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A key generation method is provided. A first peer obtains an ephemeral key from a second peer via a server. The first peer uses the ephemeral key to compute a ciphertext that encrypts a first parameter. The first peer uses the first parameter to generate a session key. The ciphertext is sent to the server by the first peer to allow the second peer to generate the session key. The key may be subsequently used for communication, such as by using a key management algorithm such as Double Rachet.

## Claims

### Claim 1

A method of generating a session key for exchange of data between a first peer and a second peer, the method comprising the second peer:
obtaining an ephemeral key from the first peer;
using the ephemeral key to compute a ciphertext, such that the ciphertext encrypts a first parameter;
computing a second ciphertext, such that the second ciphertext encrypts a second parameter;
generating a pair of intermediate keys from the first parameter and the second parameter;
encrypting a session identifier using two intermediate keys to generate the session key, wherein the two intermediate keys are the pair of intermediate keys; and
sending the ciphertext and second ciphertext to allow the first peer to generate the session key based on the ciphertext and second ciphertext,
wherein the session identifier is generated based on one or more of: an identifier of the first peer, an identifier of the second peer, a public key of the first peer, a public key of the second peer, the ephemeral key received from the first peer, the cipher text computed from the received ephemeral key, and the second ciphertext.

### Claim 2 (depends on 1)

A method according to claim 1, further comprising signing the session identifier using a signing function of a signature scheme to generate a signature.

### Claim 3 (depends on 2)

A method according to claim 2, further comprising encrypting the signature with a key generated by encrypting the session identifier using the two intermediate keys.

### Claim 4 (depends on 2)

A method according to claim 2, wherein the signature scheme is a ring signature scheme and the method comprises receiving an exchange key for the ring signature scheme.

### Claim 5 (depends on 4)

A method according to claim 4, further comprising:
receiving a proof from the first peer that the first peer is in possession of a private signature key corresponding to the received exchange key; and
verifying the received proof using the exchange key.

### Claim 6 (depends on 1)

A method according to claim 1, wherein in the method is for generating a session key for communication between a first peer and a second peer and the ephemeral key is a receiver-oblivious ephemeral key.

### Claim 7

A method of generating a session key for exchange of data between a first peer and a second peer, the method comprising the first peer:
obtaining a ciphertext that encrypts a first parameter;
receiving a second ciphertext that encrypts a second parameter from the second peer;
decrypting the ciphertext to obtain the first parameter;
decrypting the second ciphertext to generate a second parameter;
generating a pair of intermediate keys from the first parameter and the second parameter; and
encrypting a session identifier using two intermediate keys to generate the session key, wherein the two intermediate keys are the pair of intermediate keys,
wherein the session identifier is generated based on one or more of: an identifier of the first peer, an identifier of the second peer, a public key of the first peer, a public key of the second peer, an ephemeral key, the cipher text, and the second ciphertext.

### Claim 8

A non-transitory computer-readable storage medium storing a program that, when executed on an information processing apparatus, causes the information processing apparatus to perform a method of generating a session key for exchange of data between a first peer and a second peer, the method comprising the second peer:
obtaining an ephemeral key from the first peer;
using the ephemeral key to compute a ciphertext, such that the ciphertext encrypts a first parameter;
computing a second ciphertext, such that the second ciphertext encrypts a second parameter;
generating a pair of intermediate keys from the first parameter and the second parameter;
encrypting a session identifier using two intermediate keys to generate the session key, wherein the two intermediate keys are the pair of intermediate keys; and
sending the ciphertext and second ciphertext to allow the first peer to generate the session key based on the ciphertext and second ciphertext,
wherein the session identifier is generated based on one or more of: an identifier of the first peer, an identifier of the second peer, a public key of the first peer, a public key of the second peer, the ephemeral key received from the first peer, the cipher text computed from the received ephemeral key, and the second ciphertext.
