# US 2020/0403978 A1 · Hybrid key exchanges for double-hulled encryption

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

- Number: US 2020/0403978 A1
- Document ID: US20200403978A1
- Status: Published application
- Kind: A1
- Application number: 16/903,873
- Filed: 2020-06-17
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Nicholas Alexander Allen; Matthew J. Campagna
- Web page: https://patentgrep.com/patent/US20200403978A1

## CPC

- 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/0816: {Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use}
- 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 63/0478: {applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04L 2463/061: applying further key derivation, e.g. deriving traffic keys from a pair-wise master key
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A first computing system establishes a cryptographically protected communication session with a second computing system by proposing a hybrid cryptographic scheme. In response to the proposed hybrid cryptographic scheme, a second computing system transmits cryptographic materials to the first computing system, and the first computing system transmits cryptographic materials to the second computing system. Using the cryptographic materials, two or more cryptographic keys are derived. One cryptographic key is used to perform an inner cryptographic operation on one or more data items, and another cryptographic key is used to perform an outer cryptographic operation on the one or more data items that have been cryptographically protected by the inner cryptographic operation.

## Claims

### Claim 1

A computer-implemented method, comprising:
at a first system, performing a handshake with a second system to establish a cryptographically protected communications session, the handshake comprising:
obtaining, from the second system, a first cryptographic material and a second cryptographic material;
transmitting, to the second system, a third cryptographic material and a fourth cryptographic material to allow the second system to derive a first encryption key based on the first cryptographic material and the third cryptographic material and to derive a second encryption key based on the second cryptographic material and the fourth cryptographic material;
deriving the first encryption key based on the first cryptographic material and the third cryptographic material;
deriving the second encryption key based on the second cryptographic material and the fourth cryptographic material;
using the first encryption key to encrypt data to obtain first encrypted data;
using the second encryption key to encrypt the first encrypted data to obtain second encrypted data; and
transmitting a message over the cryptographically protected communications session, the message being based on the second encrypted data.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the cryptographically protected communication session is a hybrid cryptographically protected communication session wherein the first encryption key corresponds to a first cryptographic algorithm and the second encryption key corresponds to a second cryptographic algorithm.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the first cryptographic material and the second cryptographic material is transmitted, by the second system, to the first system in response to a first message from the first system to the second system identifying a first cryptographic algorithm and a second cryptographic algorithm.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the first system transmits a first message identifying a first cryptographic algorithm to the second system and a second message identifying a second cryptographic algorithm to the second system, and the second system transmits the first cryptographic material to the first system in response to the first message and a second cryptographic material to the first system in response to the second message.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the first system transmits, to the second system, a first message comprising the third cryptographic material and the fourth cryptographic material, the first message identifying a first cryptographic algorithm and a second cryptographic algorithm, and receiving, in response to the first message, a second message from the second system comprising the first cryptographic material and the second cryptographic material.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein:
the first system transmits a first message comprising the third cryptographic material to the second system, the first message identifying a first cryptographic algorithm;
the first system transmits a second message comprising the fourth cryptographic material to the second system, the second message identifying a second cryptographic algorithm;
in response to the first message indicating the first cryptographic algorithm, the second system transmits the first cryptographic material to the first system; and
in response to the second message indicating the second cryptographic algorithm, the second system transmits the second cryptographic material to the first system.

### Claim 7

A system, comprising:
one or more processors;
memory that stores computer-executable instructions that are executable to cause the one or more processors to:
establish a cryptographically protected communications session by at least:
obtaining, from an other system, a first cryptographic material;
transmitting, to the other system, a second cryptographic material to allow the other system to derive a first cryptographic key based on the first cryptographic material and the second cryptographic material and to derive a second cryptographic key based on the first cryptographic material and the second cryptographic material;
derive the first cryptographic key based on the first cryptographic material and the second cryptographic material and derive the second cryptographic key based on the first cryptographic material and the second cryptographic material;
perform a cryptographic operation on a datum using the first cryptographic key to create a first cryptographically protected datum;
perform the cryptographic operation on the cryptographically protected datum using the second cryptographic key to create a second cryptographically protected datum; and
transmit the second cryptographically protected datum over the cryptographically protected communications session.

### Claim 8 (depends on 7)

The system of claim 7, wherein the cryptographic operation on the datum using the first cryptographic key is a first type of encryption operation and the encryption operation on the cryptographically protected datum using the second cryptographic key is a second type of encryption operation.

### Claim 9 (depends on 7)

The system of claim 7, wherein the instructions that cause the system to establish a cryptographically protected communications session are executable to cause the system to obtain, from the other system, the first cryptographic material in response to a first message transmitted from the system to the other system, the first message comprising information about a first cryptographic algorithm and information about a second cryptographic algorithm.

### Claim 10 (depends on 7)

The system of claim 7, wherein the instructions that cause the system to establish a cryptographically protected communications session are executable to cause the system to obtain, from the other system, a first portion of the first cryptographic material in response to a first message transmitted by the system to the other system, the first message comprising information about a first cryptographic algorithm, and a second portion of the first cryptographic material in response to a second message transmitted by the system to the other system, the second message comprising information about a second cryptographic algorithm.

### Claim 11 (depends on 7)

The system of claim 7, wherein the instructions that cause the system to establish a cryptographically protected communications session are executable to cause the system to transmit, to the other system, a first message comprising the second cryptographic material, the first message indicating a first cryptographic algorithm and a second cryptographic algorithm and, in response to the first message, the system obtains from the other system a response comprising the first cryptographic material.

### Claim 12 (depends on 7)

The system of claim 7, wherein the instructions that cause the system to establish a cryptographically protected communications session are executable to cause the system to:
obtain, from the other system, a first portion of the first cryptographic material in response to a first message transmitted by the system to the other system, the first message comprising a first portion of the second cryptographic material and information about a first cryptographic algorithm; and
obtain, from the other system, a second portion of the first cryptographic material in response to a second message transmitted by the system to the other system, the second message comprising a second portion of the second cryptographic material and information about a second cryptographic algorithm.

### Claim 13 (depends on 7)

The system of claim 7 wherein the instructions that cause the system to perform the cryptographic operation on the datum using the first cryptographic key to create the first cryptographically protected datum and perform the cryptographic operation on the cryptographically protected datum using the second cryptographic key to create the second cryptographically protected datum are executable to cause the system to segment a result of the cryptographic operation on the datum to obtain the cryptographically protected datum.

### Claim 14 (depends on 7)

The system of claim 7 wherein the instructions that cause the system to perform the cryptographic operation on the datum using the first cryptographic key to create the first cryptographically protected datum and perform the cryptographic operation on the cryptographically protected datum using the second cryptographic key to create the second cryptographically protected datum are executable to cause the system to segment the datum into individual blocks and perform the cryptographic operation on each block of the individual blocks to obtain the first cryptographically protected datum.

### Claim 15

A non-transitory computer-readable storage medium storing thereon executable instructions that, as a result of being executed by one or more processors of a system, cause the system to at least:
establish a cryptographically protected communications session by at least communicating with another system such that both the system and the other system are able to use a first cryptographic material and a second cryptographic material;
derive a first cryptographic key based on the first cryptographic material and derive a second cryptographic key based on the second cryptographic material;
perform a cryptographic operation on a datum using the first cryptographic key to create a first cryptographically protected datum;
perform the cryptographic operation on the first cryptographically protected datum using the second cryptographic key; and
transmit a result of the cryptographic operation on the first cryptographically protected datum over the cryptographically protected communications session.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the system to perform the cryptographic operation on the datum to create the first cryptographically protected datum comprise instructions to cause the system to serialize a result of the cryptographic operations on the datum to obtain the first cryptographically protected datum.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the system to perform the cryptographic operation on the datum to create the first cryptographically protected datum comprise instructions to cause the system to serialize the datum into a serialized datum and perform the cryptographic operation on the serialized datum to create the first cryptographically protected datum.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the system to perform the cryptographic operation on the datum to create the first cryptographically protected datum comprise instructions to cause the system to serialize the datum into a serialized datum and perform the cryptographic operation on the serialized datum, and serialize a result of the cryptographic operations on the serialized datum to obtain the first cryptographically protected datum.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to establish a cryptographically protected communications session with the other system further include instructions that cause the computer system to receive, from the other system, the first cryptographic material in response to a first message transmitted from the system to the other system, the first message comprising information about a first cryptographic algorithm and information about a second cryptographic algorithm.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions that cause the computer system to establish a cryptographically protected communications session with the other system further include instructions that cause the computer system to transmit, to the other system, a first message comprising the second cryptographic material, the first message indicating a first cryptographic algorithm and a second cryptographic algorithm and, in response to the first message, receive from the other system a response comprising the first cryptographic material.
