WO2016153602A1 - Systems, methods, and apparatus to provide private information retrieval - Google Patents
Systems, methods, and apparatus to provide private information retrieval Download PDFInfo
- Publication number
- WO2016153602A1 WO2016153602A1 PCT/US2016/016361 US2016016361W WO2016153602A1 WO 2016153602 A1 WO2016153602 A1 WO 2016153602A1 US 2016016361 W US2016016361 W US 2016016361W WO 2016153602 A1 WO2016153602 A1 WO 2016153602A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- trusted processing
- processing unit
- protected
- enclaves
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9027—Trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/278—Data partitioning, e.g. horizontal or vertical partitioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9014—Indexing; Data structures therefor; Storage structures hash tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6227—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
- G06F21/6263—Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/102—Entity profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2123—Dummy operation
Definitions
- This disclosure relates generally to network security, and, more particularly, to systems, methods, and apparatus to provide private information retrieval.
- Users access database records from servers by making requests, typically via a communications network such as the Internet.
- the servers and/or database records may be controlled by an entity other than the person making the request.
- FIG. 1 is a block diagram of an example system constructed in accordance with the teachings of this disclosure to provide private information retrieval using a trusted processing unit.
- FIG. 2 is a block diagram of another example system constructed in accordance with the teachings of this disclosure to provide private information retrieval using multiple trusted processing units.
- FIG. 3 illustrates an example of privately accessing a record in a database using protected hashing enclaves and protected data enclaves arranged in a tree structure.
- FIG. 4 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to generate one or more protected data enclaves to provide private information retrieval from a database.
- FIG. 5 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to service a request for private information retrieval from a database.
- FIG. 6 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to receive and process dummy requests.
- FIG. 7 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to receive and respond to requests.
- FIG. 8 is a block diagram of an example processor platform capable of executing the instructions of FIGS. 4 and/or 7 to implement the trusted processing unit, the example data enclave generator, the example record retriever, and/or the example protected data enclave of FIGS. 1 and/or 2.
- FIG. 9 is a block diagram of an example processor platform capable of executing the instructions of FIG. 4 to implement the untrusted processing unit, untrusted storage, the untrusted code, the database, the data, the records and/or the example private information retrieval manager of FIGS. 1 and/or 2.
- FIG. 10 is a block diagram of an example processor platform capable of executing the instructions of FIGS. 4, 5, 6, and/or 7 to implement the trusted processing units, the example hashing enclave generators, the example protected hashing enclave, the example request processors of FIG. 2.
- Private Information Retrieval allows a user to retrieve an item from a database server without revealing to the server which item was retrieved.
- An example is a private DNS server (e.g., a database including a simple table of DNS hostnames and IP addresses) that returns the IP address corresponding to the hostname without knowing which hostname is specified in the query and without knowing which IP address is being returned.
- Known solutions to PIR include: 1) returning the entire database to the requesting client; 2) using cryptographic solutions; and 3) using trusted co-processors executing an oblivious random access memory (ORAM) protocol. All three known solutions are currently impractical, because they require unacceptably high query latencies and/or transfer bandwidths. Returning the entire database to the requesting client is impractical due to network constraints, and becomes even less practical as the database grows larger. The use of cryptographic solutions is also impractical due to a high computational requirement and resulting query latency. While more practical than the other two known techniques, currently known ORAM protocols also suffer from relatively high query latencies and are restricted to a single user.
- ORAM oblivious random access memory
- Examples disclosed herein utilize trusted processing units that can protect large amounts of memory to provide private information retrieval for databases.
- the database to be queried is copied into one or more protected data enclaves that are protected by corresponding trusted processing units.
- the database size is less than a maximum memory size that is protectable by a trusted processing unit, one trusted processing unit may be used to provide the private information retrieval for the database.
- the database is split into multiple protected data enclaves that are protected by corresponding trusted processing units.
- the multiple protected data enclaves are arranged in a tree structure, where the protected data enclaves are the leaf nodes.
- trusted processing units that implement protected hashing enclaves are the branch nodes.
- the protected hashing enclaves store data indicating paths through the tree structure where any of the records in the database may be found (e.g., indicating which the protected data enclaves (and the corresponding trusted processing unit) stores a requested record).
- the term "accessible,” as it is applied to stored data or records, refers to the quality of being readable in plaintext form (i.e., unencrypted), as opposed to only being readable in ciphertext form (i.e., encrypted form).
- Data or records may be accessible to an entity even if the data is stored in encrypted form provided the entity is capable of promptly decrypting the data (e.g., the entity has the decryption key) without resorting to encryption cracking methods such as brute force, dictionary-based attacks, or other cracking methods.
- examples herein respond to requests for access to data in a database, the requests do not result in actual querying of the database itself, because such querying would permit the owner of the database to know what data was accessed. Instead, copies of the data from the database are used to provide the requested data.
- Examples disclosed herein improve the request latency for providing private information retrieval without reducing the security of the data retrieval.
- examples disclosed herein reduce the processing resources spent by requesters while waiting for responses to private information retrieval requests.
- examples disclosed herein conserve bandwidth by reducing the amount of transferred data to only transfer the records that are requested (rather than an entire database).
- examples disclosed herein use fewer processing resources and/or bandwidth to retrieve the requested data and to provide the requested data to the requester (rather than spending a large number of processing resources performing ORAM techniques).
- FIG. 1 is a block diagram of an example system 100 to provide private information retrieval using a trusted processing unit.
- the example system 100 of FIG. 1 receives and responds to requests for data from one or more requesters 102.
- the system 100 communicates with the requester(s) via a communications network 104, such as the Internet.
- Example system 100 of FIG. 1 may include, but are not limited to, one or more personal computers, servers, notebook computers, mobile communication devices (e.g., cellular handset, smartphone, etc.), and/or any other computing device and/or combination of computing devices.
- the data may include any content and/or may be stored in any format.
- Requests for data (and their corresponding responses) may comply with any past, present, and/or future communications protocols, such as hypertext transfer protocol (HTTP) or HTTP Secure (HTTPS).
- HTTP hypertext transfer protocol
- HTTPS HTTP Secure
- the example system 100 of FIG. 1 includes a trusted processing unit 106, an untrusted processing unit 108, and untrusted storage 110.
- the trusted processing unit 106 and the untrusted processing unit 108 are implemented in a same processor or processing device.
- the trusted processing unit 106 may be implemented by instantiating a trusted execution environment within a processor.
- An example trusted execution environment may be created using the Software Guard Extensions (SGX) instruction set from Intel® Corporation.
- SGX Software Guard Extensions
- the trusted processing unit 106 is a different processor than the untrusted processing unit 108.
- the example trusted processing unit 106 of FIG. 1 includes a data enclave generator 112, a record retriever 114, and a protected data enclave 116.
- the example untrusted storage 110 stores untrusted code 118 and a database 120 containing data 122 that is desired to be accessed by the requester(s) 102.
- the requester(s) 102 desire to privately access data from the database 120, but do not trust the untrusted code 118.
- the requester(s) 102 desire private information retrieval, in which the requester(s) may access one or more records without the untrusted processing unit 108 or the untrusted code being able to discern or infer the records being accessed.
- the requester(s) 102 may be concerned that the untrusted code 118 may contain software that could attempt to profile them for undesired marketing purposes and/or to use knowledge of the queries and/or accessed records for more nefarious purposes.
- the requester(s) 102 desire for the untrusted processing unit 108 to not have access to the contents of the request(s) and/or to not have access to the record(s) that are accessed and/or provided to the requester(s) 102 in response to the request(s).
- the trusted processing unit 106 constructs the protected data enclave 116 to contain the data 122 stored in the database 120, receives request(s) from the requester(s) 102, and provides the requested data to the requester(s) 102 without the untrusted processing unit 108 (which may be executing the untrusted code 118) having access to the request or having access to the data sent to the requester(s) 102 in response to the request.
- the example trusted processing unit 106 of FIG. 1 executes trusted code (e.g., code that is trusted to not be modified from a set of understood functions) to implement the data enclave generator 112 and/or the record retriever 114.
- trusted code e.g., code that is trusted to not be modified from a set of understood functions
- the data enclave generator 112 and/or the record retriever 114 are implemented using hardware (e.g., the data enclave generator 112 and/or the record retriever 114 are essentially incapable of modifications to their functions, whether desired or undesired).
- Trust of the data enclave generator 112 and/or the record retriever 114 may be established by checking a hash or signature of computer code implementing the data enclave generator 112 and/or the record retriever 114 against a known trusted hash or signature.
- the example data enclave generator 112 of FIG. 1 generates the protected data enclave 116 to store protected data 124.
- the protected data 124 is a copy of the data 122 in the database 120 that has been protected from access by unauthorized (e.g., untrusted) entities.
- the example trusted processing unit 106 implements the protected data enclave 116 in a protected memory (e.g., a storage device such as RAM).
- the trusted processing unit 106 protects the protected data 124 in a memory by encrypting the data 122 obtained from the database 120 and storing only the protected data 124 in an untrusted memory such as the untrusted storage 110. When encrypted, the untrusted processing unit 108 cannot access the protected data 124.
- the example trusted processing unit 106 also prevents the untrusted processing unit 108 from determining which portions of the protected data 124 are being accessed by the trusted processing unit 106.
- the example record retriever 114 of FIG. 1 receives requests from the requester(s) 102 via the network 104. The record retriever 114 processes the request to determine one or more records in the protected data enclave 116. For example, if the request received from the requester 102 is a request for specific, identifiable records (e.g., record identifiers), the record retriever 114 accesses the identified records in the protected data 124.
- specific, identifiable records e.g., record identifiers
- the example record retriever 114 determine which of the records in the protected data enclave 116 satisfy the query. The record retriever 114 returns the records to the requester 102 via the network.
- the untrusted processing unit 108 is not capable of accessing or monitoring the record requests by the record retriever 114 to the protected data enclave 116. Additionally, requests from the requesters 102 and responses from the record retriever 114 are encrypted to prevent access and/or monitoring of the request and response by the untrusted processing unit 108. By eliminating the means by which the untrusted processing unit 108 can monitor or infer the records being accessed by the requester(s) 102, the example trusted processing unit 106 provides private information retrieval for the data 122 in the database 120.
- FIG. 2 is a block diagram of another example system 200 to provide private information retrieval using multiple trusted processing units.
- the example system 200 of FIG. 2 receives and responds to requests for data 201 in the example database 120 from one or more requester(s) 102.
- the system 200 communicates with the requester(s) 102 via the communications network 104 of FIG. 1.
- trusted processing units are limited in an amount of data that can be protected, and the amount of data 201 stored in the database 120 is more than the threshold amount of data that is capable of protection by a single trusted processing unit.
- the data in the database is split up between multiple trusted processing units 202-206 to protect an entirety of the data 201.
- Each of the trusted processing units 202-206 in the example of FIG. 2 protects a respective portion of the data 201 in the database 120.
- the data protected by the trusted processing units 202-206 constitutes all of the data 201.
- the data protected by the trusted processing units 202-206 constitutes portions of the data 201 for which private information retrieval is or may be desired by the requester(s) 102.
- each of the example trusted processing units 202-206 receive either an actual request for one or more records protected by the trusted processing units 202-206 or a dummy request.
- a "dummy request" is a request to which the response is not used to respond to a request for data (e.g., the response to the dummy request is not necessary).
- a dummy request may be sent from the trusted processing unit 216 to the trusted processing unit 202 to obscure the fact that the trusted processing unit 216 is sending a request for data to the trusted processing unit 218.
- Dummy requests and actual requests are encrypted so that the untrusted processing unit 108 is unable to determine whether any given request is an actual request or a dummy request and, therefore, is unable to determine the trusted processing unit 202-206 from which a record is being requested.
- each of the trusted processing units 202- 206 includes an instance of the data enclave generator 112a, 112b, 112c, an instance of the record retriever 114a, 114b, 114c, and generates an instances of the protected data enclave 116a, 116b, 116c of FIG. 1.
- the protected data enclave 116a in the trusted processing unit 202 stores a first subset of records 208 from the example data 201.
- the protected data enclave 116b in the trusted processing unit 204 stores a second subset of records 210 from the example data 201
- the protected data enclave 116c in the trusted processing unit 204 stores a third subset of records 212 from the example data 201.
- the example data 201 also includes a fourth subset of records 214, which are discussed below.
- the records 208-214 stored in the protected data enclaves 116a-116c of FIG. 2 include all of the data 201 in the database 120.
- the example system 200 of FIG. 2 further includes additional trusted processing units 216, 218 to provide access to the records 208-214 protected by the trusted processing units 202-206 while also obscuring from an untrusted server 220 any indications of which of the records 208-214 are being requested and/or accessed by requester(s) 102.
- the example trusted processing units 216, 218 help organize the trusted processing units 202-206 to efficiently and privately obtain records requested by the requester(s) 102.
- the trusted processing units 202-206, 216, 218 are each separate physical devices.
- the example protected hashing enclaves 222 and the example request processors 224 are described below with reference to the trusted processing unit 216. However, the descriptions of the example protected hashing enclaves 222 and the example request processors 224 are also applicable to the trusted processing unit 218 of FIG. 2.
- the protected hashing enclaves 222a, 222b require relatively small amounts of data to be stored and protected by the trusted processing units 216, 218.
- the trusted processing units 216, 218 that implement protected hashing enclaves 222a, 222b may also implement protected data enclaves.
- the trusted processing unit 218 of FIG. 2 also implements a protected data enclave 116d that can store records from the data 201 (e.g., the records 214).
- the example trusted processing units 202-206, 216, 218 of FIG. 2 are implemented as separate processing devices that can communicate by exchanging requests and/or responses.
- the trusted processing units 202-206, 216, 218 may be separate servers or other computing devices that are in communication with one or more others of the trusted processing units 202-206, 216, 218 via direct connections and/or via a network.
- the example untrusted server 220 includes an untrusted processing unit (e.g., the untrusted processing unit 108 of FIG. 1) and an untrusted storage (e.g., the untrusted storage 110 of FIG. 1).
- the example untrusted storage 110 of FIG. 1 includes the example untrusted code 118 and the example untrusted database 120 of FIG. 1.
- the untrusted database 120 of FIG. 2 includes the data 201 to which the requester(s) 102 desire private access.
- the untrusted server 2 provides private information retrieval (e.g., private access) to the data 201 in the database 120 of the untrusted server 220 via the trusted processing units 202-206, 216, 218 without the untrusted processing unit 108 or, more generally, the untrusted server 220 being able to determine or infer either the contents of the requests for the data 201 (e.g., requests for the records 208-214) or the accesses to the records 208-214 within the trusted processing units 202-206, 218.
- private information retrieval e.g., private access
- the requester(s) 102 want to privately access data from the database 120, but do not trust the untrusted code 118.
- the requester(s) 102 may be concerned that the untrusted code 118 may contain software that could attempt to profile them for marketing purposes or for more nefarious purposes. Therefore, the requester(s) 102 desire for the untrusted processing unit 108 to not have access to the contents of the request(s) or to be able to monitor the record(s) 208-214 that are accessed and/or provided to the requester(s) 102 in response to the request(s).
- the example trusted processing units 202-206, 216, 218 are configured (e.g., logically arranged) in a tree structure as illustrated in FIG. 2.
- the trusted processing units 202-206 that implement protected data enclaves 116 are configured as leaf nodes and the trusted processing units 216, 218 that implement protected hashing enclaves 222 are configured as branch nodes.
- the trusted processing unit 216 receives a request 226 from a requester 102 for private information retrieval for one or more of the records 208-214 in the protected data enclaves 116.
- the example request 226 may be intended by the requester 102 as a request for the system 200 to provide access to the database 120 (e.g., via a request to a web server). Instead of being directed to the untrusted server 220 containing the original database 120, the request 226 is redirected to the trusted processing unit 216 to provide private information retrieval for the request 226.
- the example protected hashing enclaves 222a, 222b of FIG. 2 calculate hashes of data requests (e.g., from information included in requests) to determine the one(s) of the trusted processing units 202-206 in which the requested record(s) 208-214 are stored and/or to determine the one(s) of the trusted processing units 202-206, 218 from which the requested record(s) 208-214 can be retrieved.
- the example protected hashing enclaves 222 like the protected data enclaves 116, are protected from access by entities other than the respective trusted processing unit 216, 218 in which the protected hashing enclaves 222 are
- each of the protected hashing enclaves 222a, 222b implements a different hash algorithm to determine one(s) of the trusted processing units 202-206, 2166 to which requests are to be sent in response to received requests.
- the protected hashing enclave 222a implements a first hash algorithm that calculates whether a record 208-214 can be retrieved from the trusted processing unit 202 or the trusted processing unit 216
- the protected hashing enclave 222b implements a second hash algorithm that calculates whether a record 208-214 can be retrieved from the trusted processing unit 204 or the trusted processing unit 206.
- the protected hashing enclaves 222a, 222b implement a same hash algorithm that calculates the one(s) of the trusted processing units 202-206 in which the requested record(s) can be found.
- Example hash algorithms that may be implemented by the protected hashing enclaves 222a, 222b implement a mapping scheme that maps the records 208, 210, 212, and 214 to the respective ones of the trusted processing units 202-206, 218.
- the protected hashing enclave 222a uses a hash algorithm to sort the records 208-214 into two or more buckets, where each of the buckets corresponds to another of the trusted processing units 202-206, 218 from which the trusted processing unit 216 may request a record.
- the protected hashing enclave 222a may sort the records 208-214 into two buckets corresponding to the trusted processing unit 202 (e.g., for the records 208) and the trusted processing unit 218 (e.g., for the records 210, 212, 214).
- the protected hashing enclave 222a sorts the records 208- 214 into buckets corresponding to the trusted processing units 202-206 at the leaf nodes of the tree structure, and then combines buckets that are accessed via another trusted processing unit at a branch node of the tree structure (e.g., the trusted processing unit 218).
- the protected hashing enclave 222a may generate different buckets for the trusted processing units 202-206 corresponding to the leaf nodes of the tree structure, apply the hash algorithm to the data 201 to determine the assignments of the records 208-214 to the respective ones of the buckets, and combine the buckets corresponding to the trusted processing units 204 and 206 that are accessed via the trusted processing unit 218.
- the request processor 224a When the example request processor 224a receives a request for record(s) (e.g., from a requester 102 and/or from another trusted processing unit 216, 218), the request processor 224a accesses the protected hashing enclave 222a to determine a location in the tree structure from which the requested record(s) are to be retrieved. The request processor 224a sends a request for the requested record(s) to the determined trusted processing units 202-206, 216, 218 at a next level in the tree structure. The request processor 224a also receives a response from the trusted processing units 202-206, 216, 218 in response to the request sent by the request processor 224a, where the received response includes a requested record. The request processor 224a then returns a response to the trusted processing unit 216, 218 or to the requester 102 from which the request was received.
- a request for record(s) e.g., from a requester 102 and/or from another trusted processing unit
- the request processor 224a receives the request 226.
- the request processor 224a processes the request 226 by applying the hash function (or algorithm) to the criteria in the request 226.
- the request processor 224a applies the hash function used to sort the records 208-214 into the buckets in the protected hashing enclave 222a to determine the trusted processing unit 202-206 to which the requested record(s) correspond.
- the example request processor 224a determines that the requested records correspond to the trusted processing unit 218 (e.g., the requested records 210, 212 can be found in 204, 206).
- the example request processor 224a sends a request 228 for the requested record(s) to the trusted processing unit 218.
- the example request 228 is encrypted and specifies the desired record(s) needed to respond to the request 226.
- the example request processor 224b receives the request 228 from the request processor 224a and determines the requested records by applying the hash algorithm to the request 228.
- the request processor 224b may apply a similar or identical process as the request processor 224a described above.
- the request processor 224b accesses the protected hashing enclave 222b to determine that the requested record is in the records 210 corresponding to the trusted processing unit 204. Based on the determination, the request processor 224b sends a request 230 to the example trusted processing unit 204.
- the request 230 is encrypted.
- the example record retriever 114b receives the request 230 and accesses the record(s) 210 specified in the request 230.
- the example record retriever 114b then transmits a response 232 to the trusted processing unit 218 that transmitted the request 230.
- the example request processor 224b receives the response 232 including the accessed record(s) 210.
- the request processor 224b decrypts the response 232 and encrypts a response 234 to the request 228 that includes the accessed record(s) 210.
- the request processor 224b sends the response 234 to the trusted processing unit 216.
- the example request processor 224a receives the response 234 including the accessed record(s) 210.
- the request processor 224a decrypts the response 234 and encrypts a response 236 to the request 226 that includes the accessed record(s) 210.
- the request processor 224a sends the response 236 to the requester 102.
- the response 236 completes the private information retrieval process for the requester 102 by providing the requested record(s) 210 without enabling the untrusted server 220 to determine any information about the request 226, the accessed record(s) 210, or the response 236.
- the example trusted processing units 202-206, 216, 218 transmit dummy requests 238, 240 and corresponding dummy responses 242, 244 to obscure the actual requests 226-230 and the actual responses 232-236 (e.g., the requests and responses that access and return the requested data to the requester 102).
- the trusted processing unit 216 After the trusted processing unit 216 generates the request 228 to be transmitted to the trusted processing unit 218, the trusted processing unit 216 also generates the dummy request 238 to be transmitted to the trusted processing unit 202.
- the trusted processing unit 218 After the trusted processing unit 218 generates the request 230 to be transmitted to the trusted processing unit 204, the trusted processing unit 218 also generates the dummy request 240 to be transmitted to the trusted processing unit 206.
- the example dummy requests 238, 240 may include information indicating that the dummy requests 238, 240 may elicit the dummy responses 242, 244 with minimal processing resources being expended.
- the dummy requests 238, 240 may include a request for records, and the data contained in the responses 242, 244 is ignored or discarded in favor of using the information in the responses 232, 234 that contain the requested record(s).
- the example request processor 224b sends dummy requests to both of the trusted processing units 204, 206 to obscure the fact that the record 214 stored at the protected data enclave 216d is being requested.
- the example request processor 224b may ignore both dummy responses and include the requested record(s) 214 in a response to the trusted processing unit 216.
- the requests 226-230, 238, 240 received by the trusted processing units 202-206, 216, 218 are identical in form, such that the same request format can be used by the record retrievers 114 and the request processors 224.
- the example responses 232-236, 242, 244 transmitted by the trusted processing units 202-206, 216, 218 are identical in form, such that the same response format can be used by the record retrievers 114 and the request processors 224 to respond to requests.
- dummy requests and/or dummy responses may include an indicator (e.g., a dummy bit) that indicates whether the request or response is intended to retrieve one or more records.
- the trusted processing unit(s) 202-206 may expend fewer processing cycles to generate a dummy response to the request because the record retrievers 114 need not query the protected data enclaves 116 when a dummy request is received.
- the connections between the trusted processing units 202-206, 216, 218 are assumed to be accessible by the untrusted server 220.
- the example requests 226-230, the dummy requests 238, 240, the responses 232-236, and/or the dummy responses 242, 244 are encrypted. Because the requests 226-230, 238, 240 and the responses 232-236, 242, 244 are encrypted during communication between the trusted processing units 202-206, 216, 218, the untrusted server 220 cannot determine which of the requests 226-230, 238, 240 are dummy requests or which of the responses 232-236, 242, 244 are dummy responses.
- Any entity monitoring the connections between the trusted processing units 202- 206, 216, 218 would observe that a request from the requester 102 results in requests and responses being propagated through the entire tree structure (e.g., between each connected pair of the trusted processing units 202-206, 216, 218).
- the example system 200 of FIG. 2 also includes a private information retrieval manager 246.
- the example private information retrieval manager 246 determines a size (e.g., in bytes) of the database 120 from which the data (e.g., records) may be requested.
- a threshold size e.g., equal to or less than a maximum amount of data that is protectable by one trusted processing unit
- the private information retrieval manager 246 configures a single trusted processing unit to generate a protected data enclave to include the data 201.
- the private information retrieval manager 246 may instantiate the system 100 of FIG. 1, where the single trusted processing unit 106
- implementing the protected data enclave 116 may be implemented using a same computing device as the untrusted server 220 or using different computing devices.
- the private information retrieval manager 246 determines that the size of the database 120 is more than a threshold size (e.g., more than a maximum amount of data that is protectable by one trusted processing unit)
- the private information retrieval manager 246 configures multiple trusted processing units (e.g., the trusted processing units 202-206) to implement a number of the protected data enclaves 116 that is sufficient to protect the amount of data 201 (e.g., in bytes) that is present in the database 120.
- the private information retrieval manager 246 configures three trusted processing units 202-206, 218 to execute data enclave generators 112, record retrievers 114, and/or protected data enclaves 116 to protect different sets of records 208-214.
- the example private information retrieval manager 246 also configures one or more trusted processing units 216, 218 to implement protected hashing enclaves 222 to organize the trusted processing units 202-206 that implement the protected data enclaves 116. For example, the private information retrieval manager 246 selects a number of protected hashing enclaves based on a number of desired levels in a tree structure and a number of protected data enclaves in the tree structure. To configure the example trusted processing units 216, 218, the private information retrieval manager 246 configures the trusted processing units 216, 218 to execute protected hashing enclaves 222 and request processors 224.
- FIG. 3 illustrates an example tree structure 300 including a protected hashing enclave 302 and protected data enclaves 304-316 to provide private information retrieval.
- the example tree structure 300 of FIG. 3 enables the protected hashing enclave 302 to refer to more than two protected data enclaves 304-316.
- the example of FIG. 3 is described below with reference to the protected hashing enclave 302 and the protected data enclaves 304-316, and omits the discussion of trusted processing units.
- the example protected hashing enclave 302 and the protected data enclaves 304-316 of FIG. 3 are implemented using trusted processing units as described above with reference to FIGS. 1 and 2, such as the trusted processing units 106, 202-206, 216, 218 of FIGS. 1 and/or 2.
- the example protected data enclaves 304-316 of FIG. 3 include respective subsets of records 318-330 which, in combination, constitute an entirety of the records in a database to which private information retrieval is provided by the tree structure 300.
- Example records in the subsets of records 318-330 are designated using letters A-U.
- the example protected hash enclave 302 stores a set of buckets 332 (e.g., buckets 1-7) that map records (or hash values) to the protected data enclaves 304-316 (e.g., protected data enclaves 1-7).
- the example protected hashing enclave 302 of FIG. 3 receives a request 334 for the record B, which is stored in the protected data enclave 304.
- the example protected hashing enclave 302 decrypts the request 334 and processes the request by applying a hash function to the request 334 and/or performing a lookup using a lookup table.
- the protected hash enclave 302 parses a query contained in the request 334 to determine which of the protected data enclaves 304-316 is storing the record(s) A-U that correspond to the query.
- the result of the hash function indicates that the protected data enclave 304 is storing the desired record B (e.g., the hash function yields a value
- multiple ones of the protected data enclaves 304-316 may store one or more desired records.
- the example protected hashing enclave 302 sends a request 336 indicating the desired record B to the protected data enclave 304.
- the protected hashing enclave 302 duplicates the request 334 (e.g., the content in the request 334) and sends the duplicate of the request 334 as the request 336 after identifying the protected data enclave 304 as the protected data enclave to which the request 336 should be directed.
- the protected hashing enclave 302 encrypts the request 336 prior to transmission.
- the example protected hashing enclave 302 also generates and transmits dummy requests 340 to the example protected data enclaves 306-316 that do not include the desired record B.
- the example dummy requests 340 may include a dummy indicator (e.g., a dummy bit) and/or dummy data that indicates to the protected data enclaves 306-316 that the response to the dummy request 340 will not be used.
- the protected hashing enclave 302 also generates the dummy requests 340 to request respective records D-U contained in the protected data enclaves 306-316.
- the dummy requests 340 are encrypted prior to transfer to the protected data enclaves 306-316.
- the example protected data enclave 304 receives and decrypts the request 336, and determines that the record B is being requested.
- the example protected data enclave 304 obtains the record B and transmits a response 342 to the protected hashing enclave 302 that includes the record B.
- the protected data enclave 304 encrypts the response 338 prior to transmission.
- the example protected data enclaves 306-316 receive and decrypt the dummy requests 340.
- each of the protected data enclaves 306-316 encrypts and transmits a corresponding dummy response 342.
- the dummy requests 340 included dummy indicators (e.g., dummy bits)
- the example dummy responses 342 include dummy indicators (e.g., similar or identical to the dummy indicators in the dummy requests 340).
- the example dummy responses 342 include the requested records.
- the example protected hashing enclave 302 receives the response 338 from the protected data enclave 304 and the dummy responses 342 from the protected data enclaves 306-316.
- the protected hashing enclave 302 decrypts the response 338 and the dummy responses 342, determines that the response 338 contains the requested record B, and determines that the dummy responses 342 do not contain any requested records.
- the example protected hashing enclave 302 may maintain a table of the protected data enclaves 304-316 from which records are expected and/or from which dummy responses are expected.
- the protected hashing enclave 302 ignores or discards the received dummy responses 342 without decrypting the dummy responses 342, and without any untrusted entities (e.g., the untrusted processing unit 108 and/or the untrusted server 220 of FIGS. 1 and/or 2) being able to monitor the disposition of the dummy responses 342 by the protected hashing enclave 302.
- untrusted entities e.g., the untrusted processing unit 108 and/or the untrusted server 220 of FIGS. 1 and/or 2
- the example protected hashing enclave 302 generates a response 344 to the request 334, where the response 344 includes the requested record B.
- the protected hashing enclave 302 encrypts and transmits the response 344 to provide the record B to the requester.
- the example tree structure 300 of FIG. 3 requires that a trusted processing unit implementing the protected hashing enclave 302 transmits, receives, and processes more requests and responses than either of the trusted processing units 216, 218 of FIG. 2. As a result, the trusted processing unit implementing the protected hashing enclave 302 may require more computing resources to handle requests.
- the example two-level tree structure 300 saves bandwidth over a tree structure having 3 or more levels, such as the binary tree structure of FIG. 2, and the same number of protected data enclaves (e.g., seven protected data enclaves) because there are fewer or no requests or responses being transmitted between protected hashing enclaves.
- the example tree structure 300 also requires fewer trusted processing units than a binary tree structure having the same number of protected data enclaves.
- FIGS. 1, 2, and 3 While an example manner of implementing the disclosed systems 100, 200 are illustrated in FIGS. 1, 2, and 3, one or more of the elements, processes and/or devices illustrated in FIGS. 1, 2, and 3 may be combined, divided, re-arranged, omitted, eliminated and/or implemented in any other way. Further, the example trusted processing units 106, 202- 206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, the example private information retrieval manager 246 and/or, more generally, the example systems 100, 200 of FIGS.
- any of the example trusted processing units 106, 202-206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, the example private information retrieval manager 246 and/or, more generally, the example systems 100, 200 could be implemented by one or more analog or digital circuit(s), logic circuits,
- ASIC application specific integrated circuit
- PLD programmable logic device
- field programmable logic device PLD(s)
- At least one of the example trusted processing units 106, 202-206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, and/or the example private information retrieval manager 246 is/are hereby expressly defined to include a tangible computer readable storage device or storage disk such as a memory, a digital versatile disk (DVD), a compact disk (CD), a Blu-ray disk, etc. storing the software and/or firmware.
- example systems 100, 200 of FIGS. 1 and/or 2 may include one or more elements, processes and/or devices in addition to, or instead of, those illustrated in FIGS. 1 and/or 2, and/or may include more than one of any or all of the illustrated elements, processes and devices.
- the machine readable instructions comprise program(s) for execution by a processor such as the processors 812, 912, 1012 shown in the example processor platforms 800, 900, 1000 discussed below in connection with FIGS. 8, 9, and 10.
- the program(s) may be embodied in software stored on a tangible computer readable storage medium such as a CD-ROM, a floppy disk, a hard drive, a digital versatile disk (DVD), a Blu-ray disk, or a memory associated with the processors 812, 912, 1012, but the entire program(s) and/or parts thereof could alternatively be executed by a device other than the processors 812, 912, 1012 and/or embodied in firmware or dedicated hardware.
- the example program(s) are described with reference to the flowcharts illustrated in FIGS. 4, 5, 6, and 7 many other methods of implementing the example systems 100, 200 of FIGS. 1 and/or 2 may alternatively be used. For example, the order of execution of the blocks may be changed, and/or some of the blocks described may be changed, eliminated, or combined.
- FIGS. 4, 5, 6, and 7 may be implemented using coded instructions (e.g., computer and/or machine readable instructions) stored on a tangible computer readable storage medium such as a hard disk drive, a flash memory, a read-only memory (ROM), a compact disk (CD), a digital versatile disk (DVD), a cache, a random-access memory (RAM) and/or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and/or for caching of the information).
- coded instructions e.g., computer and/or machine readable instructions
- a tangible computer readable storage medium such as a hard disk drive, a flash memory, a read-only memory (ROM), a compact disk (CD), a digital versatile disk (DVD), a cache, a random-access memory (RAM) and/or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief
- tangible computer readable storage medium is expressly defined to include any type of computer readable storage device and/or storage disk and to exclude propagating signals and transmission media.
- tangible computer readable storage medium and “tangible machine readable storage medium” are used interchangeably.
- FIGS. 4, 5, 6, and 7 may be implemented using coded instructions (e.g., computer and/or machine readable instructions) stored on a non-transitory computer and/or machine readable medium such as a hard disk drive, a flash memory, a read-only memory, a compact disk, a digital versatile disk, a cache, a random-access memory and/or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and/or for caching of the information).
- a non-transitory computer readable medium is expressly defined to include any type of computer readable storage device and/or storage disk and to exclude propagating signals and transmission media.
- the phrase "at least" is used as the transition term in a preamble of a claim, it is open-ended in the same manner as the term "comprising" is open ended.
- FIG. 4 is a flowchart representative of example machine readable instructions 400 which may be executed to implement the examples of FIGS. 1 and/or 2 to generate one or more protected data enclaves 116 to provide private information retrieval from a database 120.
- the example instructions 400 of FIG. 4 may be implemented by the example private information retrieval manager 246 in the system 200 of FIG. 2, and the example instructions 400 enable private information retrieval to be provided using one or more trusted processing units.
- the example instructions 400 will be described below with reference to the system 200 of FIG. 2.
- the example private information retrieval manager 246 determines a size (e.g., in bytes) of a database from which records may be requested (block 402). For example, the private information retrieval manager 246 may query the untrusted server 220 to request a data size of the data 201 in the database 120. The private information retrieval manager 246 determines whether the size of the data 201 is more than a threshold size (block 404). For example, the private information retrieval manager 246 may compare the size of the data 201 to a maximum amount of data that is protectable by a trusted processing unit.
- a threshold size block 404
- the example private information retrieval manager 246 configures a trusted processing unit to instantiate a protected data enclave (e.g., the protected data enclave 116 of FIG. 1) (block 406). For example, when the amount of data 201 is less than or equal to the maximum amount that is protectable by a trusted processing unit, the example private information retrieval manager 246 configures the trusted processing unit 106 of FIG. 1 to implement the data enclave generator 112, the record retriever 114, and the protected data enclave 116.
- a protected data enclave e.g., the protected data enclave 116 of FIG.
- the example data enclave generator 112 stores database records (e.g., the data 201) in the protected data enclave 116 (block 408).
- database records e.g., the data 201
- the trusted processing unit 106 is able to access the stored data (e.g., records) in the protected data enclave 116 or have knowledge of the portions of the data in the protected data enclave 116 (e.g., records) that are accessed.
- the example private information retrieval manager 246 configures multiple trusted processing units to instantiate corresponding protected data enclaves (block 410). For example, the private information retrieval manager 246 configures each of the trusted processing units 202-206 of FIG. 2 to implement a corresponding data enclave generator 112, a corresponding record retriever 114, and a corresponding protected data enclave 116 when the amount of data 201 is more than the maximum amount that is protectable by a trusted processing unit.
- the example data enclave generators 112a- 112c sort the database records 208- 214 into the protected data enclaves 116a-116d based on hashing the database records (block 412).
- the private information retrieval manager 246 may specify hash value(s) for the data enclave generator 112a which, when record(s) 208 in the database 120 match the hash value(s), cause the data enclave generators 112a to include the record(s) 208 in the respective protected data enclaves 116a.
- the example private information retrieval manager 246 also configures one or more trusted processing units 216, 218 to instantiate protected hashing enclaves 222 (block 414). For example, the private information retrieval manager 246 determine a number of protected hashing enclaves 222 to be used based on the number of protected data enclaves 116 that have been instantiated and based on a number of levels desired in the tree structure. In the example of FIG. 2, the private information retrieval manager 246 configures the trusted processing units 216, 218 to implement a corresponding protected hashing enclave 222 and a corresponding request processor 224. As part of the configuration, the protected hashing enclaves 222a-222b are generated to implement respective hash function(s) and/or hash value(s) used to instantiate the protected data enclaves 116 of FIG. 2.
- the example private information retrieval manager 246 organizes the trusted processing units 202-206, 216, 218 for the protected data enclaves 116 and the protected hashing enclaves 222 into a tree structure having the protected data enclaves 116 as the leaf nodes of the tree structure (block 416). For example, the private information retrieval manager 246 may configure the request processors 224 of FIG. 2 to transmit requests to designated trusted processing units. In some examples, the private information retrieval manager 246 organizes the trusted processing units 202-206, 216, 218 in the tree structure by providing configuration information to the protected hashing enclaves 222, such as hash algorithm information. For example, the protected hashing enclave 222a may store buckets that indicate that a requested record can be retrieved by a request to the trusted processing unit 202 or a request to the trusted processing unit 218.
- FIG. 5 is a flowchart representative of example machine readable instructions 500 which may be executed to implement the example systems 100, 200 of FIGS. 1 and/or 2 to service a request for private information retrieval from a database.
- the example instructions 500 are described below with reference to the example trusted processing unit 216 of FIG. 2.
- the example request processor 224a of FIG. 2 determines whether a request has been received to access a database record (block 502). For example, the request processor 224a may receive the request 226 from the requester 102 that specifies one or more of the records 208-214 from the database 120. If a request has not been received to access a database record (block 502), the request processor 224a iterates block 502 to await a request.
- the example request processor 224a When the request 226 is received (block 502), the example request processor 224a generates a hash of the requested record to determine a trusted processing unit from which to request the requested record (block 504). For example, the hash of the requested record may yield a value that matches one of multiple buckets in the protected hashing enclave 222a, where the buckets correspond to the trusted processing units 202 and 218.
- the request processor 224a transmits a request (e.g., the request 228 of FIG. 2) for the requested record to the determined trusted processing unit 218 (block 506).
- the transmitted request 228 includes content that is similar or identical to the received request 226.
- transmitting the request further includes encrypting the request 228 prior to transmission.
- the example request processor 224a also transmits one or more dummy request(s) to trusted processing unit(s) other than the determined trusted processing unit 218 (block 508). For example, when the request 228 is sent to the trusted processing unit 218, the example request processor 224a also generates and transmits the dummy request 238 to the trusted processing unit 202.
- the request processor 224a determines whether a dummy response has been received (block 510). For example, the request processor 224a may determine whether a response 242 has been received that is marked as a dummy response and/or whether a response has been received from a trusted processing unit to which a dummy request was sent. If a dummy response 242 has been received (block 510), the example request processor 224a discards the dummy response 242.
- the example request processor 224a determines whether the requested database record has been received (e.g., from the trusted processing unit 218) (block 514). If the requested database record has not been received (block 514), the example request processor 224a determines whether the request has timed out (block 516). If the request has not timed out (block 516), control returns to block 508 to continue waiting for the requested database record. If the request has timed out (block 516), the example request processor 224a returns an error response to the requester (block 518). For example, if a response to the request 228 has not been received by the request processor 224a within a permissible time, the request processor 224a notifies the requester 102 that the request 226 resulted in an error.
- the example request processor 224a transmits the received record to the requester 102 (block 520). For example, the request processor 224a transmit the received record to the requester 102 as a response 236 to the request 226. The example request processor 224a encrypts the response 236 of FIG. 2 prior to transmission.
- FIG. 6 is a flowchart representative of example machine readable instructions 600 which may be executed to implement the example systems 200 of FIGS. 1 and/or 2 to receive and process dummy requests.
- the example instructions 600 of FIG. 6 will be described below with reference to the request processor 224b of FIG. 2.
- the example instructions 600 may be implemented by any request processor 224 that is not at a top level of a tree structure (e.g., the instructions 600 would not be implemented by the example request processor 224a of FIG. 2).
- the example request processor 224b determines whether a dummy request has been received (block 602). As discussed above, a dummy request is a request intended to obscure requests for data and/or to prevent deduction of the identities and/or patterns of data accesses. If a dummy request has not been received (block 602), the example request processor 224b iterates block 602 to await a dummy request (which may be executed simultaneously or alternating with block 502 of FIG. 5).
- the example request processor 224b transmits dummy requests to trusted processing units at the next level of the tree structure (block 604). Because a dummy request received at the request processor 224b is not a request for data that will be provided to a requester, the example request processor 224b transmits dummy requests to all of the trusted processing units at the next lower level (e.g., the next level closer to the leaf nodes) of the tree structure. In the example of FIG. 2, when the request processor 224b receives a dummy request, the request processor 224b generates and transmits dummy requests to the trusted processing units 204 and 206.
- the example request processor 224b determines whether dummy responses from all of the trusted processing units at the next level of the tree structure have been received (block 606). For example, the example request processor 224b may determine whether all of the trusted processing units 204, 206 to which dummy requests were transmitted have returned a dummy response. If fewer than all of the trusted processing units at the next level of the tree structure have been received (block 606), the example request processor 224b determines whether a dummy request timeout has occurred (block 608). If the request has not timed out (block 608), control returns to block 606 to continue waiting for dummy responses from the trusted processing units 204, 206.
- the example request processor 224b transmits a dummy response to the requester (block 610). In the example system 200 of FIG. 2, the request processor 224b sends a dummy response to the trusted processing unit 216 from which the dummy request was received.
- the example instructions 600 of FIG. 6 then end.
- FIG. 7 is a flowchart representative of example machine readable instructions 700 which may be executed to implement the example systems 100, 200 of FIGS. 1 and/or 2 to receive and respond to requests.
- the example instructions 700 of FIG. 7 will be described below with reference to the record retriever 114a of FIG. 2. However, the example instructions 700 may be implemented by any of the record retrievers 114 of FIGS. 1 and/or 2.
- the example record retriever 114a of FIG. 2 determines whether a request has been received to access a database record (block 702). For example, the record retriever 114a may receive a request 226 from the trusted processing unit 216 and/or from a requester 102 that specifies one or more of the records 208 from the database 120 that is stored in the corresponding protected data enclave 116a. If a request to access a record has been received (block 702), the example record retriever 114a accesses the requested record(s) 208 from the protected data enclave 116a (block 704). The record retriever 114a transmits a response including the requested record(s) 208 to a requester (e.g., an entity from which the request for the record(s) 208 was received) (block 706).
- a requester e.g., an entity from which the request for the record(s) 208 was received
- the example record retriever 114a After transmitting the response (block 706), or if a request to access database records has not been received (block 702), the example record retriever 114a determines whether a dummy request has been received (block 708). If a dummy request has been received (block 708), the example record retriever 114a transmits a dummy response to the requester (block 710). For example, the record retriever 114a may transmit a response that has a dummy indicator in response to receiving a dummy request that has a dummy indicator. In the example of FIG. 2, responses sent in block 706 and/or responses sent in block 710 are sent from the record retriever 114a to the trusted processing unit 216.
- FIG. 8 is a block diagram of an example processor platform 800 capable of executing the instructions of FIGS. 4 and/or 7 to implement the trusted processing unit 106, the example data enclave generator 112, the example record retriever 114, and/or the example protected data enclave 116 of FIGS. 1 and/or 2.
- the processor platform 800 can be, for example, a server, a personal computer, or any other type of computing device.
- the processor platform 800 of the illustrated example includes a processor 812.
- the processor 812 of the illustrated example is hardware.
- the processor 812 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer.
- the example processor 812 of FIG. 8 may implement the trusted processing unit 106, the example data enclave generator 112, and/or the example record retriever 114 of FIGS. 1 and/or 2.
- the processor 812 may execute software guard extensions (SGX) or another trusted execution environment implementation to securely implement the trusted processing unit 106, the example data enclave generator 112, and/or the example record retriever 114.
- SGX software guard extensions
- the processor 812 of the illustrated example includes a local memory 813 (e.g., a cache).
- the processor 812 of the illustrated example is in communication with a main memory including a volatile memory 814 and a non-volatile memory 816 via a bus 818.
- the volatile memory 814 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device.
- the non-volatile memory 816 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 814, 816 is controlled by a memory controller.
- the processor platform 800 of the illustrated example also includes an interface circuit 820.
- the interface circuit 820 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
- one or more input devices 822 are connected to the interface circuit 820.
- the input device(s) 822 permit(s) a user to enter data and commands into the processor 812.
- the input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
- One or more output devices 824 are also connected to the interface circuit 820 of the illustrated example.
- the output devices 824 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers).
- the interface circuit 820 of the illustrated example thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
- the interface circuit 820 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 826 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 826 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- DSL digital subscriber line
- the processor platform 800 of the illustrated example also includes one or more mass storage devices 828 for storing software and/or data.
- mass storage devices 828 include floppy disk drives, hard drive disks, compact disk drives, Blu-ray disk drives, RAID systems, and digital versatile disk (DVD) drives.
- the example volatile memory 814 and/or the example mass storage devices 828 of FIG. 8 may implement the protected data enclave 116, the protected data 124, and/or the data 122, 201 of FIGS. 1 and/or 2.
- the coded instructions 832 of FIGS. 4 and/or 7 may be stored in the mass storage device 828, in the volatile memory 814, in the non- volatile memory 816, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
- FIG. 9 is a block diagram of an example processor platform 900 capable of executing the instructions of FIG. 4 to implement the untrusted processing unit 108, untrusted storage 110, the untrusted code 118, the database 120, the data 122, 201 the records 208-214 and/or the example private information retrieval manager 246 of FIGS. 1 and/or 2.
- the processor platform 900 can be, for example, a server, a personal computer, or any other type of computing device.
- the processor platform 900 of the illustrated example includes a processor 912.
- the processor 912 of the illustrated example is hardware.
- the processor 912 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer.
- the example processor 912 of FIG. 9 may implement the untrusted processing unit 108 and/or the private information retrieval manager 246 of FIGS. 1 and/or 2.
- the processor 912 of the illustrated example includes a local memory 913 (e.g., a cache).
- the processor 912 of the illustrated example is in communication with a main memory including a volatile memory 914 and a non-volatile memory 916 via a bus 918.
- the volatile memory 914 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device.
- the non- volatile memory 916 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 914, 916 is controlled by a memory controller.
- the processor platform 900 of the illustrated example also includes an interface circuit 920.
- the interface circuit 920 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
- one or more input devices 922 are connected to the interface circuit 920.
- the input device(s) 922 permit(s) a user to enter data and commands into the processor 912.
- the input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
- One or more output devices 924 are also connected to the interface circuit 920 of the illustrated example.
- the output devices 924 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers).
- display devices e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers.
- the interface circuit 920 of the illustrated example thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
- the interface circuit 920 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 926 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 926 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- DSL digital subscriber line
- the processor platform 900 of the illustrated example also includes one or more mass storage devices 928 for storing software and/or data.
- mass storage devices 928 include floppy disk drives, hard drive disks, compact disk drives, Blu-ray disk drives, RAID systems, and digital versatile disk (DVD) drives.
- the example volatile memory 914 and/or the example mass storage devices 928 of FIG. 9 may implement the untrusted storage 110, the protected data enclaves 116, the untrusted code 118, the database 120, the data 122, 201 and/or the records 208-214 of FIGS. 1 and/or 2.
- the coded instructions 932 of FIG. 4 may be stored in the mass storage device 928, in the volatile memory 914, in the non-volatile memory 916, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
- FIG. 10 is a block diagram of an example processor platform 1000 capable of executing the instructions of FIGS. 4, 5, 6, and/or 7 to implement the trusted processing units 216, 218, the example protected hashing enclave 222, the example request processors 224 of FIG. 2.
- the processor platform 1000 can be, for example, a server, a personal computer, or any other type of computing device.
- the processor platform 1000 of the illustrated example includes a processor 1012.
- the processor 1012 of the illustrated example is hardware.
- the processor 1012 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer.
- the example processor 1000 of FIG. 10 may implement the trusted processing units 216, 218, the example protected hashing enclaves 222, and/or the example request processors 224.
- the processor 1012 of the illustrated example includes a local memory 1013 (e.g., a cache).
- the processor 1012 of the illustrated example is in communication with a main memory including a volatile memory 1014 and a non-volatile memory 1016 via a bus 1018.
- the volatile memory 1014 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device.
- the non- volatile memory 1016 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 1014, 1016 is controlled by a memory controller.
- the processor platform 1000 of the illustrated example also includes an interface circuit 1020.
- the interface circuit 1020 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
- one or more input devices 1022 are connected to the interface circuit 1020.
- the input device(s) 1022 permit(s) a user to enter data and commands into the processor 1012.
- the input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
- One or more output devices 1024 are also connected to the interface circuit 1020 of the illustrated example.
- the output devices 1024 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers).
- the interface circuit 1020 of the illustrated example thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
- the interface circuit 1020 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 1026 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 1026 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
- DSL digital subscriber line
- the processor platform 1000 of the illustrated example also includes one or more mass storage devices 1028 for storing software and/or data.
- mass storage devices 1028 include floppy disk drives, hard drive disks, compact disk drives, Blu- ray disk drives, RAID systems, and digital versatile disk (DVD) drives.
- the coded instructions 1032 of FIGS 4, 5, 6, and/or 7 may be stored in the mass storage device 1028, in the volatile memory 1014, in the non-volatile memory 1016, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
- Example 1 is a system which includes a first trusted processing unit to store a first portion of data such that entities other than the first trusted processing unit are unable to access the first portion of the data in the first trusted processing unit; a second trusted processing unit to store a second portion of the data such that entities other than the second trusted processing unit are unable to access the second portion of the data in the second trusted processing unit; and a third trusted processing unit to determine that a data element specified in a request is stored in the first trusted processing unit, request the data element from the first trusted processing unit, send a dummy request to the second trusted processing unit, and send the data element to a requester.
- Example 2 includes the subject matter of example 1, in which the second trusted processing unit sends a dummy response to the third trusted processing unit in response to the dummy request.
- Example 3 includes the subject matter of example 2, in which the dummy request includes a first dummy indicator and the dummy response includes a second dummy indicator.
- Example 4 includes the subject matter of example 2, in which the dummy request specifies a second data element stored in the second trusted processing unit, and the third trusted processing unit discards the dummy response.
- Example 5 includes the subject matter of example 1, in which the third trusted processing unit requests the data element from the first trusted processing unit such that only the first trusted processing unit and the third trusted processing unit can identify the data element that is requested from the first trusted processing unit.
- Example 6 includes the subject matter of example 1, in which the first trusted processing unit includes a data enclave generator to create a protected data enclave in a first portion of a first storage device, the first storage device being protected by the first trusted processing unit, and store the first portion of the data in the protected data enclave.
- the first trusted processing unit includes a data enclave generator to create a protected data enclave in a first portion of a first storage device, the first storage device being protected by the first trusted processing unit, and store the first portion of the data in the protected data enclave.
- Example 7 includes the subject matter of example 6, in which the data enclave generator identifies data elements belonging to the first portion of the data to be stored in the protected data enclave by applying a function to the data elements and comparing a) values that result from the applying of the function to b) a first value that corresponds to the first trusted processing unit and that is different than a second value that corresponds to the second trusted processing unit.
- Example 8 A system as defined in example 1, wherein the third trusted processing unit includes a protected hashing enclave to sort data elements of the data into a first data bucket or a second data bucket, the first data bucket corresponding to the first trusted processing unit and the second data bucket corresponding to the second trusted processing unit.
- Example 9 A system as defined in example 8, wherein the third trusted processing unit further includes a request processor to request the data element specified in the request from the first trusted processing unit based on the protected hashing enclave performing a hash function on the data element specified in the request and determining whether a result of the hash function corresponds to the first bucket or the second bucket.
- Example 10 A system as defined in example 1, further including a fourth trusted processing unit to: determine that the data element specified in the request is accessible via the third trusted processing unit and is not accessible via a fifth trusted processing unit; and request the data element from the third trusted processing unit such that only the fourth trusted processing unit and the third trusted processing unit can identify the data element that is requested from the third trusted processing unit, the fourth trusted processing unit being the requester to the third trusted processing unit.
- a fourth trusted processing unit to: determine that the data element specified in the request is accessible via the third trusted processing unit and is not accessible via a fifth trusted processing unit; and request the data element from the third trusted processing unit such that only the fourth trusted processing unit and the third trusted processing unit can identify the data element that is requested from the third trusted processing unit, the fourth trusted processing unit being the requester to the third trusted processing unit.
- Example 11 is a method that includes using trusted processing units, generating protected data enclaves to store a copy of data in a database, each of the protected data enclaves being accessible to only corresponding ones of the trusted processing units that generated the protected data enclaves; in response to receiving a first request for a record in the data at a first one of the trusted processing units, determining, using the trusted processing units, which one of the protected data enclaves contains the record; sending second requests between the trusted processing units to retrieve the record from the determined one of the protected data enclaves; sending dummy requests to the ones of the trusted processing units that correspond to ones of the protected data enclaves that do not contain the record; and sending the record to a requester.
- Example 12 includes the subject matter of example 11, in which the data is split between the protected data enclaves.
- Example 13 includes the subject matter of example 11, in which the database is stored on a computing device having a processor, and the generating of the protected data enclaves includes generating the protected data enclaves to prevent access by the processor to portions of memory in which the protected data enclaves are stored.
- Example 14 includes the subject matter of example 13, wherein the determining of the one of the protected data enclaves that contains the record, the sending the one or more second requests, and sending the record to the requester are performed without the processor being able to determine the record that was requested and without the processor being able to determine the protected data enclave in which the record is stored.
- Example 15 includes the subject matter of example 11, further including determining a size of the database and determining a number of the protected data enclaves to store the copy of the data based on a threshold amount of data that can be protected by one of the trusted processing units.
- Example 16 includes the subject matter of example 11, in which generating a first one of the data enclaves includes encrypting a portion of the data using a second one of the trusted processing units; and storing the encrypted data in a first memory, the portion of the data in the first memory being accessible only to the second one of the trusted processing units.
- Example 17 includes the subject matter of example 11, in which the protected data enclaves include an entirety of the database.
- Example 18 includes the subject matter of example 11, further including generating a protected hashing enclave at a second one of the trusted processing units, the protected hashing enclave indicating assignments of the data to ones of the protected data enclaves.
- Example 19 includes the subject matter of example 18, in which determining which one of the protected data enclaves contains the record includes performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine the one of the protected data enclaves contains the record.
- Example 20 includes the subject matter of example 18, in which determining which one of the protected data enclaves contains the record includes performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine which of two trusted processing units is in a path to the one of the protected data enclaves that contains the record.
- Example 21 includes the subject matter of example 18, further including configuring the trusted processing units in a tree structure in which ones of the trusted processing units that correspond to the ones of the protected data enclaves are leaf nodes of the tree structure and the second one of the trusted processing units that corresponds to the protected hashing enclave is a branch node.
- Example 22 is a tangible computer readable medium including computer readable instructions which, when executed, cause a first processor to at least: generate protected data enclaves to store data within trusted execution environments, each of the protected data enclaves being accessible only by a corresponding one of the trusted execution environments in which the protected data enclave exists; in response to receiving a first request for a record in the data at a first one of the trusted execution environments, determine which one of the protected data enclaves contains the record; send second requests between trusted execution environments to retrieve the record from the determined one of the protected data enclaves; send dummy requests to the ones of the trusted execution environments that correspond to ones of the protected data enclaves that do not contain the record; and send the record to a requester.
- Example 23 includes the subject matter of in example 22, in which the data is a copy of second data stored in a database, and the second data is split between the protected data enclaves to store the data in the protected data enclaves.
- Example 24 includes the subject matter of in example 23, in which the instructions are further to cause the first processor to determine a size of the second data and determine a number of the protected data enclaves to store the data based on comparing the size of the second data to a threshold amount of data that can be protected by one of the trusted execution environments.
- Example 25 includes the subject matter of example 23, in which the database is stored on a computing device having a second processor, and the instructions cause the first processor to generate the protected data enclaves by generating the protected data enclaves to prevent access by the second processor to portions of memory in which the protected data enclaves are stored.
- Example 26 includes the subject matter of example 25, in which the instructions cause the first processor to determine the one of the protected data enclaves that contains the record, send the one or more second requests, and send the record to the requester without the second processor being able to determine the record that was requested and without the second processor being able to determine the protected data enclave in which the record is stored.
- Example 27 includes the subject matter of example 23, in which the plurality of the protected data enclaves includes an entirety of the database.
- Example 28 includes the subject matter of example 22, in which the instructions cause the first processor to generate a first one of the data enclaves by encrypting a portion of the data using a first one of the trusted execution environments and storing the encrypted data in a first memory, the portion of the data in the first memory being accessible in decrypted form only to the first one of the trusted execution environments.
- Example 29 includes the subject matter of example 22, wherein the instructions further cause the first processor to generate a protected hashing enclave at a second one of the trusted execution environments, the protected hashing enclave indicating assignments of the data to ones of the protected data enclaves.
- Example 30 includes the subject matter of example 29, in which the instructions cause the first processor to determine which one of the protected data enclaves contains the record by performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine the one of the protected data enclaves contains the record.
- Example 31 includes the subject matter of example 29, in which the instructions cause the first processor to determine which one of the protected data enclaves contains the record by performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine which of two trusted execution environments is in a path to the one of the protected data enclaves that contains the record.
- Example 32 includes the subject matter of example 29, in which the instructions further cause the first processor to configure the trusted execution environments in a tree structure in which ones of the trusted execution environments that correspond to the ones of the protected data enclaves are leaf nodes of the tree structure and the second one of the trusted execution environments that corresponds to the protected hashing enclave is a branch node.
- Example 33 is an apparatus, including: a processor to execute first code; a computer readable memory to implement a protected data enclave; a data enclave generator to instantiate the protected data enclave in the memory and to store data in the protected data enclave, the protected data enclave not being accessible to the processor or the first code; and a record retriever to: access a record in the protected data enclave in response to receiving a request for a record in the data; and sending a response to a requester, the response including the record, such that the request and the response are not accessible to the processor.
- Example 34 includes the subject matter of example 33, in which the data enclave generator encrypts the data.
- Example 35 includes the subject matter of example 33, in which the processor is untrusted, and the data enclave generator stores the protected data enclave in the computer readable memory.
- Example 36 includes the subject matter of example 33, in which the record retriever decrypts the request.
- Example 37 includes the subject matter of example 33, in which the record retriever encrypts the response.
- Example 38 is a method that includes determining a size of a database containing data; generating, a using trusted processing unit, a protected data enclave to store the data when the size of the database is less than a threshold size, the protected data enclave being accessible only by the trusted processing unit that generated the protected data enclave; in response to receiving a request for a record in the data at the trusted processing unit, accessing the record in the protected data enclave; and sending the record to a requester.
- Example 39 includes the subject matter of example 38, in which the generating the protected data enclave includes encrypting the data.
- Example 40 includes the subject matter of example 38, further including storing the protected data enclave in a memory that is shared with an untrusted processing unit.
- Example 41 includes the subject matter of example 38, further including decrypting the request.
- Example 42 includes the subject matter of example 38, in which the sending of the record to the requester includes encrypting a response to the request, the response containing the record, and sending the response to the requester.
- Example 43 is a tangible computer readable storage medium including first computer readable instructions which, when executed, cause a processor to at least: determine a size of a database containing data; generate, using a trusted execution environment, a protected data enclave to store the data when the size of the database is less than a threshold size, the protected data enclave being accessible only by the trusted execution environment; in response to receiving a request for a record in the data, access the record in the protected data enclave; and send the record to a requester.
- Example 44 includes the subject matter of in example 43, in which the first instructions cause the processor to generate the protected data enclave by encrypting the data.
- Example 45 includes the subject matter of in example 43, in which the processor is an untrusted processor, and the first instructions further cause the processor to store the protected data enclave in a memory that is shared with second instructions executed by the untrusted processing unit.
- Example 46 includes the subject matter of example 43, in which the first instructions further cause the processor to decrypt the request.
- Example 47 includes the subject matter of example 43, in which the first instructions further cause the processor to encrypt a response to the request, the response containing the record, and send the response to the requester.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Medical Informatics (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Systems, methods, and apparatus to provide private information retrieval. A disclosed example system includes a first trusted processing unit to store a first portion of data such that entities other than the first trusted processing unit are unable to access the first portion of the data in the first trusted processing unit; a second trusted processing unit to store a second portion of the data such that entities other than the second trusted processing unit are unable to access the second portion of the data in the second trusted processing unit; and a third trusted processing unit to: determine that a data element specified in a request is stored in the first trusted processing unit; request the data element from the first trusted processing unit; send a dummy request to the second trusted processing unit; and send the data element to a requester.
Description
SYSTEMS, METHODS, AND APPARATUS TO PROVIDE PRIVATE INFORMATION RETRIEVAL
RELATED APPLICATIONS
[0001] This application claims priority to U.S. Patent Application Serial No.
14/665,064, filed on March 23, 2015, entitled "SYSTEMS, METHODS, AND APPARATUS TO PROVIDE PRIVATE INFORMATION RETRIEVAL." The entirety of U.S. Patent Application Serial No. 14/665,064 is incorporated herein by reference.
FIELD OF THE DISCLOSURE
[0002] This disclosure relates generally to network security, and, more particularly, to systems, methods, and apparatus to provide private information retrieval.
BACKGROUND
[0003] Users access database records from servers by making requests, typically via a communications network such as the Internet. The servers and/or database records may be controlled by an entity other than the person making the request.
BRIEF DESCRIPTION OF THE DRAWINGS
[0004] FIG. 1 is a block diagram of an example system constructed in accordance with the teachings of this disclosure to provide private information retrieval using a trusted processing unit.
[0005] FIG. 2 is a block diagram of another example system constructed in accordance with the teachings of this disclosure to provide private information retrieval using multiple trusted processing units.
[0006] FIG. 3 illustrates an example of privately accessing a record in a database using protected hashing enclaves and protected data enclaves arranged in a tree structure.
[0007] FIG. 4 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to generate one or more protected data enclaves to provide private information retrieval from a database.
[0008] FIG. 5 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to service a request for private information retrieval from a database.
[0009] FIG. 6 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to receive and process dummy requests.
[0010] FIG. 7 is a flowchart representative of example machine readable instructions which may be executed to implement the example systems of FIGS. 1 and/or 2 to receive and respond to requests.
[0011] FIG. 8 is a block diagram of an example processor platform capable of executing the instructions of FIGS. 4 and/or 7 to implement the trusted processing unit, the example data enclave generator, the example record retriever, and/or the example protected data enclave of FIGS. 1 and/or 2.
[0012] FIG. 9 is a block diagram of an example processor platform capable of executing the instructions of FIG. 4 to implement the untrusted processing unit, untrusted storage, the untrusted code, the database, the data, the records and/or the example private information retrieval manager of FIGS. 1 and/or 2.
[0013] FIG. 10 is a block diagram of an example processor platform capable of executing the instructions of FIGS. 4, 5, 6, and/or 7 to implement the trusted processing units, the example hashing enclave generators, the example protected hashing enclave, the example request processors of FIG. 2.
[0014] The figures are not to scale. Wherever appropriate, the same or similar reference numbers will be used throughout the drawing(s) and accompanying written description to refer to the same or like parts.
DETAILED DESCRIPTION
[0015] Private Information Retrieval (PIR) allows a user to retrieve an item from a database server without revealing to the server which item was retrieved. An example is a private DNS server (e.g., a database including a simple table of DNS hostnames and IP addresses) that returns the IP address corresponding to the hostname without knowing which hostname is specified in the query and without knowing which IP address is being returned.
[0016] Known solutions to PIR include: 1) returning the entire database to the requesting client; 2) using cryptographic solutions; and 3) using trusted co-processors executing an oblivious random access memory (ORAM) protocol. All three known solutions are currently impractical, because they require unacceptably high query latencies and/or transfer bandwidths. Returning the entire database to the requesting client is impractical due to network constraints, and becomes even less practical as the database grows larger. The use of cryptographic solutions is also impractical due to a high computational requirement and resulting query latency. While more practical than the other two known techniques, currently known ORAM protocols also suffer from relatively high query latencies and are restricted to a single user.
[0017] Examples disclosed herein utilize trusted processing units that can protect large amounts of memory to provide private information retrieval for databases. In disclosed examples, the database to be queried is copied into one or more protected data enclaves that are protected by corresponding trusted processing units. In examples in which the database size is less than a maximum memory size that is protectable by a trusted processing unit, one trusted processing unit may be used to provide the private information retrieval for the database.
[0018] In other examples, in which the database size is more than the maximum memory size that is protectable by one trusted processing unit, the database is split into multiple protected data enclaves that are protected by corresponding trusted processing units. In some examples, the multiple protected data enclaves are arranged in a tree structure, where the protected data enclaves are the leaf nodes. In the tree structure, trusted processing units that implement protected hashing enclaves are the branch nodes. The protected hashing enclaves store data indicating paths through the tree structure where any of the records in the database may be found (e.g., indicating which the protected data enclaves (and the corresponding trusted processing unit) stores a requested record).
[0019] As used herein, the term "accessible," as it is applied to stored data or records, refers to the quality of being readable in plaintext form (i.e., unencrypted), as opposed to only being readable in ciphertext form (i.e., encrypted form). Data or records may be accessible to an entity even if the data is stored in encrypted form provided the entity is capable of promptly decrypting the data (e.g., the entity has the decryption key) without resorting to encryption cracking methods such as brute force, dictionary-based attacks, or other cracking methods. In other words, if data or records are "accessible" to an entity, the entity can understand or obtain the data or records even if the data or records are stored in encrypted form by possessing the corresponding encryption key and decryption algorithm. Conversely, if an entity may not have access to data even if the entity is capable of determining the sequence of bits and/or bytes that are physically stored, if the entity is not able to determine the plaintext or unencrypted data.
[0020] While examples herein respond to requests for access to data in a database, the requests do not result in actual querying of the database itself, because such querying would permit the owner of the database to know what data was accessed. Instead, copies of the data from the database are used to provide the requested data.
[0021] Examples disclosed herein improve the request latency for providing private information retrieval without reducing the security of the data retrieval. Thus, examples
disclosed herein reduce the processing resources spent by requesters while waiting for responses to private information retrieval requests. Relative to some known private information retrieval solutions, examples disclosed herein conserve bandwidth by reducing the amount of transferred data to only transfer the records that are requested (rather than an entire database). Furthermore, relative to some other known private information retrieval solutions, examples disclosed herein use fewer processing resources and/or bandwidth to retrieve the requested data and to provide the requested data to the requester (rather than spending a large number of processing resources performing ORAM techniques).
[0022] FIG. 1 is a block diagram of an example system 100 to provide private information retrieval using a trusted processing unit. The example system 100 of FIG. 1 receives and responds to requests for data from one or more requesters 102. In the example of FIG. 1, the system 100 communicates with the requester(s) via a communications network 104, such as the Internet. Example system 100 of FIG. 1 may include, but are not limited to, one or more personal computers, servers, notebook computers, mobile communication devices (e.g., cellular handset, smartphone, etc.), and/or any other computing device and/or combination of computing devices. The data may include any content and/or may be stored in any format. Requests for data (and their corresponding responses) may comply with any past, present, and/or future communications protocols, such as hypertext transfer protocol (HTTP) or HTTP Secure (HTTPS).
[0023] The example system 100 of FIG. 1 includes a trusted processing unit 106, an untrusted processing unit 108, and untrusted storage 110. In some examples, the trusted processing unit 106 and the untrusted processing unit 108 are implemented in a same processor or processing device. For example, the trusted processing unit 106 may be implemented by instantiating a trusted execution environment within a processor. An example trusted execution environment may be created using the Software Guard Extensions (SGX) instruction set from Intel® Corporation. In some other examples, the trusted processing unit 106 is a different processor than the untrusted processing unit 108.
[0024] The example trusted processing unit 106 of FIG. 1 includes a data enclave generator 112, a record retriever 114, and a protected data enclave 116. The example untrusted storage 110 stores untrusted code 118 and a database 120 containing data 122 that is desired to be accessed by the requester(s) 102.
[0025] In the example of FIG. 1, the requester(s) 102 desire to privately access data from the database 120, but do not trust the untrusted code 118. Thus, the requester(s) 102 desire private information retrieval, in which the requester(s) may access one or more records
without the untrusted processing unit 108 or the untrusted code being able to discern or infer the records being accessed. For example, the requester(s) 102 may be concerned that the untrusted code 118 may contain software that could attempt to profile them for undesired marketing purposes and/or to use knowledge of the queries and/or accessed records for more nefarious purposes. Therefore, the requester(s) 102 desire for the untrusted processing unit 108 to not have access to the contents of the request(s) and/or to not have access to the record(s) that are accessed and/or provided to the requester(s) 102 in response to the request(s).
[0026] As described in more detail below, the trusted processing unit 106 constructs the protected data enclave 116 to contain the data 122 stored in the database 120, receives request(s) from the requester(s) 102, and provides the requested data to the requester(s) 102 without the untrusted processing unit 108 (which may be executing the untrusted code 118) having access to the request or having access to the data sent to the requester(s) 102 in response to the request.
[0027] The example trusted processing unit 106 of FIG. 1 executes trusted code (e.g., code that is trusted to not be modified from a set of understood functions) to implement the data enclave generator 112 and/or the record retriever 114. In some other examples, the data enclave generator 112 and/or the record retriever 114 are implemented using hardware (e.g., the data enclave generator 112 and/or the record retriever 114 are essentially incapable of modifications to their functions, whether desired or undesired). Trust of the data enclave generator 112 and/or the record retriever 114 may be established by checking a hash or signature of computer code implementing the data enclave generator 112 and/or the record retriever 114 against a known trusted hash or signature.
[0028] The example data enclave generator 112 of FIG. 1 generates the protected data enclave 116 to store protected data 124. The protected data 124 is a copy of the data 122 in the database 120 that has been protected from access by unauthorized (e.g., untrusted) entities. The example trusted processing unit 106 implements the protected data enclave 116 in a protected memory (e.g., a storage device such as RAM). In some examples, the trusted processing unit 106 protects the protected data 124 in a memory by encrypting the data 122 obtained from the database 120 and storing only the protected data 124 in an untrusted memory such as the untrusted storage 110. When encrypted, the untrusted processing unit 108 cannot access the protected data 124. The example trusted processing unit 106 also prevents the untrusted processing unit 108 from determining which portions of the protected data 124 are being accessed by the trusted processing unit 106.
[0029] The example record retriever 114 of FIG. 1 receives requests from the requester(s) 102 via the network 104. The record retriever 114 processes the request to determine one or more records in the protected data enclave 116. For example, if the request received from the requester 102 is a request for specific, identifiable records (e.g., record identifiers), the record retriever 114 accesses the identified records in the protected data 124. Additionally or alternatively, if the request is a query for records based on a set of criteria, the example record retriever 114 determine which of the records in the protected data enclave 116 satisfy the query. The record retriever 114 returns the records to the requester 102 via the network.
[0030] In the example of FIG. 1, the untrusted processing unit 108 is not capable of accessing or monitoring the record requests by the record retriever 114 to the protected data enclave 116. Additionally, requests from the requesters 102 and responses from the record retriever 114 are encrypted to prevent access and/or monitoring of the request and response by the untrusted processing unit 108. By eliminating the means by which the untrusted processing unit 108 can monitor or infer the records being accessed by the requester(s) 102, the example trusted processing unit 106 provides private information retrieval for the data 122 in the database 120.
[0031] FIG. 2 is a block diagram of another example system 200 to provide private information retrieval using multiple trusted processing units. The example system 200 of FIG. 2 receives and responds to requests for data 201 in the example database 120 from one or more requester(s) 102. In the example of FIG. 2, the system 200 communicates with the requester(s) 102 via the communications network 104 of FIG. 1. In contrast with the example of FIG. 1 , in the example of FIG. 2 trusted processing units are limited in an amount of data that can be protected, and the amount of data 201 stored in the database 120 is more than the threshold amount of data that is capable of protection by a single trusted processing unit. Thus, in the example of FIG. 2 the data in the database is split up between multiple trusted processing units 202-206 to protect an entirety of the data 201.
[0032] Each of the trusted processing units 202-206 in the example of FIG. 2 protects a respective portion of the data 201 in the database 120. In the example of FIG. 2, the data protected by the trusted processing units 202-206 constitutes all of the data 201. In some other examples, the data protected by the trusted processing units 202-206 constitutes portions of the data 201 for which private information retrieval is or may be desired by the requester(s) 102. As explained in more detail below, when a request for the data 201 is received, each of the example trusted processing units 202-206 receive either an actual
request for one or more records protected by the trusted processing units 202-206 or a dummy request. As used herein, a "dummy request" is a request to which the response is not used to respond to a request for data (e.g., the response to the dummy request is not necessary). For example, a dummy request may be sent from the trusted processing unit 216 to the trusted processing unit 202 to obscure the fact that the trusted processing unit 216 is sending a request for data to the trusted processing unit 218. Dummy requests and actual requests are encrypted so that the untrusted processing unit 108 is unable to determine whether any given request is an actual request or a dummy request and, therefore, is unable to determine the trusted processing unit 202-206 from which a record is being requested.
[0033] By sending a request to each of the trusted processing units 202-206 from which a portion of the data can be accessed, whether a real request or a dummy request, accesses to the data 201 by the requester(s) 102 are obscured from untrusted entities. Rather, dummy requests are used in the system of FIG. 2 to obscure which of the processing units 202-206 is/are providing the record(s) to respond to a request.
[0034] In the example system 200 of FIG. 2, each of the trusted processing units 202- 206 includes an instance of the data enclave generator 112a, 112b, 112c, an instance of the record retriever 114a, 114b, 114c, and generates an instances of the protected data enclave 116a, 116b, 116c of FIG. 1. The protected data enclave 116a in the trusted processing unit 202 stores a first subset of records 208 from the example data 201. Similarly, the protected data enclave 116b in the trusted processing unit 204 stores a second subset of records 210 from the example data 201, and the protected data enclave 116c in the trusted processing unit 204 stores a third subset of records 212 from the example data 201. The example data 201 also includes a fourth subset of records 214, which are discussed below. In combination, the records 208-214 stored in the protected data enclaves 116a-116c of FIG. 2 include all of the data 201 in the database 120.
[0035] The example system 200 of FIG. 2 further includes additional trusted processing units 216, 218 to provide access to the records 208-214 protected by the trusted processing units 202-206 while also obscuring from an untrusted server 220 any indications of which of the records 208-214 are being requested and/or accessed by requester(s) 102. As described in more detail below, the example trusted processing units 216, 218 help organize the trusted processing units 202-206 to efficiently and privately obtain records requested by the requester(s) 102. In the example of FIG. 2, the trusted processing units 202-206, 216, 218 are each separate physical devices.
[0036] The example trusted processing units 216, 218 of FIG. 2 each include a protected hashing enclave 222a, 222b and a request processor 224a, 224b. The example protected hashing enclaves 222 and the example request processors 224 are described below with reference to the trusted processing unit 216. However, the descriptions of the example protected hashing enclaves 222 and the example request processors 224 are also applicable to the trusted processing unit 218 of FIG. 2.
[0037] In some examples, the protected hashing enclaves 222a, 222b require relatively small amounts of data to be stored and protected by the trusted processing units 216, 218. In some such examples, the trusted processing units 216, 218 that implement protected hashing enclaves 222a, 222b may also implement protected data enclaves. For example, the trusted processing unit 218 of FIG. 2 also implements a protected data enclave 116d that can store records from the data 201 (e.g., the records 214).
[0038] The example trusted processing units 202-206, 216, 218 of FIG. 2 are implemented as separate processing devices that can communicate by exchanging requests and/or responses. For example, the trusted processing units 202-206, 216, 218 may be separate servers or other computing devices that are in communication with one or more others of the trusted processing units 202-206, 216, 218 via direct connections and/or via a network.
[0039] The example untrusted server 220 includes an untrusted processing unit (e.g., the untrusted processing unit 108 of FIG. 1) and an untrusted storage (e.g., the untrusted storage 110 of FIG. 1). The example untrusted storage 110 of FIG. 1 includes the example untrusted code 118 and the example untrusted database 120 of FIG. 1. The untrusted database 120 of FIG. 2 includes the data 201 to which the requester(s) 102 desire private access. The example system 200 of FIG. 2 provides private information retrieval (e.g., private access) to the data 201 in the database 120 of the untrusted server 220 via the trusted processing units 202-206, 216, 218 without the untrusted processing unit 108 or, more generally, the untrusted server 220 being able to determine or infer either the contents of the requests for the data 201 (e.g., requests for the records 208-214) or the accesses to the records 208-214 within the trusted processing units 202-206, 218.
[0040] As in the example of FIG. 1, the requester(s) 102 want to privately access data from the database 120, but do not trust the untrusted code 118. For example, the requester(s) 102 may be concerned that the untrusted code 118 may contain software that could attempt to profile them for marketing purposes or for more nefarious purposes. Therefore, the requester(s) 102 desire for the untrusted processing unit 108 to not have access to the
contents of the request(s) or to be able to monitor the record(s) 208-214 that are accessed and/or provided to the requester(s) 102 in response to the request(s).
[0041] To provide private information retrieval, the example trusted processing units 202-206, 216, 218 are configured (e.g., logically arranged) in a tree structure as illustrated in FIG. 2. In the tree structure, the trusted processing units 202-206 that implement protected data enclaves 116 are configured as leaf nodes and the trusted processing units 216, 218 that implement protected hashing enclaves 222 are configured as branch nodes.
[0042] The trusted processing unit 216 receives a request 226 from a requester 102 for private information retrieval for one or more of the records 208-214 in the protected data enclaves 116. The example request 226 may be intended by the requester 102 as a request for the system 200 to provide access to the database 120 (e.g., via a request to a web server). Instead of being directed to the untrusted server 220 containing the original database 120, the request 226 is redirected to the trusted processing unit 216 to provide private information retrieval for the request 226.
[0043] The example protected hashing enclaves 222a, 222b of FIG. 2 calculate hashes of data requests (e.g., from information included in requests) to determine the one(s) of the trusted processing units 202-206 in which the requested record(s) 208-214 are stored and/or to determine the one(s) of the trusted processing units 202-206, 218 from which the requested record(s) 208-214 can be retrieved. The example protected hashing enclaves 222, like the protected data enclaves 116, are protected from access by entities other than the respective trusted processing unit 216, 218 in which the protected hashing enclaves 222 are
implemented or executed. In the example of FIG. 2, each of the protected hashing enclaves 222a, 222b implements a different hash algorithm to determine one(s) of the trusted processing units 202-206, 2166 to which requests are to be sent in response to received requests. For example, the protected hashing enclave 222a implements a first hash algorithm that calculates whether a record 208-214 can be retrieved from the trusted processing unit 202 or the trusted processing unit 216, and the protected hashing enclave 222b implements a second hash algorithm that calculates whether a record 208-214 can be retrieved from the trusted processing unit 204 or the trusted processing unit 206.
[0044] In some other examples, the protected hashing enclaves 222a, 222b implement a same hash algorithm that calculates the one(s) of the trusted processing units 202-206 in which the requested record(s) can be found. Example hash algorithms that may be implemented by the protected hashing enclaves 222a, 222b implement a mapping scheme
that maps the records 208, 210, 212, and 214 to the respective ones of the trusted processing units 202-206, 218.
[0045] The protected hashing enclave 222a uses a hash algorithm to sort the records 208-214 into two or more buckets, where each of the buckets corresponds to another of the trusted processing units 202-206, 218 from which the trusted processing unit 216 may request a record. For example, the protected hashing enclave 222a may sort the records 208-214 into two buckets corresponding to the trusted processing unit 202 (e.g., for the records 208) and the trusted processing unit 218 (e.g., for the records 210, 212, 214).
[0046] In some examples, the protected hashing enclave 222a sorts the records 208- 214 into buckets corresponding to the trusted processing units 202-206 at the leaf nodes of the tree structure, and then combines buckets that are accessed via another trusted processing unit at a branch node of the tree structure (e.g., the trusted processing unit 218). For example, the protected hashing enclave 222a may generate different buckets for the trusted processing units 202-206 corresponding to the leaf nodes of the tree structure, apply the hash algorithm to the data 201 to determine the assignments of the records 208-214 to the respective ones of the buckets, and combine the buckets corresponding to the trusted processing units 204 and 206 that are accessed via the trusted processing unit 218.
[0047] When the example request processor 224a receives a request for record(s) (e.g., from a requester 102 and/or from another trusted processing unit 216, 218), the request processor 224a accesses the protected hashing enclave 222a to determine a location in the tree structure from which the requested record(s) are to be retrieved. The request processor 224a sends a request for the requested record(s) to the determined trusted processing units 202-206, 216, 218 at a next level in the tree structure. The request processor 224a also receives a response from the trusted processing units 202-206, 216, 218 in response to the request sent by the request processor 224a, where the received response includes a requested record. The request processor 224a then returns a response to the trusted processing unit 216, 218 or to the requester 102 from which the request was received.
[0048] In the example of FIG. 2, the request processor 224a receives the request 226. The request processor 224a processes the request 226 by applying the hash function (or algorithm) to the criteria in the request 226. For example, the request processor 224a applies the hash function used to sort the records 208-214 into the buckets in the protected hashing enclave 222a to determine the trusted processing unit 202-206 to which the requested record(s) correspond. Based on the hash function, the example request processor 224a determines that the requested records correspond to the trusted processing unit 218 (e.g., the
requested records 210, 212 can be found in 204, 206). The example request processor 224a sends a request 228 for the requested record(s) to the trusted processing unit 218. The example request 228 is encrypted and specifies the desired record(s) needed to respond to the request 226.
[0049] The example request processor 224b receives the request 228 from the request processor 224a and determines the requested records by applying the hash algorithm to the request 228. The request processor 224b may apply a similar or identical process as the request processor 224a described above. For example, the request processor 224b accesses the protected hashing enclave 222b to determine that the requested record is in the records 210 corresponding to the trusted processing unit 204. Based on the determination, the request processor 224b sends a request 230 to the example trusted processing unit 204. In the example of FIG. 2, the request 230 is encrypted.
[0050] The example record retriever 114b receives the request 230 and accesses the record(s) 210 specified in the request 230. The example record retriever 114b then transmits a response 232 to the trusted processing unit 218 that transmitted the request 230. The example request processor 224b receives the response 232 including the accessed record(s) 210. The request processor 224b decrypts the response 232 and encrypts a response 234 to the request 228 that includes the accessed record(s) 210. The request processor 224b sends the response 234 to the trusted processing unit 216. The example request processor 224a receives the response 234 including the accessed record(s) 210. The request processor 224a decrypts the response 234 and encrypts a response 236 to the request 226 that includes the accessed record(s) 210. The request processor 224a sends the response 236 to the requester 102. The response 236 completes the private information retrieval process for the requester 102 by providing the requested record(s) 210 without enabling the untrusted server 220 to determine any information about the request 226, the accessed record(s) 210, or the response 236.
[0051] In addition to the requests 226, 228, 230 and the responses 232, 234, 236, the example trusted processing units 202-206, 216, 218 transmit dummy requests 238, 240 and corresponding dummy responses 242, 244 to obscure the actual requests 226-230 and the actual responses 232-236 (e.g., the requests and responses that access and return the requested data to the requester 102). For example, after the trusted processing unit 216 generates the request 228 to be transmitted to the trusted processing unit 218, the trusted processing unit 216 also generates the dummy request 238 to be transmitted to the trusted processing unit 202. Similarly, after the trusted processing unit 218 generates the request 230 to be transmitted to the trusted processing unit 204, the trusted processing unit 218 also
generates the dummy request 240 to be transmitted to the trusted processing unit 206. The example dummy requests 238, 240 may include information indicating that the dummy requests 238, 240 may elicit the dummy responses 242, 244 with minimal processing resources being expended. In some other examples, the dummy requests 238, 240 may include a request for records, and the data contained in the responses 242, 244 is ignored or discarded in favor of using the information in the responses 232, 234 that contain the requested record(s).
[0052] In examples in which the record(s) 214 are requested, the example request processor 224b sends dummy requests to both of the trusted processing units 204, 206 to obscure the fact that the record 214 stored at the protected data enclave 216d is being requested. When the request processor 224b receives dummy responses from the trusted processing units 204, 206, the example request processor 224b may ignore both dummy responses and include the requested record(s) 214 in a response to the trusted processing unit 216.
[0053] In some examples, the requests 226-230, 238, 240 received by the trusted processing units 202-206, 216, 218 are identical in form, such that the same request format can be used by the record retrievers 114 and the request processors 224. Similarly, the example responses 232-236, 242, 244 transmitted by the trusted processing units 202-206, 216, 218 are identical in form, such that the same response format can be used by the record retrievers 114 and the request processors 224 to respond to requests. As mentioned above, dummy requests and/or dummy responses may include an indicator (e.g., a dummy bit) that indicates whether the request or response is intended to retrieve one or more records. By identifying dummy requests and/or dummy responses, the trusted processing unit(s) 202-206 may expend fewer processing cycles to generate a dummy response to the request because the record retrievers 114 need not query the protected data enclaves 116 when a dummy request is received.
[0054] The connections between the trusted processing units 202-206, 216, 218 are assumed to be accessible by the untrusted server 220. To obscure the content of requests and/or responses between the trusted processing units 202-206, 216, 218, the example requests 226-230, the dummy requests 238, 240, the responses 232-236, and/or the dummy responses 242, 244 are encrypted. Because the requests 226-230, 238, 240 and the responses 232-236, 242, 244 are encrypted during communication between the trusted processing units 202-206, 216, 218, the untrusted server 220 cannot determine which of the requests 226-230, 238, 240 are dummy requests or which of the responses 232-236, 242, 244 are dummy
responses. Any entity monitoring the connections between the trusted processing units 202- 206, 216, 218 would observe that a request from the requester 102 results in requests and responses being propagated through the entire tree structure (e.g., between each connected pair of the trusted processing units 202-206, 216, 218).
[0055] The example system 200 of FIG. 2 also includes a private information retrieval manager 246. The example private information retrieval manager 246 determines a size (e.g., in bytes) of the database 120 from which the data (e.g., records) may be requested. When the private information retrieval manager 246 determines that the size of the database 120 is equal to or less than a threshold size (e.g., equal to or less than a maximum amount of data that is protectable by one trusted processing unit), the private information retrieval manager 246 configures a single trusted processing unit to generate a protected data enclave to include the data 201. For example, the private information retrieval manager 246 may instantiate the system 100 of FIG. 1, where the single trusted processing unit 106
implementing the protected data enclave 116 may be implemented using a same computing device as the untrusted server 220 or using different computing devices.
[0056] On the other hand, when the private information retrieval manager 246 determines that the size of the database 120 is more than a threshold size (e.g., more than a maximum amount of data that is protectable by one trusted processing unit), the private information retrieval manager 246 configures multiple trusted processing units (e.g., the trusted processing units 202-206) to implement a number of the protected data enclaves 116 that is sufficient to protect the amount of data 201 (e.g., in bytes) that is present in the database 120. For example, if the amount of data 201 is more than twice the maximum amount of data that is protectable by one trusted processing unit, but less than three times the maximum amount of data that is protectable by one trusted processing unit, the private information retrieval manager 246 configures three trusted processing units 202-206, 218 to execute data enclave generators 112, record retrievers 114, and/or protected data enclaves 116 to protect different sets of records 208-214.
[0057] The example private information retrieval manager 246 also configures one or more trusted processing units 216, 218 to implement protected hashing enclaves 222 to organize the trusted processing units 202-206 that implement the protected data enclaves 116. For example, the private information retrieval manager 246 selects a number of protected hashing enclaves based on a number of desired levels in a tree structure and a number of protected data enclaves in the tree structure. To configure the example trusted processing units 216, 218, the private information retrieval manager 246 configures the trusted
processing units 216, 218 to execute protected hashing enclaves 222 and request processors 224.
[0058] FIG. 3 illustrates an example tree structure 300 including a protected hashing enclave 302 and protected data enclaves 304-316 to provide private information retrieval. In contrast to the example tree structure described above with reference to the system 200 of FIG. 2, the example tree structure 300 of FIG. 3 enables the protected hashing enclave 302 to refer to more than two protected data enclaves 304-316. For clarity, the example of FIG. 3 is described below with reference to the protected hashing enclave 302 and the protected data enclaves 304-316, and omits the discussion of trusted processing units. However, it should be understood that the example protected hashing enclave 302 and the protected data enclaves 304-316 of FIG. 3 are implemented using trusted processing units as described above with reference to FIGS. 1 and 2, such as the trusted processing units 106, 202-206, 216, 218 of FIGS. 1 and/or 2.
[0059] The example protected data enclaves 304-316 of FIG. 3 include respective subsets of records 318-330 which, in combination, constitute an entirety of the records in a database to which private information retrieval is provided by the tree structure 300. Example records in the subsets of records 318-330 are designated using letters A-U. The example protected hash enclave 302 stores a set of buckets 332 (e.g., buckets 1-7) that map records (or hash values) to the protected data enclaves 304-316 (e.g., protected data enclaves 1-7).
[0060] The example protected hashing enclave 302 of FIG. 3 receives a request 334 for the record B, which is stored in the protected data enclave 304. The example protected hashing enclave 302 decrypts the request 334 and processes the request by applying a hash function to the request 334 and/or performing a lookup using a lookup table. In some examples in which the records A-U are divided between the protected data enclaves 304-316 based on one or more contents of the records A-U, the protected hash enclave 302 parses a query contained in the request 334 to determine which of the protected data enclaves 304-316 is storing the record(s) A-U that correspond to the query.
[0061] In an example, the result of the hash function indicates that the protected data enclave 304 is storing the desired record B (e.g., the hash function yields a value
corresponding to bucket 1). In some other examples, multiple ones of the protected data enclaves 304-316 may store one or more desired records. The example protected hashing enclave 302 sends a request 336 indicating the desired record B to the protected data enclave 304. In some examples, the protected hashing enclave 302 duplicates the request 334 (e.g., the content in the request 334) and sends the duplicate of the request 334 as the request 336
after identifying the protected data enclave 304 as the protected data enclave to which the request 336 should be directed. The protected hashing enclave 302 encrypts the request 336 prior to transmission.
[0062] The example protected hashing enclave 302 also generates and transmits dummy requests 340 to the example protected data enclaves 306-316 that do not include the desired record B. The example dummy requests 340 may include a dummy indicator (e.g., a dummy bit) and/or dummy data that indicates to the protected data enclaves 306-316 that the response to the dummy request 340 will not be used. In other examples, the protected hashing enclave 302 also generates the dummy requests 340 to request respective records D-U contained in the protected data enclaves 306-316. The dummy requests 340 are encrypted prior to transfer to the protected data enclaves 306-316.
[0063] The example protected data enclave 304 receives and decrypts the request 336, and determines that the record B is being requested. The example protected data enclave 304 obtains the record B and transmits a response 342 to the protected hashing enclave 302 that includes the record B. The protected data enclave 304 encrypts the response 338 prior to transmission.
[0064] The example protected data enclaves 306-316 receive and decrypt the dummy requests 340. In response to the dummy requests 340, each of the protected data enclaves 306-316 encrypts and transmits a corresponding dummy response 342. If the dummy requests 340 included dummy indicators (e.g., dummy bits), the example dummy responses 342 include dummy indicators (e.g., similar or identical to the dummy indicators in the dummy requests 340). Alternatively, if the dummy requests 340 were requests for records, the example dummy responses 342 include the requested records.
[0065] The example protected hashing enclave 302 receives the response 338 from the protected data enclave 304 and the dummy responses 342 from the protected data enclaves 306-316. The protected hashing enclave 302 decrypts the response 338 and the dummy responses 342, determines that the response 338 contains the requested record B, and determines that the dummy responses 342 do not contain any requested records. In examples in which the protected data enclave 304 sends actual requests as the dummy requests 340, the example protected hashing enclave 302 may maintain a table of the protected data enclaves 304-316 from which records are expected and/or from which dummy responses are expected. In some such examples, the protected hashing enclave 302 ignores or discards the received dummy responses 342 without decrypting the dummy responses 342, and without any untrusted entities (e.g., the untrusted processing unit 108 and/or the untrusted server 220 of
FIGS. 1 and/or 2) being able to monitor the disposition of the dummy responses 342 by the protected hashing enclave 302.
[0066] The example protected hashing enclave 302 generates a response 344 to the request 334, where the response 344 includes the requested record B. The protected hashing enclave 302 encrypts and transmits the response 344 to provide the record B to the requester.
[0067] The example tree structure 300 of FIG. 3 requires that a trusted processing unit implementing the protected hashing enclave 302 transmits, receives, and processes more requests and responses than either of the trusted processing units 216, 218 of FIG. 2. As a result, the trusted processing unit implementing the protected hashing enclave 302 may require more computing resources to handle requests. However, the example two-level tree structure 300 saves bandwidth over a tree structure having 3 or more levels, such as the binary tree structure of FIG. 2, and the same number of protected data enclaves (e.g., seven protected data enclaves) because there are fewer or no requests or responses being transmitted between protected hashing enclaves. The example tree structure 300 also requires fewer trusted processing units than a binary tree structure having the same number of protected data enclaves.
[0068] While an example manner of implementing the disclosed systems 100, 200 are illustrated in FIGS. 1, 2, and 3, one or more of the elements, processes and/or devices illustrated in FIGS. 1, 2, and 3 may be combined, divided, re-arranged, omitted, eliminated and/or implemented in any other way. Further, the example trusted processing units 106, 202- 206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, the example private information retrieval manager 246 and/or, more generally, the example systems 100, 200 of FIGS. 1 and/or 2 may be implemented by hardware, software, firmware and/or any combination of hardware, software and/or firmware. Thus, for example, any of the example trusted processing units 106, 202-206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, the example private information retrieval manager 246 and/or, more generally, the example systems 100, 200 could be implemented by one or more analog or digital circuit(s), logic circuits,
programmable processor(s), application specific integrated circuit(s) (ASIC(s)),
programmable logic device(s) (PLD(s)) and/or field programmable logic device(s)
(FPLD(s)). When reading any of the apparatus or system claims of this patent to cover a
purely software and/or firmware implementation, at least one of the example trusted processing units 106, 202-206, 216, 218, the example data enclave generators 112, the example record retrievers 114, the example protected data enclaves 116, 304-316, the example protected hashing enclaves 222, 302, the example request processors 224, and/or the example private information retrieval manager 246 is/are hereby expressly defined to include a tangible computer readable storage device or storage disk such as a memory, a digital versatile disk (DVD), a compact disk (CD), a Blu-ray disk, etc. storing the software and/or firmware. Further still, the example systems 100, 200 of FIGS. 1 and/or 2 may include one or more elements, processes and/or devices in addition to, or instead of, those illustrated in FIGS. 1 and/or 2, and/or may include more than one of any or all of the illustrated elements, processes and devices.
[0069] Flowcharts representative of example machine readable instructions for implementing the example systems 100, 200 of FIGS. 1 and/or 2are shown in FIGS. 4, 5, 6, and 7. In this example, the machine readable instructions comprise program(s) for execution by a processor such as the processors 812, 912, 1012 shown in the example processor platforms 800, 900, 1000 discussed below in connection with FIGS. 8, 9, and 10. The program(s) may be embodied in software stored on a tangible computer readable storage medium such as a CD-ROM, a floppy disk, a hard drive, a digital versatile disk (DVD), a Blu-ray disk, or a memory associated with the processors 812, 912, 1012, but the entire program(s) and/or parts thereof could alternatively be executed by a device other than the processors 812, 912, 1012 and/or embodied in firmware or dedicated hardware. Further, although the example program(s) are described with reference to the flowcharts illustrated in FIGS. 4, 5, 6, and 7 many other methods of implementing the example systems 100, 200 of FIGS. 1 and/or 2 may alternatively be used. For example, the order of execution of the blocks may be changed, and/or some of the blocks described may be changed, eliminated, or combined.
[0070] As mentioned above, the example processes of FIGS. 4, 5, 6, and 7 may be implemented using coded instructions (e.g., computer and/or machine readable instructions) stored on a tangible computer readable storage medium such as a hard disk drive, a flash memory, a read-only memory (ROM), a compact disk (CD), a digital versatile disk (DVD), a cache, a random-access memory (RAM) and/or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and/or for caching of the information). As used herein, the term tangible computer readable storage medium is expressly defined to include
any type of computer readable storage device and/or storage disk and to exclude propagating signals and transmission media. As used herein, "tangible computer readable storage medium" and "tangible machine readable storage medium" are used interchangeably.
Additionally or alternatively, the example processes of FIGS. 4, 5, 6, and 7 may be implemented using coded instructions (e.g., computer and/or machine readable instructions) stored on a non-transitory computer and/or machine readable medium such as a hard disk drive, a flash memory, a read-only memory, a compact disk, a digital versatile disk, a cache, a random-access memory and/or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and/or for caching of the information). As used herein, the term non-transitory computer readable medium is expressly defined to include any type of computer readable storage device and/or storage disk and to exclude propagating signals and transmission media. As used herein, when the phrase "at least" is used as the transition term in a preamble of a claim, it is open-ended in the same manner as the term "comprising" is open ended.
[0071] FIG. 4 is a flowchart representative of example machine readable instructions 400 which may be executed to implement the examples of FIGS. 1 and/or 2 to generate one or more protected data enclaves 116 to provide private information retrieval from a database 120. The example instructions 400 of FIG. 4 may be implemented by the example private information retrieval manager 246 in the system 200 of FIG. 2, and the example instructions 400 enable private information retrieval to be provided using one or more trusted processing units. The example instructions 400 will be described below with reference to the system 200 of FIG. 2.
[0072] The example private information retrieval manager 246 determines a size (e.g., in bytes) of a database from which records may be requested (block 402). For example, the private information retrieval manager 246 may query the untrusted server 220 to request a data size of the data 201 in the database 120. The private information retrieval manager 246 determines whether the size of the data 201 is more than a threshold size (block 404). For example, the private information retrieval manager 246 may compare the size of the data 201 to a maximum amount of data that is protectable by a trusted processing unit.
[0073] If the size of the data 201 is not more than the threshold size (block 404), the example private information retrieval manager 246 configures a trusted processing unit to instantiate a protected data enclave (e.g., the protected data enclave 116 of FIG. 1) (block 406). For example, when the amount of data 201 is less than or equal to the maximum
amount that is protectable by a trusted processing unit, the example private information retrieval manager 246 configures the trusted processing unit 106 of FIG. 1 to implement the data enclave generator 112, the record retriever 114, and the protected data enclave 116. The example data enclave generator 112 stores database records (e.g., the data 201) in the protected data enclave 116 (block 408). When the data 201 is stored (e.g., copied) in the protected data enclave 116, only the trusted processing unit 106 is able to access the stored data (e.g., records) in the protected data enclave 116 or have knowledge of the portions of the data in the protected data enclave 116 (e.g., records) that are accessed.
[0074] When the size of the data 201 is more than the threshold size (block 404), the example private information retrieval manager 246 configures multiple trusted processing units to instantiate corresponding protected data enclaves (block 410). For example, the private information retrieval manager 246 configures each of the trusted processing units 202-206 of FIG. 2 to implement a corresponding data enclave generator 112, a corresponding record retriever 114, and a corresponding protected data enclave 116 when the amount of data 201 is more than the maximum amount that is protectable by a trusted processing unit.
[0075] The example data enclave generators 112a- 112c sort the database records 208- 214 into the protected data enclaves 116a-116d based on hashing the database records (block 412). For example, the private information retrieval manager 246 may specify hash value(s) for the data enclave generator 112a which, when record(s) 208 in the database 120 match the hash value(s), cause the data enclave generators 112a to include the record(s) 208 in the respective protected data enclaves 116a.
[0076] The example private information retrieval manager 246 also configures one or more trusted processing units 216, 218 to instantiate protected hashing enclaves 222 (block 414). For example, the private information retrieval manager 246 determine a number of protected hashing enclaves 222 to be used based on the number of protected data enclaves 116 that have been instantiated and based on a number of levels desired in the tree structure. In the example of FIG. 2, the private information retrieval manager 246 configures the trusted processing units 216, 218 to implement a corresponding protected hashing enclave 222 and a corresponding request processor 224. As part of the configuration, the protected hashing enclaves 222a-222b are generated to implement respective hash function(s) and/or hash value(s) used to instantiate the protected data enclaves 116 of FIG. 2.
[0077] The example private information retrieval manager 246 organizes the trusted processing units 202-206, 216, 218 for the protected data enclaves 116 and the protected hashing enclaves 222 into a tree structure having the protected data enclaves 116 as the leaf
nodes of the tree structure (block 416). For example, the private information retrieval manager 246 may configure the request processors 224 of FIG. 2 to transmit requests to designated trusted processing units. In some examples, the private information retrieval manager 246 organizes the trusted processing units 202-206, 216, 218 in the tree structure by providing configuration information to the protected hashing enclaves 222, such as hash algorithm information. For example, the protected hashing enclave 222a may store buckets that indicate that a requested record can be retrieved by a request to the trusted processing unit 202 or a request to the trusted processing unit 218.
[0078] After organizing the trusted processing units (block 416), or after storing the database records in one protected data enclave (block 408), the example instructions 400 of FIG. 4 end.
[0079] FIG. 5 is a flowchart representative of example machine readable instructions 500 which may be executed to implement the example systems 100, 200 of FIGS. 1 and/or 2 to service a request for private information retrieval from a database. The example instructions 500 are described below with reference to the example trusted processing unit 216 of FIG. 2.
[0080] The example request processor 224a of FIG. 2 determines whether a request has been received to access a database record (block 502). For example, the request processor 224a may receive the request 226 from the requester 102 that specifies one or more of the records 208-214 from the database 120. If a request has not been received to access a database record (block 502), the request processor 224a iterates block 502 to await a request.
[0081] When the request 226 is received (block 502), the example request processor 224a generates a hash of the requested record to determine a trusted processing unit from which to request the requested record (block 504). For example, the hash of the requested record may yield a value that matches one of multiple buckets in the protected hashing enclave 222a, where the buckets correspond to the trusted processing units 202 and 218. The request processor 224a transmits a request (e.g., the request 228 of FIG. 2) for the requested record to the determined trusted processing unit 218 (block 506). In some examples, the transmitted request 228 includes content that is similar or identical to the received request 226. In some examples, transmitting the request further includes encrypting the request 228 prior to transmission.
[0082] The example request processor 224a also transmits one or more dummy request(s) to trusted processing unit(s) other than the determined trusted processing unit 218 (block 508). For example, when the request 228 is sent to the trusted processing unit 218, the
example request processor 224a also generates and transmits the dummy request 238 to the trusted processing unit 202.
[0083] The request processor 224a determines whether a dummy response has been received (block 510). For example, the request processor 224a may determine whether a response 242 has been received that is marked as a dummy response and/or whether a response has been received from a trusted processing unit to which a dummy request was sent. If a dummy response 242 has been received (block 510), the example request processor 224a discards the dummy response 242.
[0084] After discarding the dummy response 242 (block 512), or if a dummy response has not been received (block 510), the example request processor 224a determines whether the requested database record has been received (e.g., from the trusted processing unit 218) (block 514). If the requested database record has not been received (block 514), the example request processor 224a determines whether the request has timed out (block 516). If the request has not timed out (block 516), control returns to block 508 to continue waiting for the requested database record. If the request has timed out (block 516), the example request processor 224a returns an error response to the requester (block 518). For example, if a response to the request 228 has not been received by the request processor 224a within a permissible time, the request processor 224a notifies the requester 102 that the request 226 resulted in an error.
[0085] When a requested database record has been received (e.g., in the response 234 from the trusted processing unit 218) (block 514), the example request processor 224a transmits the received record to the requester 102 (block 520). For example, the request processor 224a transmit the received record to the requester 102 as a response 236 to the request 226. The example request processor 224a encrypts the response 236 of FIG. 2 prior to transmission.
[0086] FIG. 6 is a flowchart representative of example machine readable instructions 600 which may be executed to implement the example systems 200 of FIGS. 1 and/or 2 to receive and process dummy requests. The example instructions 600 of FIG. 6 will be described below with reference to the request processor 224b of FIG. 2. However, the example instructions 600 may be implemented by any request processor 224 that is not at a top level of a tree structure (e.g., the instructions 600 would not be implemented by the example request processor 224a of FIG. 2).
[0087] The example request processor 224b determines whether a dummy request has been received (block 602). As discussed above, a dummy request is a request intended to
obscure requests for data and/or to prevent deduction of the identities and/or patterns of data accesses. If a dummy request has not been received (block 602), the example request processor 224b iterates block 602 to await a dummy request (which may be executed simultaneously or alternating with block 502 of FIG. 5).
[0088] When a dummy request is received (block 602), the example request processor 224b transmits dummy requests to trusted processing units at the next level of the tree structure (block 604). Because a dummy request received at the request processor 224b is not a request for data that will be provided to a requester, the example request processor 224b transmits dummy requests to all of the trusted processing units at the next lower level (e.g., the next level closer to the leaf nodes) of the tree structure. In the example of FIG. 2, when the request processor 224b receives a dummy request, the request processor 224b generates and transmits dummy requests to the trusted processing units 204 and 206.
[0089] The example request processor 224b determines whether dummy responses from all of the trusted processing units at the next level of the tree structure have been received (block 606). For example, the example request processor 224b may determine whether all of the trusted processing units 204, 206 to which dummy requests were transmitted have returned a dummy response. If fewer than all of the trusted processing units at the next level of the tree structure have been received (block 606), the example request processor 224b determines whether a dummy request timeout has occurred (block 608). If the request has not timed out (block 608), control returns to block 606 to continue waiting for dummy responses from the trusted processing units 204, 206.
[0090] If the request has timed out (block 608), or when dummy responses have been received from all of the trusted processing units 204, 206 at the next level of the tree structure (block 606), the example request processor 224b transmits a dummy response to the requester (block 610). In the example system 200 of FIG. 2, the request processor 224b sends a dummy response to the trusted processing unit 216 from which the dummy request was received. The example instructions 600 of FIG. 6 then end.
[0091] FIG. 7 is a flowchart representative of example machine readable instructions 700 which may be executed to implement the example systems 100, 200 of FIGS. 1 and/or 2 to receive and respond to requests. The example instructions 700 of FIG. 7 will be described below with reference to the record retriever 114a of FIG. 2. However, the example instructions 700 may be implemented by any of the record retrievers 114 of FIGS. 1 and/or 2.
[0092] The example record retriever 114a of FIG. 2 determines whether a request has been received to access a database record (block 702). For example, the record retriever 114a
may receive a request 226 from the trusted processing unit 216 and/or from a requester 102 that specifies one or more of the records 208 from the database 120 that is stored in the corresponding protected data enclave 116a. If a request to access a record has been received (block 702), the example record retriever 114a accesses the requested record(s) 208 from the protected data enclave 116a (block 704). The record retriever 114a transmits a response including the requested record(s) 208 to a requester (e.g., an entity from which the request for the record(s) 208 was received) (block 706).
[0093] After transmitting the response (block 706), or if a request to access database records has not been received (block 702), the example record retriever 114a determines whether a dummy request has been received (block 708). If a dummy request has been received (block 708), the example record retriever 114a transmits a dummy response to the requester (block 710). For example, the record retriever 114a may transmit a response that has a dummy indicator in response to receiving a dummy request that has a dummy indicator. In the example of FIG. 2, responses sent in block 706 and/or responses sent in block 710 are sent from the record retriever 114a to the trusted processing unit 216.
[0094] After transmitting the dummy response (block 710), or if a dummy request has not been received (block 708), the example instructions 700 of FIG. 7 end.
[0095] FIG. 8 is a block diagram of an example processor platform 800 capable of executing the instructions of FIGS. 4 and/or 7 to implement the trusted processing unit 106, the example data enclave generator 112, the example record retriever 114, and/or the example protected data enclave 116 of FIGS. 1 and/or 2. The processor platform 800 can be, for example, a server, a personal computer, or any other type of computing device.
[0096] The processor platform 800 of the illustrated example includes a processor 812. The processor 812 of the illustrated example is hardware. For example, the processor 812 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer. The example processor 812 of FIG. 8 may implement the trusted processing unit 106, the example data enclave generator 112, and/or the example record retriever 114 of FIGS. 1 and/or 2. For example, the processor 812 may execute software guard extensions (SGX) or another trusted execution environment implementation to securely implement the trusted processing unit 106, the example data enclave generator 112, and/or the example record retriever 114.
[0097] The processor 812 of the illustrated example includes a local memory 813 (e.g., a cache). The processor 812 of the illustrated example is in communication with a main memory including a volatile memory 814 and a non-volatile memory 816 via a bus 818. The
volatile memory 814 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device. The non-volatile memory 816 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 814, 816 is controlled by a memory controller.
[0098] The processor platform 800 of the illustrated example also includes an interface circuit 820. The interface circuit 820 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
[0099] In the illustrated example, one or more input devices 822 are connected to the interface circuit 820. The input device(s) 822 permit(s) a user to enter data and commands into the processor 812. The input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
[00100] One or more output devices 824 are also connected to the interface circuit 820 of the illustrated example. The output devices 824 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers). The interface circuit 820 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
[00101] The interface circuit 820 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 826 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
[00102] The processor platform 800 of the illustrated example also includes one or more mass storage devices 828 for storing software and/or data. Examples of such mass storage devices 828 include floppy disk drives, hard drive disks, compact disk drives, Blu-ray disk drives, RAID systems, and digital versatile disk (DVD) drives. The example volatile memory 814 and/or the example mass storage devices 828 of FIG. 8 may implement the protected data enclave 116, the protected data 124, and/or the data 122, 201 of FIGS. 1 and/or 2.
[00103] The coded instructions 832 of FIGS. 4 and/or 7 may be stored in the mass storage device 828, in the volatile memory 814, in the non- volatile memory 816, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
[00104] FIG. 9 is a block diagram of an example processor platform 900 capable of executing the instructions of FIG. 4 to implement the untrusted processing unit 108, untrusted storage 110, the untrusted code 118, the database 120, the data 122, 201 the records 208-214 and/or the example private information retrieval manager 246 of FIGS. 1 and/or 2. The processor platform 900 can be, for example, a server, a personal computer, or any other type of computing device.
[00105] The processor platform 900 of the illustrated example includes a processor 912. The processor 912 of the illustrated example is hardware. For example, the processor 912 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer. The example processor 912 of FIG. 9 may implement the untrusted processing unit 108 and/or the private information retrieval manager 246 of FIGS. 1 and/or 2.
[00106] The processor 912 of the illustrated example includes a local memory 913 (e.g., a cache). The processor 912 of the illustrated example is in communication with a main memory including a volatile memory 914 and a non-volatile memory 916 via a bus 918. The volatile memory 914 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device. The non- volatile memory 916 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 914, 916 is controlled by a memory controller.
[00107] The processor platform 900 of the illustrated example also includes an interface circuit 920. The interface circuit 920 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
[00108] In the illustrated example, one or more input devices 922 are connected to the interface circuit 920. The input device(s) 922 permit(s) a user to enter data and commands into the processor 912. The input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
[00109] One or more output devices 924 are also connected to the interface circuit 920 of the illustrated example. The output devices 924 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers). The interface circuit 920 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
[00110] The interface circuit 920 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 926 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
[00111] The processor platform 900 of the illustrated example also includes one or more mass storage devices 928 for storing software and/or data. Examples of such mass storage devices 928 include floppy disk drives, hard drive disks, compact disk drives, Blu-ray disk drives, RAID systems, and digital versatile disk (DVD) drives. The example volatile memory 914 and/or the example mass storage devices 928 of FIG. 9 may implement the untrusted storage 110, the protected data enclaves 116, the untrusted code 118, the database 120, the data 122, 201 and/or the records 208-214 of FIGS. 1 and/or 2.
[00112] The coded instructions 932 of FIG. 4 may be stored in the mass storage device 928, in the volatile memory 914, in the non-volatile memory 916, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
[00113] FIG. 10 is a block diagram of an example processor platform 1000 capable of executing the instructions of FIGS. 4, 5, 6, and/or 7 to implement the trusted processing units 216, 218, the example protected hashing enclave 222, the example request processors 224 of FIG. 2. The processor platform 1000 can be, for example, a server, a personal computer, or any other type of computing device.
[00114] The processor platform 1000 of the illustrated example includes a processor 1012. The processor 1012 of the illustrated example is hardware. For example, the processor 1012 can be implemented by one or more integrated circuits, logic circuits, microprocessors or controllers from any desired family or manufacturer. The example processor 1000 of FIG. 10 may implement the trusted processing units 216, 218, the example protected hashing enclaves 222, and/or the example request processors 224.
[00115] The processor 1012 of the illustrated example includes a local memory 1013 (e.g., a cache). The processor 1012 of the illustrated example is in communication with a main memory including a volatile memory 1014 and a non-volatile memory 1016 via a bus 1018. The volatile memory 1014 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS Dynamic Random Access Memory (RDRAM) and/or any other type of random access memory device. The non- volatile memory 1016 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 1014, 1016 is controlled by a memory controller.
[00116] The processor platform 1000 of the illustrated example also includes an interface circuit 1020. The interface circuit 1020 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), and/or a PCI express interface.
[00117] In the illustrated example, one or more input devices 1022 are connected to the interface circuit 1020. The input device(s) 1022 permit(s) a user to enter data and commands into the processor 1012. The input device(s) can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, isopoint and/or a voice recognition system.
[00118] One or more output devices 1024 are also connected to the interface circuit 1020 of the illustrated example. The output devices 1024 can be implemented, for example, by display devices (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display, a cathode ray tube display (CRT), a touchscreen, a tactile output device, a light emitting diode (LED), a printer and/or speakers). The interface circuit 1020 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip or a graphics driver processor.
[00119] The interface circuit 1020 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem and/or network interface card to facilitate exchange of data with external machines (e.g., computing devices of any kind) via a network 1026 (e.g., an Ethernet connection, a digital subscriber line (DSL), a telephone line, coaxial cable, a cellular telephone system, etc.).
[00120] The processor platform 1000 of the illustrated example also includes one or more mass storage devices 1028 for storing software and/or data. Examples of such mass storage devices 1028 include floppy disk drives, hard drive disks, compact disk drives, Blu- ray disk drives, RAID systems, and digital versatile disk (DVD) drives.
[00121] The coded instructions 1032 of FIGS 4, 5, 6, and/or 7 may be stored in the mass storage device 1028, in the volatile memory 1014, in the non-volatile memory 1016, and/or on a removable tangible computer readable storage medium such as a CD or DVD.
[00122] Example 1 is a system which includes a first trusted processing unit to store a first portion of data such that entities other than the first trusted processing unit are unable to access the first portion of the data in the first trusted processing unit; a second trusted processing unit to store a second portion of the data such that entities other than the second trusted processing unit are unable to access the second portion of the data in the second trusted processing unit; and a third trusted processing unit to determine that a data element specified in a request is stored in the first trusted processing unit, request the data element from the first trusted processing unit, send a dummy request to the second trusted processing unit, and send the data element to a requester.
[00123] Example 2 includes the subject matter of example 1, in which the second trusted processing unit sends a dummy response to the third trusted processing unit in response to the dummy request.
[00124] Example 3 includes the subject matter of example 2, in which the dummy request includes a first dummy indicator and the dummy response includes a second dummy indicator.
[00125] Example 4 includes the subject matter of example 2, in which the dummy request specifies a second data element stored in the second trusted processing unit, and the third trusted processing unit discards the dummy response.
[00126] Example 5 includes the subject matter of example 1, in which the third trusted processing unit requests the data element from the first trusted processing unit such that only the first trusted processing unit and the third trusted processing unit can identify the data element that is requested from the first trusted processing unit.
[00127] Example 6 includes the subject matter of example 1, in which the first trusted processing unit includes a data enclave generator to create a protected data enclave in a first portion of a first storage device, the first storage device being protected by the first trusted processing unit, and store the first portion of the data in the protected data enclave.
[00128] Example 7 includes the subject matter of example 6, in which the data enclave generator identifies data elements belonging to the first portion of the data to be stored in the protected data enclave by applying a function to the data elements and comparing a) values that result from the applying of the function to b) a first value that
corresponds to the first trusted processing unit and that is different than a second value that corresponds to the second trusted processing unit.
[00129] Example 8. A system as defined in example 1, wherein the third trusted processing unit includes a protected hashing enclave to sort data elements of the data into a first data bucket or a second data bucket, the first data bucket corresponding to the first trusted processing unit and the second data bucket corresponding to the second trusted processing unit.
[00130] Example 9. A system as defined in example 8, wherein the third trusted processing unit further includes a request processor to request the data element specified in the request from the first trusted processing unit based on the protected hashing enclave performing a hash function on the data element specified in the request and determining whether a result of the hash function corresponds to the first bucket or the second bucket.
[00131] Example 10. A system as defined in example 1, further including a fourth trusted processing unit to: determine that the data element specified in the request is accessible via the third trusted processing unit and is not accessible via a fifth trusted processing unit; and request the data element from the third trusted processing unit such that only the fourth trusted processing unit and the third trusted processing unit can identify the data element that is requested from the third trusted processing unit, the fourth trusted processing unit being the requester to the third trusted processing unit.
[00132] Example 11 is a method that includes using trusted processing units, generating protected data enclaves to store a copy of data in a database, each of the protected data enclaves being accessible to only corresponding ones of the trusted processing units that generated the protected data enclaves; in response to receiving a first request for a record in the data at a first one of the trusted processing units, determining, using the trusted processing units, which one of the protected data enclaves contains the record; sending second requests between the trusted processing units to retrieve the record from the determined one of the protected data enclaves; sending dummy requests to the ones of the trusted processing units that correspond to ones of the protected data enclaves that do not contain the record; and sending the record to a requester.
[00133] Example 12 includes the subject matter of example 11, in which the data is split between the protected data enclaves.
[00134] Example 13 includes the subject matter of example 11, in which the database is stored on a computing device having a processor, and the generating of the protected data
enclaves includes generating the protected data enclaves to prevent access by the processor to portions of memory in which the protected data enclaves are stored.
[00135] Example 14 includes the subject matter of example 13, wherein the determining of the one of the protected data enclaves that contains the record, the sending the one or more second requests, and sending the record to the requester are performed without the processor being able to determine the record that was requested and without the processor being able to determine the protected data enclave in which the record is stored.
[00136] Example 15 includes the subject matter of example 11, further including determining a size of the database and determining a number of the protected data enclaves to store the copy of the data based on a threshold amount of data that can be protected by one of the trusted processing units.
[00137] Example 16 includes the subject matter of example 11, in which generating a first one of the data enclaves includes encrypting a portion of the data using a second one of the trusted processing units; and storing the encrypted data in a first memory, the portion of the data in the first memory being accessible only to the second one of the trusted processing units.
[00138] Example 17 includes the subject matter of example 11, in which the protected data enclaves include an entirety of the database.
[00139] Example 18 includes the subject matter of example 11, further including generating a protected hashing enclave at a second one of the trusted processing units, the protected hashing enclave indicating assignments of the data to ones of the protected data enclaves.
[00140] Example 19 includes the subject matter of example 18, in which determining which one of the protected data enclaves contains the record includes performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine the one of the protected data enclaves contains the record.
[00141] Example 20 includes the subject matter of example 18, in which determining which one of the protected data enclaves contains the record includes performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine which of two trusted processing units is in a path to the one of the protected data enclaves that contains the record.
[00142] Example 21 includes the subject matter of example 18, further including configuring the trusted processing units in a tree structure in which ones of the trusted
processing units that correspond to the ones of the protected data enclaves are leaf nodes of the tree structure and the second one of the trusted processing units that corresponds to the protected hashing enclave is a branch node.
[00143] Example 22 is a tangible computer readable medium including computer readable instructions which, when executed, cause a first processor to at least: generate protected data enclaves to store data within trusted execution environments, each of the protected data enclaves being accessible only by a corresponding one of the trusted execution environments in which the protected data enclave exists; in response to receiving a first request for a record in the data at a first one of the trusted execution environments, determine which one of the protected data enclaves contains the record; send second requests between trusted execution environments to retrieve the record from the determined one of the protected data enclaves; send dummy requests to the ones of the trusted execution environments that correspond to ones of the protected data enclaves that do not contain the record; and send the record to a requester.
[00144] Example 23 includes the subject matter of in example 22, in which the data is a copy of second data stored in a database, and the second data is split between the protected data enclaves to store the data in the protected data enclaves.
[00145] Example 24 includes the subject matter of in example 23, in which the instructions are further to cause the first processor to determine a size of the second data and determine a number of the protected data enclaves to store the data based on comparing the size of the second data to a threshold amount of data that can be protected by one of the trusted execution environments.
[00146] Example 25 includes the subject matter of example 23, in which the database is stored on a computing device having a second processor, and the instructions cause the first processor to generate the protected data enclaves by generating the protected data enclaves to prevent access by the second processor to portions of memory in which the protected data enclaves are stored.
[00147] Example 26 includes the subject matter of example 25, in which the instructions cause the first processor to determine the one of the protected data enclaves that contains the record, send the one or more second requests, and send the record to the requester without the second processor being able to determine the record that was requested and without the second processor being able to determine the protected data enclave in which the record is stored.
[00148] Example 27 includes the subject matter of example 23, in which the plurality of the protected data enclaves includes an entirety of the database.
[00149] Example 28 includes the subject matter of example 22, in which the instructions cause the first processor to generate a first one of the data enclaves by encrypting a portion of the data using a first one of the trusted execution environments and storing the encrypted data in a first memory, the portion of the data in the first memory being accessible in decrypted form only to the first one of the trusted execution environments.
[00150] Example 29 includes the subject matter of example 22, wherein the instructions further cause the first processor to generate a protected hashing enclave at a second one of the trusted execution environments, the protected hashing enclave indicating assignments of the data to ones of the protected data enclaves.
[00151] Example 30 includes the subject matter of example 29, in which the instructions cause the first processor to determine which one of the protected data enclaves contains the record by performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine the one of the protected data enclaves contains the record.
[00152] Example 31 includes the subject matter of example 29, in which the instructions cause the first processor to determine which one of the protected data enclaves contains the record by performing a hash function on the first request to generate a hash value and looking up the hash value in the protected hashing enclave to determine which of two trusted execution environments is in a path to the one of the protected data enclaves that contains the record.
[00153] Example 32 includes the subject matter of example 29, in which the instructions further cause the first processor to configure the trusted execution environments in a tree structure in which ones of the trusted execution environments that correspond to the ones of the protected data enclaves are leaf nodes of the tree structure and the second one of the trusted execution environments that corresponds to the protected hashing enclave is a branch node.
[00154] Example 33 is an apparatus, including: a processor to execute first code; a computer readable memory to implement a protected data enclave; a data enclave generator to instantiate the protected data enclave in the memory and to store data in the protected data enclave, the protected data enclave not being accessible to the processor or the first code; and a record retriever to: access a record in the protected data enclave in response to receiving a
request for a record in the data; and sending a response to a requester, the response including the record, such that the request and the response are not accessible to the processor.
[00155] Example 34 includes the subject matter of example 33, in which the data enclave generator encrypts the data.
[00156] Example 35 includes the subject matter of example 33, in which the processor is untrusted, and the data enclave generator stores the protected data enclave in the computer readable memory.
[00157] Example 36 includes the subject matter of example 33, in which the record retriever decrypts the request.
[00158] Example 37 includes the subject matter of example 33, in which the record retriever encrypts the response.
[00159] Example 38 is a method that includes determining a size of a database containing data; generating, a using trusted processing unit, a protected data enclave to store the data when the size of the database is less than a threshold size, the protected data enclave being accessible only by the trusted processing unit that generated the protected data enclave; in response to receiving a request for a record in the data at the trusted processing unit, accessing the record in the protected data enclave; and sending the record to a requester.
[00160] Example 39 includes the subject matter of example 38, in which the generating the protected data enclave includes encrypting the data.
[00161] Example 40 includes the subject matter of example 38, further including storing the protected data enclave in a memory that is shared with an untrusted processing unit.
[00162] Example 41 includes the subject matter of example 38, further including decrypting the request.
[00163] Example 42 includes the subject matter of example 38, in which the sending of the record to the requester includes encrypting a response to the request, the response containing the record, and sending the response to the requester.
[00164] Example 43 is a tangible computer readable storage medium including first computer readable instructions which, when executed, cause a processor to at least: determine a size of a database containing data; generate, using a trusted execution environment, a protected data enclave to store the data when the size of the database is less than a threshold size, the protected data enclave being accessible only by the trusted execution environment; in response to receiving a request for a record in the data, access the record in the protected data enclave; and send the record to a requester.
[00165] Example 44 includes the subject matter of in example 43, in which the first instructions cause the processor to generate the protected data enclave by encrypting the data.
[00166] Example 45 includes the subject matter of in example 43, in which the processor is an untrusted processor, and the first instructions further cause the processor to store the protected data enclave in a memory that is shared with second instructions executed by the untrusted processing unit.
[00167] Example 46 includes the subject matter of example 43, in which the first instructions further cause the processor to decrypt the request.
[00168] Example 47 includes the subject matter of example 43, in which the first instructions further cause the processor to encrypt a response to the request, the response containing the record, and send the response to the requester.
[00169] Although certain example methods, apparatus and articles of manufacture have been disclosed herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all methods, apparatus and articles of manufacture fairly falling within the scope of the claims of this patent.
Claims
1. A system, comprising:
a first trusted processing unit to store a first portion of data such that entities other than the first trusted processing unit are unable to access the first portion of the data in the first trusted processing unit;
a second trusted processing unit to store a second portion of the data such that entities other than the second trusted processing unit are unable to access the second portion of the data in the second trusted processing unit; and
a third trusted processing unit to:
determine that a data element specified in a request is stored in the first trusted processing unit;
request the data element from the first trusted processing unit; send a dummy request to the second trusted processing unit; and send the data element to a requester.
2. A system as defined in claim 1, wherein the second trusted processing unit is to send a dummy response to the third trusted processing unit in response to the dummy request.
3. A system as defined in claim 2, wherein the dummy request includes a first dummy indicator and the dummy response includes a second dummy indicator.
4. A system as defined in claim 2, wherein the dummy request specifies a second data element stored in the second trusted processing unit, and the third trusted processing unit is to discard the dummy response.
5. A system as defined in any of the preceding claims, wherein the third trusted processing unit is to request the data element from the first trusted processing unit such that only the first trusted processing unit and the third trusted processing unit can identify the data element that is requested from the first trusted processing unit.
6. A system as defined in any of the preceding claims, wherein the first trusted processing unit includes a data enclave generator to:
create a protected data enclave in a first portion of a first storage device, the first storage device being protected by the first trusted processing unit; and
store the first portion of the data in the protected data enclave.
7. A system as defined in claim 6, wherein the data enclave generator is to identify data elements belonging to the first portion of the data to be stored in the protected data enclave by:
applying a function to the data elements; and
comparing a) values that result from the applying of the function to b) a first value that corresponds to the first trusted processing unit and that is different than a second value that corresponds to the second trusted processing unit.
8. A system as defined in any of the preceding claims, wherein the third trusted processing unit includes a protected hashing enclave to sort data elements of the data into a first data bucket or a second data bucket, the first data bucket corresponding to the first trusted processing unit and the second data bucket corresponding to the second trusted processing unit.
9. A system as defined in claim 8, wherein the third trusted processing unit further includes a request processor to request the data element specified in the request from the first trusted processing unit based on the protected hashing enclave performing a hash function on the data element specified in the request and determining whether a result of the hash function corresponds to the first bucket or the second bucket.
10. A system as defined in any of the preceding claims, further including a fourth trusted processing unit to:
determine that the data element specified in the request is accessible via the third trusted processing unit and is not accessible via a fifth trusted processing unit; and
request the data element from the third trusted processing unit such that only the fourth trusted processing unit and the third trusted processing unit can identify the data element that is requested from the third trusted processing unit, the fourth trusted processing unit being the requester to the third trusted processing unit.
11. A method, comprising:
using trusted processing units, generating protected data enclaves to store a copy of data in a database, each of the protected data enclaves being accessible to only corresponding ones of the trusted processing units that generated the protected data enclaves;
in response to receiving a first request for a record in the data at a first one of the trusted processing units, determining, using the trusted processing units, which one of the protected data enclaves contains the record;
sending second requests between the trusted processing units to retrieve the record from the determined one of the protected data enclaves;
sending dummy requests to the ones of the trusted processing units that correspond to ones of the protected data enclaves that do not contain the record; and
sending the record to a requester.
12. A method as defined in claim 11, wherein the data is split between the protected data enclaves.
13. A method as defined in any of claims 11 or 12, wherein the database is stored on a computing device having a processor, and the generating of the protected data enclaves includes generating the protected data enclaves to prevent access by the processor to portions of memory in which the protected data enclaves are stored.
14. A method as defined in claim 13, wherein the determining of the one of the protected data enclaves that contains the record, the sending the one or more second requests, and sending the record to the requester are performed without the processor being able to determine the record that was requested and without the processor being able to determine the protected data enclave in which the record is stored.
15. A method as defined in any of claims 11-14, further including determining a size of the database and determining a number of the protected data enclaves to store the copy of the data based on a threshold amount of data that can be protected by one of the trusted processing units.
16. A method as defined in any of claims 11-15, wherein generating a first one of the data enclaves includes:
encrypting a portion of the data using a second one of the trusted processing units; and
storing the encrypted data in a first memory, the portion of the data in the first memory being accessible only to the second one of the trusted processing units.
17. A method as defined in any of claims 11-16, wherein the plurality of the protected data enclaves include an entirety of the database.
18. A method as defined in any of claims 11-17, further including generating a protected hashing enclave at a second one of the trusted processing units, the protected hashing enclave indicating assignments of the data to ones of the protected data enclaves.
19. A method as defined in claim 18, wherein determining which one of the protected data enclaves contains the record includes:
performing a hash function on the first request to generate a hash value; and looking up the hash value in the protected hashing enclave to determine the one of the protected data enclaves contains the record.
20. A method as defined in claim 18, wherein determining which one of the protected data enclaves contains the record includes:
performing a hash function on the first request to generate a hash value; and looking up the hash value in the protected hashing enclave to determine which of two trusted processing units is in a path to the one of the protected data enclaves that contains the record.
21. A method as defined in claim 18, further including configuring the trusted processing units in a tree structure in which ones of the trusted processing units that correspond to the ones of the protected data enclaves are leaf nodes of the tree structure and the second one of the trusted processing units that corresponds to the protected hashing enclave is a branch node.
22. A tangible computer readable medium comprising computer readable instructions which, when executed, cause a first processor to at least:
generate protected data enclaves to store data within trusted execution environments, each of the protected data enclaves being accessible only by a corresponding one of the trusted execution environments in which the protected data enclave exists;
in response to receiving a first request for a record in the data at a first one of the trusted execution environments, determine which one of the protected data enclaves contains the record;
send second requests between trusted execution environments to retrieve the record from the determined one of the protected data enclaves;
send dummy requests to the ones of the trusted execution environments that correspond to ones of the protected data enclaves that do not contain the record; and
send the record to a requester.
23. A storage medium as defined in claim 22, wherein the data is a copy of second data stored in a database, and the second data is split between the protected data enclaves to store the data in the protected data enclaves.
24. A storage medium as defined in claim 23, wherein the instructions are further to cause the first processor to:
determine a size of the second data; and
determine a number of the protected data enclaves to store the data based on comparing the size of the second data to a threshold amount of data that can be protected by one of the trusted execution environments.
25. A storage medium as defined in claim 23, wherein the database is stored on a computing device having a second processor, and the instructions are to cause the first processor to generate the protected data enclaves by generating the protected data enclaves to prevent access by the second processor to portions of memory in which the protected data enclaves are stored.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680011736.6A CN107257974A (en) | 2015-03-23 | 2016-02-03 | System, method and apparatus for providing privacy information retrieval |
EP16769202.9A EP3274904A4 (en) | 2015-03-23 | 2016-02-03 | Systems, methods, and apparatus to provide private information retrieval |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/665,064 US9904793B2 (en) | 2015-03-23 | 2015-03-23 | Systems, methods, and apparatus to provide private information retrieval |
US14/665,064 | 2015-03-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016153602A1 true WO2016153602A1 (en) | 2016-09-29 |
Family
ID=56976472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2016/016361 WO2016153602A1 (en) | 2015-03-23 | 2016-02-03 | Systems, methods, and apparatus to provide private information retrieval |
Country Status (4)
Country | Link |
---|---|
US (2) | US9904793B2 (en) |
EP (1) | EP3274904A4 (en) |
CN (1) | CN107257974A (en) |
WO (1) | WO2016153602A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2768196C2 (en) * | 2017-08-04 | 2022-03-23 | БИТДЕФЕНДЕР АйПиАр МЕНЕДЖМЕНТ ЛТД | Protected storage device |
RU2768196C9 (en) * | 2017-08-04 | 2022-05-13 | БИТДЕФЕНДЕР АйПиАр МЕНЕДЖМЕНТ ЛТД | Protected storage device |
Families Citing this family (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9904793B2 (en) | 2015-03-23 | 2018-02-27 | Intel Corporation | Systems, methods, and apparatus to provide private information retrieval |
US9965649B2 (en) * | 2015-05-19 | 2018-05-08 | Rujing Tang | System and method for protecting internet user data privacy |
GB201610883D0 (en) * | 2016-06-22 | 2016-08-03 | Microsoft Technology Licensing Llc | Privacy-preserving machine learning |
US11405177B2 (en) * | 2017-01-24 | 2022-08-02 | Microsoft Technology Licensing, Llc | Nested enclave identity |
GB201801676D0 (en) * | 2018-02-01 | 2018-03-21 | Microsoft Technology Licensing Llc | Database system |
GB201801679D0 (en) | 2018-02-01 | 2018-03-21 | Microsoft Technology Licensing Llc | Database transaction log writing and integrity checking |
CN110489971A (en) * | 2018-05-15 | 2019-11-22 | 微软技术许可有限责任公司 | The data set management of safety |
US11341281B2 (en) * | 2018-09-14 | 2022-05-24 | International Business Machines Corporation | Providing differential privacy in an untrusted environment |
GB201816837D0 (en) * | 2018-10-16 | 2018-11-28 | Microsoft Technology Licensing Llc | Database management |
US11927488B2 (en) * | 2019-01-03 | 2024-03-12 | Chia-Ling Chen | Thermal detection system capable of providing early warning and related products |
US11416633B2 (en) * | 2019-02-15 | 2022-08-16 | International Business Machines Corporation | Secure, multi-level access to obfuscated data for analytics |
CN110245515B (en) * | 2019-05-08 | 2021-06-01 | 北京大学 | Protection method and system for HDFS (Hadoop distributed File System) access mode |
GB201912629D0 (en) * | 2019-09-03 | 2019-10-16 | Rolls Royce Plc | Security system for using shared computational facilities |
US11249651B2 (en) * | 2019-10-29 | 2022-02-15 | Samsung Electronics Co., Ltd. | System and method for hierarchical sort acceleration near storage |
US11303617B2 (en) * | 2020-03-11 | 2022-04-12 | Huawei Technologies Co., Ltd. | Methods and apparatuses for oblivious transfer using trusted environment |
US20210314139A1 (en) * | 2020-04-01 | 2021-10-07 | International Business Machines Corporation | Noisy transaction for protection of data |
CN111597579B (en) * | 2020-04-26 | 2023-06-20 | 北京百度网讯科技有限公司 | Sanitary safety detection method, device, electronic equipment and storage medium |
US12038979B2 (en) * | 2020-11-25 | 2024-07-16 | International Business Machines Corporation | Metadata indexing for information management using both data records and associated metadata records |
US11308081B1 (en) | 2020-12-18 | 2022-04-19 | Seagate Technology Llc | Private information retrieval using one query to perform multiple retrievals |
US11836514B2 (en) * | 2021-01-19 | 2023-12-05 | Dell Products L.P. | System and method of utilizing memory medium fault resiliency with secure memory medium portions |
CN115130118A (en) * | 2021-03-29 | 2022-09-30 | 华为技术有限公司 | Method and device for accessing database |
US11914746B2 (en) * | 2021-04-23 | 2024-02-27 | Intuit Inc. | Methods and systems for validating sensitive data in a distributed computing system without exposing the sensitive data |
CN112988764B (en) * | 2021-05-14 | 2022-05-10 | 北京百度网讯科技有限公司 | Data storage method, device, equipment and storage medium |
CN114039990B (en) * | 2021-11-01 | 2022-07-29 | 上海交通大学 | Inadvertent access to storage systems |
CN117171162B (en) * | 2023-08-03 | 2024-08-06 | 湖南天河国云科技有限公司 | Hidden query method, device and storage medium based on collision-free hash mapping |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110276597A1 (en) | 2010-05-04 | 2011-11-10 | Mark Cameron Little | Decoy application servers |
US20130145455A1 (en) * | 2011-12-02 | 2013-06-06 | Nxp B.V. | Method for accessing a secure storage, secure storage and system comprising the secure storage |
US20130268509A1 (en) * | 2012-04-04 | 2013-10-10 | Cindy O'neill | System and method for storing and retrieving data |
US20130305122A1 (en) * | 2006-07-24 | 2013-11-14 | Marvell World Trade Ltd. | Apparatus and method for storing and assigning error checking and correcting processing of data to storage arrays |
US20130312117A1 (en) * | 2012-05-16 | 2013-11-21 | Spydrsafe Mobile Security, Inc. | Systems and Methods for Providing and Managing Distributed Enclaves |
US20140195736A1 (en) * | 2013-01-07 | 2014-07-10 | Mstar Semiconductor, Inc. | Data accessing method and electronic apparatus utilizing the data accessing method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5553145A (en) * | 1995-03-21 | 1996-09-03 | Micali; Silvia | Simultaneous electronic transactions with visible trusted parties |
US5884270A (en) * | 1996-09-06 | 1999-03-16 | Walker Asset Management Limited Partnership | Method and system for facilitating an employment search incorporating user-controlled anonymous communications |
US7797434B2 (en) * | 2002-12-31 | 2010-09-14 | International Business Machines Corporation | Method and system for user-determind attribute storage in a federated environment |
US7734631B2 (en) * | 2005-04-25 | 2010-06-08 | Microsoft Corporation | Associating information with an electronic document |
US8316228B2 (en) * | 2008-12-17 | 2012-11-20 | L-3 Communications Corporation | Trusted bypass for secure communication |
CN103609059B (en) * | 2010-09-20 | 2016-08-17 | 安全第一公司 | The system and method shared for secure data |
US8745266B2 (en) * | 2011-06-30 | 2014-06-03 | Citrix Systems, Inc. | Transparent layer 2 redirection of request to single sign in service based on applying policy to content of request |
WO2015060858A1 (en) * | 2013-10-24 | 2015-04-30 | Intel Corporation | Methods and apparatus for protecting software from unauthorized copying |
US9904793B2 (en) | 2015-03-23 | 2018-02-27 | Intel Corporation | Systems, methods, and apparatus to provide private information retrieval |
-
2015
- 2015-03-23 US US14/665,064 patent/US9904793B2/en active Active
-
2016
- 2016-02-03 CN CN201680011736.6A patent/CN107257974A/en active Pending
- 2016-02-03 WO PCT/US2016/016361 patent/WO2016153602A1/en active Application Filing
- 2016-02-03 EP EP16769202.9A patent/EP3274904A4/en not_active Withdrawn
-
2018
- 2018-02-15 US US15/897,990 patent/US10402579B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130305122A1 (en) * | 2006-07-24 | 2013-11-14 | Marvell World Trade Ltd. | Apparatus and method for storing and assigning error checking and correcting processing of data to storage arrays |
US20110276597A1 (en) | 2010-05-04 | 2011-11-10 | Mark Cameron Little | Decoy application servers |
US20130145455A1 (en) * | 2011-12-02 | 2013-06-06 | Nxp B.V. | Method for accessing a secure storage, secure storage and system comprising the secure storage |
US20130268509A1 (en) * | 2012-04-04 | 2013-10-10 | Cindy O'neill | System and method for storing and retrieving data |
US20130312117A1 (en) * | 2012-05-16 | 2013-11-21 | Spydrsafe Mobile Security, Inc. | Systems and Methods for Providing and Managing Distributed Enclaves |
US20140195736A1 (en) * | 2013-01-07 | 2014-07-10 | Mstar Semiconductor, Inc. | Data accessing method and electronic apparatus utilizing the data accessing method |
Non-Patent Citations (3)
Title |
---|
M. TAMER OZSU ET AL.: "Principles of Distributed Database Systems", SPRINGER, article "Principles of Distributed Database Systems - Chapter 16 - Peer-to-Peer Data Management" |
See also references of EP3274904A4 |
SHASHANK J ET AL.: "COMPUTER VISION AND PATTERN RECOGNITION, 2008. CVPR 2008. IEEE CONFERENCE ON", IEEE, article "Private Content Based Image Retrieval" |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2768196C2 (en) * | 2017-08-04 | 2022-03-23 | БИТДЕФЕНДЕР АйПиАр МЕНЕДЖМЕНТ ЛТД | Protected storage device |
RU2768196C9 (en) * | 2017-08-04 | 2022-05-13 | БИТДЕФЕНДЕР АйПиАр МЕНЕДЖМЕНТ ЛТД | Protected storage device |
Also Published As
Publication number | Publication date |
---|---|
EP3274904A4 (en) | 2018-08-01 |
EP3274904A1 (en) | 2018-01-31 |
CN107257974A (en) | 2017-10-17 |
US20160283731A1 (en) | 2016-09-29 |
US9904793B2 (en) | 2018-02-27 |
US20180173888A1 (en) | 2018-06-21 |
US10402579B2 (en) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10402579B2 (en) | Systems, methods, and apparatus to provide private information retrieval | |
AU2018367363B2 (en) | Processing data queries in a logically sharded data store | |
US10346627B2 (en) | Privacy preserving data querying | |
US20190149320A1 (en) | Cryptographic key generation for logically sharded data stores | |
US20130290733A1 (en) | Systems and methods for caching security information | |
US20170163413A1 (en) | System and Method for Content Encryption in a Key/Value Store | |
US20130290734A1 (en) | Systems and methods for caching security information | |
US12135811B2 (en) | Encrypted information retrieval | |
US12074966B2 (en) | Encrypted information retrieval | |
WO2016018298A1 (en) | Key search token for encrypted data | |
CA3065767C (en) | Cryptographic key generation for logically sharded data stores | |
WO2020253380A1 (en) | Data encryption method and apparatus, and terminal device | |
CN115174126B (en) | Outsourcing data ciphertext searching method and system based on block chain and SGX | |
EP4193290B1 (en) | Multi-key information retrieval |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16769202 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2016769202 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |