# US 2026/0064828 A1 · Unifying hardware trusted execution environment technologies using virtual secure enclave device

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

- Number: US 2026/0064828 A1
- Document ID: US20260064828A1
- Status: Published application
- Kind: A1
- Application number: 18/630,922
- Filed: 2024-04-09
- Published: 2026-03-05
- Earliest claimed: 2019-10-31
- Assignees: VMware, Inc.
- Applicants: VMware LLC
- Inventors: Ye LI; David OTT; Cyprien LAPLACE; Andrei WARKENTIN; Regis DUCHESNE
- Web page: https://patentgrep.com/patent/US20260064828A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System and method for creating and managing trusted execution environments (TEEs) using different underlying hardware TEE mechanisms use a virtual secure enclave device which runs in a virtualized environment in a computer system. The device enables an enclave command transmitted to the virtual secure enclave device to be retrieved and parsed to extract an enclave operation to be executed. A TEE backend module is used to interact with a particular hardware TEE mechanism among those available in the computer system. The module ensures the enclave operation for the software process is executed by the particular hardware TEE mechanism, or the TEE scheme based on a particular hardware TEE mechanism.

## Claims

### Claim 1

A computer-implemented method for creating and managing trusted execution environments (TEEs) based on different hardware TEE mechanisms using a virtual secure enclave device running in a virtualized environment in a computer system, the method comprising:
transmitting an enclave command to the virtual secure enclave device from a software process running in the computer system;
in response to the enclave command received at the virtual secure enclave device, retrieving the enclave command from the virtual secure device;
parsing the retrieved enclave command to extract a description of an enclave operation to be executed from the retrieved enclave command; and
requesting a TEE backend module to interact with a particular hardware TEE mechanism among the different hardware TEE mechanisms that is included in the computer system so that the enclave operation for the software process is executed by the particular hardware TEE mechanism.

### Claim 2 (depends on 1)

The method of claim 1, wherein transmitting an enclave command to the virtual secure enclave device includes communicating with the virtual secure enclave device through a device driver for the virtual secure enclave device, wherein communications between the device driver and the virtual secure enclave device are executed using a universal application programming interface regardless of which of the different hardware TEE mechanisms is included in the computer system.

### Claim 3 (depends on 2)

The method of claim 2, wherein communications between the TEE backend module and the particular hardware TEE mechanism in the computer system are executed using a particular application programming interface specific to the particular hardware TEE mechanism.

### Claim 4 (depends on 1)

The method of claim 1, wherein transmitting the enclave command to the virtual secure enclave device includes inserting the enclave command into a command queue in the virtual secure enclave device.

### Claim 5 (depends on 4)

The method of claim 4, wherein retrieving the enclave command from the virtual secure enclave device includes trapping an operation of inserting the enclave command into the command queue in the virtual secure enclave device.

### Claim 6 (depends on 5)

The method of claim 5, wherein trapping an operation of inserting the enclave command into the command queue is performed by a virtual machine monitor (VMM) running in a VMkernel in the virtualized environment.

### Claim 7 (depends on 5)

The method of claim 5, wherein retrieving the enclave command from the virtual secure enclave device further includes emulating the command queue to retrieve the enclave command in the command queue of the virtual secure enclave device.

### Claim 8 (depends on 7)

The method of claim 7, wherein emulating the command queue is performed by a virtual machine executable (VMX) module running in the virtualized environment.

### Claim 9

A non-transitory computer-readable storage medium containing program instructions for creating and managing trusted execution environments (TEEs) based on different hardware TEE mechanisms using a virtual secure enclave device running in a virtualized environment in a computer system, wherein execution of the program instructions by one or more processors of the computer system causes the one or more processors to perform steps comprising:
transmitting an enclave command to the virtual secure enclave device from a software process running in the computer system;
in response to the enclave command received at the virtual secure enclave device, retrieving the enclave command from the virtual secure device;
parsing the retrieved enclave command to extract a description of an enclave operation to be executed from the retrieved enclave command; and
requesting a TEE backend module to interact with a particular hardware TEE mechanism among the different hardware TEE mechanisms that is included in the computer system so that the enclave operation for the software process is executed by the particular hardware TEE mechanism.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein transmitting an enclave command to the virtual secure enclave device includes communicating with the virtual secure enclave device through a device driver for the virtual secure enclave device, wherein communications between the device driver and the virtual secure enclave device are executed using a universal application programming interface regardless of which of the different hardware TEE mechanisms is included in the computer system.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, wherein communications between the TEE backend module and the particular hardware TEE mechanism in the computer system are executed using a particular application programming interface specific to the particular hardware TEE mechanism.

### Claim 12 (depends on 9)

The computer-readable storage medium of claim 9, wherein transmitting the enclave command to the virtual secure enclave device includes inserting the enclave command into a command queue in the virtual secure enclave device.

### Claim 13 (depends on 12)

The computer-readable storage medium of claim 12, wherein retrieving the enclave command from the virtual secure enclave device includes trapping an operation of inserting the enclave command into the command queue in the virtual secure enclave device.

### Claim 14 (depends on 13)

The computer-readable storage medium of claim 13, wherein trapping an operation of inserting the enclave command into the command queue is performed by a virtual machine monitor (VMM) running in a VMkernel in the virtualized environment.

### Claim 15 (depends on 13)

The computer-readable storage medium of claim 13, wherein retrieving the enclave command from the virtual secure enclave device further includes emulating the command queue to retrieve the enclave command in the command queue of the virtual secure enclave device.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein emulating the command queue is performed by a virtual machine executable (VMX) module running in the virtualized environment.

### Claim 17

A computer system comprising:
memory; and
at least one processor configured to:
transmit an enclave command to a virtual secure enclave device running in a virtualized environment in the computer system from a software process running in the computer system;
in response to the enclave command received at the virtual secure enclave device, retrieve the enclave command from the virtual secure device;
parse the retrieved enclave command to extract a description of an enclave operation to be executed from the retrieved enclave command; and
request a TEE backend module to interact with a particular hardware TEE mechanism among different hardware TEE mechanisms that is included in the computer system so that the enclave operation for the software process is executed by the particular hardware TEE mechanism.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the software process communicates with the virtual secure enclave device through a device driver for the virtual secure enclave device using a universal application programming interface regardless of which of the different hardware TEE mechanisms is included in the computer system.

### Claim 19 (depends on 18)

The computer system of claim 18, the TEE backend module communicates with the particular hardware TEE mechanism in the computer system using a particular application programming interface specific to the particular hardware TEE mechanism.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein the enclave command is retrieved from the virtual secure enclave device by a virtual machine executable (VMX) module running in the virtualized environment by emulating a command queue in the virtual secure enclave device that includes the enclave command.
