Secure virtualized cryptographic subsystems for autonomous systems and applications
Abstract
In various examples, the disclosed techniques include receiving, from an application executing in a virtual machine (VM), a request to perform a cryptographic operation, wherein the request specifies an ephemeral key identifier and source data. The techniques also determine, using key metadata received from a trusted execution environment, a key slot identifier associated with the ephemeral key identifier, wherein the key slot identifier identifies a key slot in which a cryptographic key is stored. The techniques further cause the cryptographic operation to be performed on the source data in the trusted execution environment using the cryptographic key, where the cryptographic key used to perform the cryptographic operation is accessed from the key slot identified by the key slot identifier. The techniques further provide, to the application, a cryptographic operation result received form the trusted execution environment.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, from an application executing in a virtual machine (VM), a request to perform a cryptographic operation, wherein the request specifies an ephemeral key identifier and source data; determining, using key metadata received from a trusted execution environment, a key slot identifier associated with the ephemeral key identifier, wherein the key slot identifier identifies a key slot in which a cryptographic key is stored; causing the cryptographic operation to be performed on the source data in the trusted execution environment using the cryptographic key, wherein the cryptographic key used to perform the cryptographic operation is accessed from the key slot identified by the key slot identifier; and providing, to the application, a cryptographic operation result received from the trusted execution environment.
- Claim 2Depends on #1
The method of claim 1, wherein the key metadata is stored in a key metadata table, and at least a portion of the key metadata table is received from a trusted key management application executing in the trusted execution environment.
- Claim 3Depends on #2
The method of claim 2, further comprising: receiving, from a trusted operating system executing in the trusted execution environment, the ephemeral key identifier and the key slot identifier associated with the ephemeral key identifier; and storing, in the key metadata table, a record comprising the ephemeral key identifier and the key slot identifier.
- Claim 4Depends on #3
The method of claim 3, wherein determining, using the key metadata received from a trusted execution environment, the key slot identifier associated with the ephemeral key identifier comprises: identifying, in the key metadata table, the record comprising the ephemeral key identifier, wherein the record specifies the key slot identifier.
- Claim 5Depends on #1
The method of claim 1, further comprising: identifying the virtual machine based on a channel identifier associated with an inter-VM communication channel from which the request to perform the cryptographic operation is received.
- Claim 6Depends on #5
The method of claim 5, wherein the virtual machine is identified using a channel mapping table that associates one or more channel identifiers with one or more corresponding VM identifiers, and the channel mapping table associates the channel identifier with a VM identifier that identifies the virtual machine.
- Claim 7Depends on #1
The method of claim 1, further comprising verifying, using the key metadata, that the virtual machine has permission to use the cryptographic key specified by the ephemeral key identifier.
- Claim 8Depends on #7
The method of claim 7, wherein the verifying that the virtual machine has permission to use the cryptographic key specified by the ephemeral key identifier comprises: searching a key metadata table for a matching key metadata record having a stored ephemeral key identifier that corresponds to the ephemeral key identifier specified in the request to perform the cryptographic operation and further having a stored VM identifier that matches a VM identifier of the virtual machine from which the request to perform the cryptographic operation was received, wherein the virtual machine has permission to use the cryptographic key specified by the ephemeral key identifier if the searching determines that the matching key metadata record is present in the key metadata table.
- Claim 9Depends on #1
The method of claim 1, further comprising verifying, using the key metadata, that the virtual machine has permission to perform the cryptographic operation.
- Claim 10Depends on #9
The method of claim 9, wherein the verifying that the virtual machine has permission to perform the cryptographic operation comprises: searching a key metadata table for a matching key metadata record having a stored ephemeral key identifier that corresponds to the ephemeral key identifier specified in the request to perform the cryptographic operation and further having a stored VM identifier that matches a VM identifier of the virtual machine from which the request to perform the cryptographic operation was received, wherein the virtual machine has permission to perform the cryptographic operation specified by the ephemeral key identifier if the searching determines that the matching key metadata record is present in the key metadata table and the cryptographic operation is included in a set of one or more allowed operations specified by the matching key metadata record.
- Claim 11Depends on #1
The method of claim 1, wherein the request to perform a cryptographic operation is received when a processor is operating in a non-secure state.
- Claim 12Depends on #1
The method of claim 1, wherein the key slot is a storage register in a security engine and is accessible when a processor is operating in a secure state.
- Claim 13Depends on #12
The method of claim 12, wherein the cryptographic operation is performed by the security engine in the trusted execution environment, and the cryptographic operation result is received from the security engine.
- Claim 14Independent Claim
A processor comprising: one or more processing units to perform operations comprising: receiving, from an application executing in a virtual machine (VM), a request to perform a cryptographic operation, wherein the request specifies an ephemeral key identifier and source data; determining, using key metadata received from a trusted execution environment, a key slot identifier associated with the ephemeral key identifier, wherein the key slot identifier identifies a key slot in which a cryptographic key is stored; causing the cryptographic operation to be performed on the source data in the trusted execution environment using the cryptographic key, wherein the cryptographic key used to perform the cryptographic operation is accessed from the key slot identified by the key slot identifier; and providing, to the application, a cryptographic operation result received from the trusted execution environment.
- Claim 15Depends on #14
The processor of claim 14, wherein the key metadata is stored in a key metadata table, and at least a portion of the key metadata table is received from a trusted key management application executing in the trusted execution environment.
- Claim 16Depends on #15
The processor of claim 15, wherein the operations further comprise: receiving, from a trusted operating system executing in the trusted execution environment, the ephemeral key identifier and the key slot identifier associated with the ephemeral key identifier; and storing, in the key metadata table, a record comprising the ephemeral key identifier and the key slot identifier.
- Claim 17Depends on #16
The processor of claim 16, wherein determining, using the key metadata received from a trusted execution environment, the key slot identifier associated with the ephemeral key identifier comprises: identifying, in the key metadata table, the record comprising the ephemeral key identifier, wherein the record specifies the key slot identifier.
- Claim 18Depends on #14
The processor of claim 14, wherein the processor is comprised in at least one of: a control system for an autonomous or semi-autonomous machine; a perception system for an autonomous or semi-autonomous machine; a system for performing simulation operations; a system for performing digital twin operations; a system for performing light transport simulation; a system for performing collaborative content creation for 3D assets; a system for performing deep learning operations; a system implemented using an edge device; a system for generating or presenting at least one of virtual reality content, augmented reality content, or mixed reality content; a system implemented using a robot; a System for performing conversational AI operations; a system implementing one or more large language models (LLMs); a system for generating synthetic data; a system incorporating one or more virtual machines (VMs); a system implemented at least partially in a data center; or a system implemented at least partially using cloud computing resources.
- Claim 19Independent Claim
A system, comprising: one or more processors to perform operations comprising: receiving, from an application executing in a virtual machine (VM), a request to perform a cryptographic operation, wherein the request specifies an ephemeral key identifier and source data; determining, using key metadata received from a trusted execution environment, a key slot identifier associated with the ephemeral key identifier, wherein the key slot identifier identifies a key slot in which a cryptographic key is stored; causing the cryptographic operation to be performed on the source data in the trusted execution environment using the cryptographic key, wherein the cryptographic key used to perform the cryptographic operation is accessed from the key slot identified by the key slot identifier; and providing, to the application, a cryptographic operation result received from the trusted execution environment.
- Claim 20Depends on #19
The system of claim 19, wherein the system is comprised in at least one of: a control system for an autonomous or semi-autonomous machine; a perception system for an autonomous or semi-autonomous machine; a system for performing simulation operations; a system for performing digital twin operations; a system for performing light transport simulation; a system for performing collaborative content creation for 3D assets; a system for performing deep learning operations; a system implemented using an edge device; a system for generating or presenting at least one of virtual reality content, augmented reality content, or mixed reality content; a system implemented using a robot; a system for performing conversational AI operations; a system implementing one or more large language models (LLMs); a system for generating synthetic data; a system incorporating one or more virtual machines (VMs); a system implemented at least partially in a data center; or a system implemented at least partially using cloud computing resources.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application is a national stage application of the international application titled, “ SECURE VIRTUALIZED CRYPTOGRAPHIC SUBSYSTEMS FOR AUTONOMOUS SYSTEMS AND APPLICATIONS, ” filed on Oct. 11, 2023, and having application number PCT/CN2023/124009. The subject matter of this related application is hereby incorporated herein by reference. BACKGROUND Secure computing systems provide data confidentiality, which protects data from being accessed by unauthorized entities, and data integrity, which protects data from being modified by unauthorized entities. Data confidentiality and integrity are implemented using cryptography. Data that is stored in memory, for example, can be in encrypted form. A processor decrypts the data stored in memory prior to performing operations using the data. To protect the data during processor operations, the operations can be performed in a Trusted Execution Environment (TEE). Secure computation systems use a substantial amount of processing resources to perform operations such as encryption and decryption. Some applications, such as automotive systems, have requirements for secure computations that can be performed under strict time constraints with limited computational resources. For example, in an automotive system, a security sub-system is involved in protecting core vehicle operations by verifying the integrity of real-time sensor data and vehicle actuation commands. Providing a desired level of security with sufficiently high performance is difficult in systems that have limited computational resources. Various approaches have been implemented to provide security in systems having limited computational resources. One approach is to perform cryptographic operations using special-purpose hardware that is customized to perform well in a particular application. However, special-purpose hardware is time-consuming to implement and is not generally adaptable to different applications. For ex
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (3)
| Patent | Title | Year | Citations |
|---|