# US 2025/0094563 A1 · Secure Exclaves

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

- Number: US 2025/0094563 A1
- Document ID: US20250094563A1
- Status: Published application
- Kind: A1
- Application number: 18/790,529
- Filed: 2024-07-31
- Published: 2025-03-20
- Earliest claimed: 2023-09-20
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Peter A. Lisherness; Assaf Menachem; Assaf Metuki; Benjamin Biron; D J Capelis; Husam Khashiboun; Jacques Fortier; Kenneth W. Waters
- Web page: https://patentgrep.com/patent/US20250094563A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed relating to securing hardware accelerators used by a computing device. In some embodiments, a computing device includes one or more processors configured to co-execute trusted processes and untrusted processes in an isolated manner that includes implementing a secure environment in which a set of security criteria is enforced for data of the trusted processes. The computing device further includes multiple heterogenous hardware accelerators configured to implement exclaves of the secure environment that extend enforcement of one or more of the set of security criteria within the hardware accelerators for data distributed to the hardware accelerators for performance of tasks associated with the trusted processes.

## Claims

### Claim 1

A computing device, comprising:
one or more processors configured to:
co-execute trusted processes and untrusted processes in an isolated manner that includes implementing a secure environment in which a set of security criteria is enforced for data of the trusted processes; and
multiple heterogenous hardware accelerators configured to:
implement exclaves of the secure environment that extend enforcement of one or more of the set of security criteria within the hardware accelerators for data distributed to the hardware accelerators for performance of tasks associated with the trusted processes.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein, to extend the enforcement of the one or more security criteria, one or more of the hardware accelerators are further configured to:
restrict tasks associated with the untrusted processes from accessing memory regions assigned to the trusted processes.

### Claim 3 (depends on 2)

The computing device of claim 2, wherein, to restrict the tasks, the one or more hardware accelerators are further configured to:
store virtual-to-physical address translations for the memory regions assigned to the trusted processes and for memory regions assigned to the untrusted processes; and
prevent the tasks associated with the untrusted processes from accessing the virtual-to-physical address translations for the memory regions assigned to the trusted processes.

### Claim 4 (depends on 2)

The computing device of claim 2, wherein the one or more hardware accelerators includes a graphics processing unit (GPU) configured to:
maintain a table identifying the memory regions assigned to the trusted processes and memory regions assigned to the untrusted processes; and
perform memory accesses in accordance with the table.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein, to extend the enforcement of the one or more security criteria, one or more of the hardware accelerators are further configured to:
physically isolate the distributed data associated with the trusted processes from distributed data associated with the untrusted processes.

### Claim 6 (depends on 5)

The computing device of claim 5, wherein the one or more hardware accelerators include pipelines configured to:
perform tasks associated with the untrusted processes and tasks associated with the trusted processes, wherein the pipelines include one or more additional pipeline stages that process the distributed data associated with the trusted processes and do not process the distributed data associated with the untrusted processes.

### Claim 7 (depends on 6)

The computing device of claim 6, wherein the one or more hardware accelerators include a display unit having a display pipeline configured to:
render frames for a display of the computing device, wherein the display pipeline includes a blend pipeline stage configured to:
blend pixel data received from a trusted process into a frame being rendered by the display pipeline and including pixel data from an untrusted process.

### Claim 8 (depends on 6)

The computing device of claim 6, wherein the one or more hardware accelerators include a display unit having a display pipeline configured to:
render frames for a display of the computing device, wherein the display pipeline includes an extraction pipeline stage configured to:
extract pixel data from a frame being rendered by the display pipeline; and
provide the extracted pixel data to a trusted process.

### Claim 9 (depends on 5)

The computing device of claim 5, wherein the one or more hardware accelerators include one or more additional data buffers configured to:
store the distributed data associated with the trusted processes, wherein the one or more additional buffers do not store the distributed data associated with the untrusted processes.

### Claim 10 (depends on 9)

The computing device of claim 9, wherein the one or more hardware accelerators include a neural engine configured to:
perform set of neural network operations, wherein the neural engine includes the one or more data buffers to store distributed data for tasks associated with the trusted processes.

### Claim 11 (depends on 1)

The computing device of claim 1, wherein, to extend the enforcement of the one or more security criteria, one or more of the hardware accelerators are further configured to:
restrict sensor data provided to trusted processes from being provided to untrusted processes.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein the one or more hardware accelerators include an image signal processor configured to:
process sensor data received from a camera sensor, wherein the image signal processor includes a cutoff switch configured to enable or disable providing the sensor data to an untrusted process in response to the one or more security criteria being satisfied.

### Claim 13 (depends on 12)

The computing device of claim 12, wherein the one or more security criteria include an indication being present in a frame being displayed to a user to indicate that the camera sensor is currently in use.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein the one or more hardware accelerators include an audio unit configured to:
process sensor data received from a microphone sensor, wherein the audio unit includes a cutoff switch configured to enable or disable providing the sensor data to an untrusted process in response to the one or more security criteria being satisfied.

### Claim 15 (depends on 1)

The computing device of claim 1, further comprising:
a system on a chip (SoC) that includes the one or more processors and the one or more hardware accelerators.

### Claim 16

A computing device, comprising:
one or more processors;
a plurality of heterogenous hardware accelerators; and
memory have program instructions stored therein that are executable by the one or more processors to:
isolate co-executing trusted processes and untrusted processes; and
distribute data to ones of the plurality of heterogenous hardware accelerators to perform tasks requested by the processes; and
wherein the heterogenous hardware accelerators are configured to:
receive indications of a manner in which the trusted processes and untrusted processes are isolated; and
based on the received indications, extend isolation of the trusted and untrusted processes for co-executing tasks operating on the distributed data.

### Claim 17 (depends on 16)

The computing device of claim 16, wherein, to extend isolation of the trusted and untrusted processes, one or more of the hardware accelerators are further configured to:
store virtual-to-physical address translations for memory regions assigned to the trusted processes and for memory regions assigned to the untrusted processes; and
prevent the tasks associated with the untrusted processes from accessing the virtual-to-physical address translations for the memory regions assigned to the trusted processes to restrict tasks associated with the untrusted processes from accessing memory regions assigned to the trusted processes.

### Claim 18 (depends on 16)

The computing device of claim 16, wherein, to extend isolation of the trusted and untrusted processes, one or more of the hardware accelerators are further configured to:
physically isolate the distributed data associated with the trusted processes from distributed data associated with the untrusted processes.

### Claim 19

A computing device, comprising:
one or more processors configured to:
co-execute trusted processes and untrusted processes such that the trusted processes are isolated from the untrusted processes; and
multiple heterogenous hardware accelerators configured to:
perform tasks requested by the trusted processes; and
negotiate conditions in which tasks requested by the untrusted processes are permitted to be performed.

### Claim 20 (depends on 19)

The computing device of claim 19, wherein one of the negotiated conditions includes a notification to a user indicative of a task requested by one of the untrusted processes.
