# US 2024/0187476 A1 · Wan optimization for encrypted data traffic using fully homomorphic encryption

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

- Number: US 2024/0187476 A1
- Document ID: US20240187476A1
- Status: Published application
- Kind: A1
- Application number: 18/076,318
- Filed: 2022-12-06
- Published: 2024-06-06
- Earliest claimed: 2022-12-06
- Assignees: VMware, Inc.
- Applicants: VMware LLC
- Inventors: Igor Golikov; Aran Bergman; Lior Gal; Avishay Yanai; Israel Cidon; Alex Markuze; Eyal Zohar
- Web page: https://patentgrep.com/patent/US20240187476A1

## CPC

- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 9/008: {involving homomorphic encryption}
- H04L 63/0272: {Virtual private networks}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 9/14: using a plurality of keys or algorithms
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Some embodiments of the invention provide a method for WAN (wide area network) optimization for a WAN that connects multiple sites, each of which has at least one router. At a gateway router deployed to a public cloud, the method receives from at least two routers at least two sites, multiple data streams destined for a particular centralized datacenter. The method performs a WAN optimization operation to aggregate the multiple streams into one outbound stream that is WAN optimized for forwarding to the particular centralized datacenter. The method then forwards the WAN-optimized data stream to the particular centralized datacenter.

## Claims

### Claim 1

A method for WAN (wide area network) optimization for a WAN that connects a plurality of sites, the method comprising:
at a gateway router deployed to a public cloud,
receiving, from a source device at a first site of the plurality of sites, (i) a public evaluation key and (ii) an encrypted file;
without decrypting the encrypted file, using the received public evaluation key to compute a set of encrypted indices for the encrypted file and providing the set of encrypted indices to the source device to enable the source device to derive a set of encrypted segments from the encrypted file; and
upon receiving the set of encrypted segments and the set of digests from the source device at the first site, performing a set of optimization operations on the set of encrypted segments to construct an optimized encrypted data stream for forwarding to a destination device at a second site of the plurality of sites.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of optimization operations comprises (i) a TRE operation, (ii) a compression operation, and (iii) a QoS scheduling operation.

### Claim 3 (depends on 2)

The method of claim 2, wherein the TRE operation comprises (i) removing redundant segments and (ii) replacing the removed redundant segments with segment identifiers corresponding to the segments.

### Claim 4 (depends on 3)

The method of claim 3, wherein the TRE operation further comprises (i) iterating over each segment to determine if the segment already exists in a cache of the destination, and (ii) replacing each segment determined to exist in the destination's cache with an identifier for the segment.

### Claim 5 (depends on 2)

The method of claim 2, wherein the compression operation comprises using a dictionary to replace repeated series of bytes in the encrypted data stream with shorter series of bytes.

### Claim 6 (depends on 5)

The method of claim 5, wherein the compression operation is performed to generate the optimized encrypted data stream.

### Claim 7 (depends on 1)

The method of claim 1, wherein in addition to the derived set of encrypted segments, the source device also uses the set of encrypted indices to compute a set of digests from the encrypted file corresponding to the set of encrypted segments.

### Claim 8 (depends on 7)

The method of claim 7, wherein the set of digests comprise segment identifiers corresponding to the set of encrypted segments.

### Claim 9 (depends on 1)

The method of claim 1 further comprising forwarding the optimized encrypted data stream to the destination.

### Claim 10 (depends on 1)

The method of claim 1, wherein the public evaluation key enables the gateway router to compute the set of encrypted indices without decrypting the encrypted file.

### Claim 11 (depends on 10)

The method of claim 10, wherein using the received public evaluation key to compute the set of encrypted indices comprises using the public evaluation key in a fully homomorphic encryption (FHE) operation to compute the set of encrypted indices.

### Claim 12 (depends on 1)

The method of claim 1, wherein the set of encrypted indices comprises unique identifiers to categorize the encrypted file.

### Claim 13

A non-transitory machine readable medium storing a program for execution by a set of processing units, the program for a gateway router deployed to a public cloud to provide WAN (wide area network) optimization for a WAN that connects a plurality of sites, the method comprising:
receiving, from a source device at a first site of the plurality of sites, (i) a public evaluation key and (ii) an encrypted file;
without decrypting the encrypted file, using the received public evaluation key to compute a set of encrypted indices for the encrypted file and providing the set of encrypted indices to the source device to enable the source device to derive a set of encrypted segments from the encrypted file; and
upon receiving the set of encrypted segments and the set of digests from the source device at the first site, performing a set of optimization operations on the set of encrypted segments to construct an optimized encrypted data stream for forwarding to a destination device at a second site of the plurality of sites.

### Claim 14 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the set of optimization operations comprises (i) a TRE operation, (ii) a compression operation, and (iii) a QoS scheduling operation.

### Claim 15 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the TRE operation comprises (i) removing redundant segments and (ii) replacing the removed redundant segments with segment identifiers corresponding to the segments.

### Claim 16 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein the TRE operation further comprises (i) iterating over each segment to determine if the segment already exists in a cache of the destination, and (ii) replacing each segment determined to exist in the destination's cache with an identifier for the segment.

### Claim 17 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the compression operation comprises using a dictionary to replace repeated series of bytes in the encrypted data stream with shorter series of bytes to generate the optimized encrypted data stream.

### Claim 18 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein in addition to the derived set of encrypted segments, the source device also uses the set of encrypted indices to compute a set of digests from the encrypted file corresponding to the set of encrypted segments, wherein the set of digests comprise segment identifiers corresponding to the set of encrypted segments.

### Claim 19 (depends on 13)

The non-transitory machine readable medium of claim 13, the program further comprising a set of instructions for forwarding the optimized encrypted data stream to the destination.

### Claim 20 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the set of instructions for using the received public evaluation key to compute the set of encrypted indices comprises a set of instructions for using the public evaluation key in a fully homomorphic encryption (FHE) operation to compute the set of encrypted indices without decrypting the encrypted file.
