# US 2021/0288946 A1 · Methods and apparatuses for oblivious transfer using trusted environment

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

- Number: US 2021/0288946 A1
- Document ID: US20210288946A1
- Status: Published application
- Kind: A1
- Application number: 16/816,120
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: Huawei Technologies Co., Ltd.
- Inventors: Dmitry BORZOV
- Web page: https://patentgrep.com/patent/US20210288946A1

## CPC

- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 63/0457: {wherein the sending and receiving network entities apply dynamic encryption, e.g. stream encryption (cryptographic mechanisms or cryptographic arrangements for stream encryption H04L9/065)}
- H04L 9/065: {Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3}
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/3247: {involving digital signatures}
- H04L 63/123: {received data contents, e.g. message integrity}
- 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: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and apparatuses for performing oblivious transfer using a trusted intermediate environment are described. A data object identifier is used to identify requested data object. The requested data object is stored as a plurality of corresponding data chunks over a plurality of data buckets. The data object identifier is encoded with information identifying each of the plurality of corresponding data chunks within each respective data bucket. A trusted intermediate environment receives a data stream that includes data chunks stored in an assigned data bucket. Using the encoded information from the data object identifier, the trusted intermediate environment determines which of the data chunks in the data stream is the corresponding data chunk streamed from the assigned data bucket.

## Claims

### Claim 1

A method, in a trusted environment within a server, comprising:
receiving, into the trusted environment, a data object identifier identifying a requested data object, the requested data object being stored as a plurality of corresponding data chunks in a respective plurality of data buckets, the data object identifier being encoded with information identifying each of the plurality of corresponding data chunks within the respective data bucket;
wherein an assigned data bucket has been assigned to the trusted environment, and wherein a data stream corresponding to the assigned data bucket is received into the trusted environment, the data stream including all data chunks stored in the assigned data bucket;
determining, using the information identifying each of the plurality of corresponding data chunks, which of the data chunks in the data stream is the corresponding data chunk received from the assigned data bucket; and
sending the corresponding data chunk out of the trusted environment to the server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving the data stream from the server into the trusted environment.

### Claim 3 (depends on 1)

The method of claim 1, wherein the information identifying the plurality of corresponding data chunks is a plurality of fingerprint values, each fingerprint value uniquely identifying a respective corresponding data chunk within a respective data bucket.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the corresponding data chunk comprises:
determining a correct fingerprint value from the data object identifier, the correct fingerprint value identifying the corresponding data chunk for the assigned data bucket;
determining the fingerprint value for each of the data chunks in the data stream; and
comparing the fingerprint value for each of the data chunks in the data stream with the correct fingerprint value, to determine the corresponding data chunk.

### Claim 5 (depends on 1)

The method of claim 1, wherein the data object identifier is further encoded with information for ordering the corresponding data chunks to recover the requested data object.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining which of the data chunks is the corresponding data chunk comprises using the information for ordering the corresponding data chunks to determine the information identifying the corresponding data chunk for the assigned data bucket.

### Claim 7 (depends on 5)

The method of claim 5, wherein the information for ordering the corresponding data chunks is a permutation token.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving, into the trusted environment, the data object identifier as an encrypted data object identifier;
decrypting the data object identifier using a private key of the trusted environment; and
sending the corresponding data chunk out of the trusted environment to the server as an encrypted corresponding data chunk.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
performing the steps of receiving the data object identifier, determining the corresponding data chunk, and sending the corresponding data chunk, at least partly in parallel for a first and a second received data object identifier.

### Claim 10 (depends on 1)

The method of claim 1, wherein the data stream comprises compressed data, the method further comprising decompressing the compressed data.

### Claim 11

A method, in a publisher server, comprising:
for each given data object of a plurality of data objects:
dividing the given data object into a plurality of corresponding data chunks; and
assigning each of the plurality of corresponding data chunks to a respective one of a plurality of data buckets based on similarity of each corresponding data chunks to any other data chunk assigned to the respective data bucket;
wherein all data chunks for all data objects are assigned to one of the plurality of data buckets;
for each given data object, generating a data object identifier for recovering the given data object from the plurality of data buckets, the data object identifier being encoded with information identifying each of the plurality of corresponding data chunks within a respective data bucket, the data object identifier further being encoded with information for ordering the corresponding data chunks to recover the requested data object;
compressing each data bucket into a respective set of compressed data; and
publishing the sets of compressed data and the generated data object identifiers.

### Claim 12 (depends on 11)

The method of claim 11, wherein the data chunks assigned to each respective data bucket are ordered according to similarity within each respective data bucket.

### Claim 13 (depends on 11)

The method of claim 11, wherein generating the data object identifier comprises:
for each given data bucket, determining a fingerprint value for each data chunk assigned to the given data bucket, the fingerprint value uniquely identifying each respective data chunk within the given data bucket; and
for each given data object, encoding in the data object identifier the fingerprint value for each respective corresponding data chunk.

### Claim 14 (depends on 13)

The method of claim 13, wherein generating the data object identifier further comprises:
for each given data object:
determining a bucket order by which each corresponding data chunk has been assigned to a respective data bucket;
generating a permutation token representing the bucket order; and
encoding in the data object identifier the permutation token.

### Claim 15 (depends on 11)

The method of claim 11, wherein each data bucket has assigned thereto a single corresponding data chunk from each data object.

### Claim 16 (depends on 11)

The method of claim 11, wherein each data bucket is compressed using an adaptive statistical encoding compressing.

### Claim 17

A method, at an electronic device, comprising:
receiving a plurality of data chunks in response to a query for a data object;
determining, from a data object identifier associated with the data object, information for ordering the data chunks to recover the data object; and
reordering the data chunks to recover the data object.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
transmitting the query for the data object, the query including the data object identifier.

### Claim 19 (depends on 18)

The method of claim 18, wherein the data object identifier transmitted in the query is encoded with information identifying each of the plurality of data chunks within a respective data bucket, the data object identifier further being encoded with the information for ordering the data chunks.

### Claim 20 (depends on 17)

The method of claim 17, wherein determining the information for ordering the data chunks comprises a permutation token encoded in the data object identifier.

### Claim 21 (depends on 17)

The method of claim 17, further comprising:
receiving the plurality of data chunks as a plurality of encrypted data chunks; and
decrypting the plurality of encrypted data chunks using a private key.
