US11552790B2 - Method for key sharing between accelerators - Google Patents
Method for key sharing between accelerators Download PDFInfo
- Publication number
- US11552790B2 US11552790B2 US16/693,019 US201916693019A US11552790B2 US 11552790 B2 US11552790 B2 US 11552790B2 US 201916693019 A US201916693019 A US 201916693019A US 11552790 B2 US11552790 B2 US 11552790B2
- Authority
- US
- United States
- Prior art keywords
- accelerator
- accelerators
- session key
- host device
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0894—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
- H04L9/0825—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0838—Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
-
- 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/06—Network architectures or network communication protocols for network security for supporting key management in a packet data network
- H04L63/061—Network architectures or network communication protocols for network security for supporting key management in a packet data network for key exchange, e.g. in peer-to-peer networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/002—Countermeasures against attacks on cryptographic mechanisms
- H04L9/003—Countermeasures against attacks on cryptographic mechanisms for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0894—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
- H04L9/0897—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage involving additional devices, e.g. trusted platform module [TPM], smartcard or USB
Definitions
- Embodiments of the present disclosure relate generally to artificial intelligence model training and inference. More particularly, embodiments of the disclosure relate to sharing keys between data processing accelerators configured to communicate with each other.
- Data processing accelerators that are configured to communicate with a host computing device generally cannot communicate securely with each other. Communication, e.g. peer-to-peer communication, between DPAs is useful so that two or more DPAs can cooperate and coordinate to perform a data processing task on behalf of a host computing device. However, it is important that DPAs communicate securely so that the processing task performed by cooperating DPAs is performed securely such that another computing entity may not alter a result produced by the communicating DPAs, and may not steal code or data from any of the communicating DPAs.
- DPAs Data processing accelerators
- FIG. 1 is a block diagram illustrating a secure processing system, according to one embodiment.
- FIGS. 2 A and 2 B are a block diagrams illustrating a secure computing environment between one or more hosts and one or more data processing accelerators, according to one embodiment.
- FIG. 3 is a block diagrams illustrating a method of a host and data processing accelerator, or two data processing accelerators, generating a session key for securing communications, according to an embodiment.
- FIG. 4 is a block diagram illustrating a hardware configuration of a host computing device and a plurality of data processing accelerators that securely communicate with one another, according to an embodiment.
- FIG. 5 is a block diagram illustrating secure communications adjacency tables between a host device and a plurality of data processing accelerators, according to an embodiment.
- FIG. 6 is block diagrams illustrating a method 600 of a host device instructing a plurality of data processing accelerators to configure themselves for secure communications, according to an embodiment.
- FIG. 7 is a block diagram illustrating a method 700 of a data processing accelerator configuring itself for secure communication with one or more other data processing accelerators, according to an embodiment.
- FIG. 8 is block diagram illustrating a method of a data processing accelerator receiving a processing task from a host and performing one or more sub-tasks of the tasks by one or more additional data processing accelerators, according to an embodiment.
- a DP accelerator can be a graphics processing unit (GPU), an artificial intelligence (AI) accelerator, math coprocessor, digital signal processor (DSP), or other type of processor.
- a DP accelerator can be a proprietary design, such as a Baidu® AI accelerator, or another GPU, and the like. While embodiments are illustrated and described with host device securely coupled to one or more DP accelerators, the concepts described herein can be implemented more generally as a distributed processing system.
- the host device and the DP accelerator can be interconnected via a high-speed bus, such as a peripheral component interconnect express (PCIe), or other high-speed bus.
- PCIe peripheral component interconnect express
- the host device and DP accelerator can exchange keys and initiate a secure channel over the PCIe bus before performing operations of the aspects of the invention described below.
- Embodiments are described herein for generating one or more keys for securing communications between a host and a DP accelerator, and for securing communications between any two DP accelerators in a plurality of DP accelerators.
- communications between any two DP accelerators use one or more keys that are unique with respect to any other two DP accelerators.
- Some of the operations include the DP accelerator using an artificial intelligence (AI) model to perform inferences using data provided by the host device. Before the AI model inferences are delegated to a DP accelerator, secure communication channels are established between the host and DP accelerator and between the DP accelerator and any other DP accelerator that may participate in the AI model
- a computer-implemented method of a first data processing (DP) accelerator securely communicating with one or more second DP accelerators includes receiving, by the first DP accelerator, from a host device, a list of the one or more second DP accelerators. For each of the one or more second DP accelerators, a session key is determined between the first DP accelerator and the second DP accelerator. The session key is stored by the first DP accelerator in association with the second DP accelerator, and an indication is transmitted by the first DP accelerator, to the host device, that the first DP accelerator is configured for secure communication between with each of the one or more second DP accelerators.
- DP data processing
- the method further includes generating, by the first DP accelerator, an adjacency table with an entry for each of the one or more second DP accelerators.
- Each entry includes a reference to a communication port of the first DP accelerator for communicating with one of the one of more second DP accelerators.
- the entry further includes the session key stored in association with the one of the one or more second DP accelerators.
- the session key generated for the first DP accelerator and the one of the one or more second DP accelerators is unique with respect to the first DP accelerator and any other of the one or more second DP accelerators.
- each entry for one of the one or more second DP accelerators further includes a unique identifier of the one of the one or more second DP accelerators.
- the can method further include receiving, by the first DP accelerator, from the host device, a processing task to perform and an indication of one of the one or more second DP accelerators to perform at least a portion of the processing task.
- the method can further include instructing, by the first DP accelerator, the one of the one or more second DP accelerators to perform the at least a portion of the processing task, using a message that is secured with the session key associated with the first DP accelerator and the one of the one or more second DP accelerators.
- the method can further include receiving, by the first DP accelerator, from the one of the one or more second DP accelerators, a message secured using the session key associated with the first DP accelerator and the one of the one or more second DP accelerators, the message comprising a result from the at least a portion of the task, and returning, by the first DP accelerator, a message containing a result of the processing task, the message secured using a session key that is associated with the first DP accelerator and the host device.
- the host device can transmit a kernel to the DP processing device to use in performing one or more operations.
- a kernel is a small piece of code, provided to the DP accelerator, to be executed by the DP accelerator to perform the intended function of the kernel.
- a kernel is provided to the DP accelerator by the host device as a part of performing proof-of-trust operations by the DP accelerator that will be validated by the host device.
- the DP accelerator is not aware of the purpose of the kernel it executes on behalf of the host device.
- the kernel can be a “watermark-enabled kernel.”
- a watermark-enabled kernel is a kernel that, when executed, is capable of extracting a watermark from an artificial intelligence (AI) model.
- AI artificial intelligence
- An AI watermark is associated with a specific AI model and can be embedded or “implanted,” within the AI model using several different methods.
- the watermark may be implanted into one or more weight variables of the one or more nodes of the AI model.
- the watermark is stored in one or more bias variables of the one or more nodes of the AI modes, or by creating one or more additional nodes of the AI model during the training to store the watermark.
- a host device includes a processing system includes one or more processors and a memory coupled to the processor to store instructions.
- the instructions when executed by the processor, cause the processor to perform operations for the host device that configure a plurality of data processing (DP) accelerators for secure communication.
- the operations include, for each DP accelerator in the plurality of DP accelerators: establishing a session key between the host device and the DP accelerator, and storing, by the host device, the session key in an adjacency table for the host, wherein each entry in the adjacency table includes: the session key, a reference to a communication port of the host device for communicating with the DP accelerator, and a unique identifier of the DP accelerator.
- the adjacency table enables the host device to communicate securely with each DP accelerator in the plurality of DP accelerators, using a session key that is unique to the particular DP accelerator that the host device is communicating with.
- the operations further include the host device transmitting, to the DP accelerator, a list of one or more additional DP accelerators, and an instruction that the DP accelerator generate a unique session key for each additional DP accelerator for securing communication between the DP accelerator and the additional DP accelerator in the list of one or more additional DP accelerators.
- the operations further include receiving, from the DP accelerator, an indication that the DP accelerator has finished generating the unique session keys for communicating between the DP accelerator and the one or more additional DP accelerators.
- the host device can begin assigning processing tasks to DP accelerators.
- the operations further include transmitting, by the host device, to the DP accelerator, a processing task for the DP accelerator and at least one of the one or more additional DP accelerators to perform, the transmitting secured using the session key established for the host device and the DP accelerator.
- the host device can receive, from the DP accelerator, a result from the processing task. The result can be secured using the session key established for the host device and the DP accelerator.
- transmitting the processing task can include transmitting instructions from the host device to the DP accelerator that a sub-task of the processing task is to be performed by a specific one of the one or more additional DP accelerators.
- the processing task can be one or more of: an artificial intelligence inference, encrypting or decrypting data, digitally signing data, extracting a watermark from an AI model, implanting a watermark into an AI model, implanting a watermark into an AI model inference result, or combinations of these.
- Any of the above functionality can be programmed as executable instructions onto one or more non-transitory computer-readable media.
- the processing systems When the executable instructions are executed by a processing system having at least one hardware processor, the processing systems causes the functionality to be implemented.
- Any of the above functionality can be implemented by a processing system having at least one hardware processor, coupled to a memory programmed with executable instructions that, when executed, cause the processing system to implement the functionality.
- FIG. 1 is a block diagram illustrating an example of system configuration for securing communication between a host 104 and data processing (DP) accelerators 105 - 107 according to some embodiments.
- system configuration 100 includes, but is not limited to, one or more client devices 101 - 102 communicatively coupled to DP server 104 (e.g. host) over network 103 .
- Client devices 101 - 102 may be any type of client devices such as a personal computer (e.g., desktops, laptops, and tablets), a “thin” client, a personal digital assistant (PDA), a Web enabled appliance, a Smart watch, or a mobile phone (e.g., Smartphone), etc.
- client devices 101 - 102 may be other servers.
- Network 103 may be any type of networks such as a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination thereof, wired or wireless.
- LAN local area network
- WAN wide area network
- the Internet or a combination
- Server (e.g., host) 104 may be any kind of servers or a cluster of servers, such as Web or cloud servers, application servers, backend servers, or a combination thereof.
- Server 104 further includes an interface (not shown) to allow a client such as client devices 101 - 102 to access resources or services (such as resources and services provided by DP accelerators via server 104 ) provided by server 104 .
- server 104 may be a cloud server or a server of a data center that provides a variety of cloud services to clients, such as, for example, cloud storage, cloud computing services, artificial intelligence training services, data mining services, etc.
- Server 104 may be configured as a part of software-as-a-service (SaaS) or platform-as-a-service (PaaS) system over the cloud, which may be a private cloud, public cloud, or a hybrid cloud.
- the interface may include a Web interface, an application programming interface (API), and/or a command line interface (CLI).
- API application programming interface
- CLI command line interface
- a client in this example, a user application of client device 101 (e.g., Web browser, application), may send or transmit an instruction (e.g., artificial intelligence (AI) training, inference instruction, etc.) for execution to server 104 and the instruction is received by server 104 via the interface over network 103 .
- server 104 communicates with DP accelerators 105 - 107 to fulfill the execution of the instruction.
- the instruction is a machine learning type of instruction where DP accelerators, as dedicated machines or processors, can execute the instruction many times faster than execution by server 104 .
- Server 104 thus can control/manage an execution job for the one or more DP accelerators in a distributed fashion.
- a DP accelerator or AI accelerator may include one or more dedicated processors such as a Baidu® artificial intelligence (AI) chipset available from Baidu, Inc.® or alternatively, the DP accelerator may be an AI chipset from another AI chipset provider.
- AI artificial intelligence
- each of the applications accessing any of DP accelerators 105 - 107 hosted by data processing server 104 may verify that the application is provided by a trusted source or vendor.
- Each of the applications may be launched and executed within a trusted execution environment (TEE) specifically configured and executed by a central processing unit (CPU) of host 104 .
- TEE trusted execution environment
- CPU central processing unit
- FIG. 2 A is a block diagram illustrating an example of a multi-layer protection solution for obscured communications between a host system 104 and data process (DP) accelerators 105 - 107 according to some embodiments.
- system 200 provides a protection scheme for obscured communications between host 104 and DP accelerators 105 - 107 with or without hardware modifications to the DP accelerators.
- host machine or server 104 can be depicted as a system with one or more layers to be protected from intrusion such as user application(s) 205 , runtime libraries 206 , driver 209 , operating system 211 , and hardware 213 (e.g., security module (trusted platform module (TPM))/central processing unit (CPU)).
- Memory safe applications 207 can run in a sandboxed memory. Below the applications 205 and run-time libraries 206 , one or more drivers 209 can be installed to interface to hardware 213 and/or to DP accelerators 105 - 107 .
- Hardware 213 can include one or more processor(s) 201 and storage device(s) 204 .
- Storage device(s) 204 can include one or more artificial intelligence (AI) models 202 , and one or more kernels 203 .
- Kernels 203 can include signature kernels, watermark-enabled kernels, encryption and/or decryption kernels, and the like.
- a signature kernel when executed, can digitally sign any input in accordance with the programming of the kernel.
- a watermark-enabled kernel can extract a watermark from a data object (e.g. an AI model or other data object).
- a watermark-enabled kernel can also implant a watermark into an AI model, an inference output, or other data object.
- a watermark kernel e.g.
- a watermark inherited kernel can inherit a watermark from another data object and implant that watermark into a different object, such as an inference output or an AI model.
- a watermark is an identifier associated with, and can be implanted into, an AI model or an inference generated by an AI model.
- a watermark may be implanted in one or more weight variables or bias variables.
- one or more nodes e.g., fake nodes that are not used or unlikely used by the artificial intelligence model
- Host machine 104 is typically a CPU system which can control and manage execution of jobs on the host machine 104 and/or DP accelerators 105 - 107 .
- DP accelerators 105 - 107 In order to secure/obscure a communication channel 215 between DP accelerators 105 - 107 and host machine 104 , different components may be required to protect different layers of the host system that are prone to data intrusions or attacks.
- a trusted execution environment can protect the user application 205 layer and the runtime library 206 layer from data intrusions.
- System 200 includes host system 104 and DP accelerators 105 - 107 according to some embodiments.
- DP accelerators can include Baidu® AI chipsets or another AI chipset such as a graphical processing units (GPUs) that can perform artificial intelligence (AI)-intensive computing tasks.
- host system 104 includes a hardware that has one or more CPU(s) 213 equipped with a security module (such as a trusted platform module (TPM)) within host machine 104 .
- TPM trusted platform module
- a TPM is a specialized chip on an endpoint device that stores cryptographic keys (e.g., RSA cryptographic keys) specific to the host system for hardware authentication.
- Each TPM chip can contain one or more RSA key pairs (e.g., public and private key pairs) called endorsement keys (EK) or endorsement credentials (EC), i.e., root keys.
- EK endorsement keys
- EC endorsement credentials
- the key pairs are maintained inside the TPM chip and cannot be accessed by software. Critical sections of firmware and software can then be hashed by the EK or EC before they are executed to protect the system against unauthorized firmware and software modifications.
- the TPM chip on the host machine can thus be used as a root of trust for secure boot.
- the TPM chip can include a secure memory for storing keys that are rooted, e.g. in hardware, and keys that are derived from the rooted keys.
- secure storage can include a rooted asymmetric key pair (RK): a public key (PK_RK) and a private key (SK_RK) of the asymmetric rooted key (RK) pair.
- the TPM chip also secure driver(s) 209 and operating system (OS) 211 in a working kernel space to communicate with the DP accelerators 105 - 107 .
- driver 209 is provided by a DP accelerator vendor and can serve as a driver for the user application to control a communication channel(s) 215 between host and DP accelerators. Because the TPM chip and secure boot processor protects the OS 211 and drivers 209 in their kernel space, TPM also effectively protects the driver 209 and OS 211 .
- communication channels 215 for DP accelerators 105 - 107 may be exclusively occupied by the OS 211 and driver 209 , thus, communication channels 215 can be secured through the TPM chip.
- communication channels 215 include a peripheral component interconnect or peripheral component interconnect express (PCIE) channel.
- PCIE peripheral component interconnect express
- communication channels 215 are obscured communication channels.
- Communication channels may be connected to one or more hardware communication ports, accessible by drivers 209 , for communicating over communication channels 215 with DP accelerators 105 - 107 .
- Communication channels 215 may be secured using a session key as described herein. Each communication channel 215 may be secured using a different session key than other communication channels 215 .
- Drivers 209 may include an adjacency table that maps DP accelerators 105 - 107 each to a hardware communication port, and a session key associated with each hardware communication port.
- Host machine 104 can include trusted execution environment (TEE) 210 which is enforced to be secure by TPM/CPU 213 .
- TEE is a secure environment. TEE can guarantee code and data which are loaded inside the TEE to be protected with respect to confidentiality and integrity. Examples of a TEE may be Intel® software guard extensions (SGX), or AMD® secure encrypted virtualization (SEV). Intel® SGX and/or AMD® SEV can include a set of central processing unit (CPU) instruction codes that allows user-level code to allocate private regions of memory of a CPU that are protected from processes running at higher privilege levels.
- CPU central processing unit
- TEE 210 can protect user applications 205 and runtime libraries 206 , where user application 205 and runtime libraries 206 may be provided by end users and DP accelerator vendors, respectively.
- runtime libraries 206 can convert application programming interface (API) calls to commands for execution, configuration, and/or control of the DP accelerators.
- runtime libraries 206 provides a predetermined set of (e.g., predefined) kernels for execution by the user applications.
- the kernels may be stored in storage device(s) 204 as kernels 203 .
- Host machine 104 can include memory safe applications 207 which are implemented using memory safe languages such as Rust, and GoLang, etc. These memory safe applications running on memory safe Linux® releases, such as MesaLock Linux®, can further protect system 200 from data confidentiality and integrity attacks.
- the operating systems may be any Linux® distributions, UNIX®, Windows® OS, or Mac® OS.
- the host machine 104 can be set up as follows: A memory safe Linux® distribution is installed onto a system equipped with TPM secure boot. The installation can be performed offline during a manufacturing or preparation stage. The installation can also ensure that applications of a user space of the host system are programmed using memory safe programming languages. Ensuring other applications running on host system 104 to be memory safe applications can further mitigate potential confidentiality and integrity attacks on host system 104 .
- the system can then boot up through a TPM-based secure boot.
- the TPM secure boot ensures only a signed/certified operating system and accelerator driver are launched in a kernel space that provides the accelerator services.
- the operating 211 system can be loaded through a hypervisor (not shown).
- a hypervisor or a virtual machine manager is a computer software, firmware, or hardware that creates and runs virtual machines.
- a kernel space is a declarative region or scope where kernels (i.e., a predetermined set of (e.g., predefined) functions for execution) are identified to provide functionalities and services to user applications.
- TPM secure boot may fail to boot up and instead shuts down the system.
- runtime libraries 206 runs and creates TEE 210 , which places runtime libraries 206 in a trusted memory space associated with CPU 213 .
- user application 205 is launched in TEE 210 .
- user application 205 and runtime libraries 206 are statically linked and launched together.
- runtime library 206 is launched in TEE 210 first and then user application 205 is dynamically loaded in TEE 210 .
- user application 205 is launched in TEE first, and then runtime 206 is dynamically loaded in TEE 210 .
- Statically linked libraries are libraries linked to an application at compile time. Dynamic loading can be performed by a dynamic linker. Dynamic linker loads and links shared libraries for running user applications at runtime.
- user applications 205 and runtime libraries 206 within TEE 210 are visible to each other at runtime, e.g., all process data are visible to each other. However, external access to the TEE is denied.
- the user application 205 can only call a kernel from a set of kernels as predetermined by runtime libraries 206 .
- user application 205 and runtime libraries 206 are hardened with side channel free algorithm to defend against side channel attacks such as cache-based side channel attacks.
- a side channel attack is any attack based on information gained from the implementation of a computer system, rather than weaknesses in the implemented algorithm itself (e.g. cryptanalysis and software bugs). Examples of side channel attacks include cache attacks which are attacks based on an attacker's ability to monitor a cache of a shared physical system in a virtualized environment or a cloud environment. Hardening can include masking of the cache, outputs generated by the algorithms to be placed on the cache.
- the user application terminates its execution and exits from the TEE.
- TEE 210 and/or memory safe applications 207 are not necessary, e.g., user application 205 and/or runtime libraries 206 are hosted in an operating system environment of host 104 .
- the set of kernels include obfuscation kernel algorithms.
- the obfuscation kernel algorithms can be symmetric or asymmetric algorithms.
- a symmetric obfuscation algorithm can obfuscate and de-obfuscate data communications using a same algorithm.
- An asymmetric obfuscation algorithm requires a pair of algorithms, where a first of the pair is used to obfuscate and the second of the pair is used to de-obfuscate, or vice versa.
- an asymmetric obfuscation algorithm includes a single obfuscation algorithm used to obfuscate a data set but the data set is not intended to be de-obfuscated, e.g., there is absent a counterpart de-obfuscation algorithm.
- Obfuscation refers to obscuring of an intended meaning of a communication by making the communication message difficult to understand, usually with confusing and ambiguous language. Obscured data is harder and more complex to reverse engineering.
- An obfuscation algorithm can be applied before data is communicated to obscure (cipher/decipher) the data communication reducing a chance of eavesdrop.
- the obfuscation algorithm can further include an encryption scheme to further encrypt the obfuscated data for an additional layer of protection.
- encryption which may be computationally intensive
- obfuscation algorithms may simplify the computations.
- Some obfuscation techniques can include but are not limited to, letter obfuscation, name obfuscation, data obfuscation, control flow obfuscation, etc.
- Letter obfuscation is a process to replace one or more letters in a data with a specific alternate letter, rendering the data meaningless.
- Examples of letter obfuscation include a letter rotate function, where each letter is shifted along, or rotated, a predetermine number of places along the alphabet. Another example is to reorder or jumble up the letters based on a specific pattern.
- Name obfuscation is a process to replace specific targeted strings with meaningless strings.
- Control flow obfuscation can change the order of control flow in a program with additive code (insertion of dead code, inserting uncontrolled jump, inserting alternative structures) to hide a true control flow of an algorithm/AI model. Systems and methods for sharing keys used for obfuscation are described herein, below.
- system 200 provides multiple layers of protection for DP accelerators (for data transmissions including machine learning models, training data, and inference outputs) from loss of data confidential and integrity.
- System 200 can include a TPM-based secure boot protection layer, a TEE protection layer, and a kernel validation/verification layer.
- system 200 can provide a memory safe user space by ensuring other applications on the host machine are implemented with memory safe programming languages, which can further eliminate attacks by eliminating potential memory corruptions/vulnerabilities.
- system 200 can include applications that use side-channel free algorithms so to defend against side channel attacks, such as cache based side channel attacks.
- Runtime 206 can provide obfuscation kernel algorithms to obfuscate data communication between a host 104 and DP accelerators 105 - 107 .
- the obfuscation can be pair with a cryptography scheme.
- the obfuscation is the sole protection scheme and cryptography-based hardware is rendered unnecessary for the DP accelerators.
- FIG. 2 B is a block diagram illustrating an example of a host channel manager (HCM) 259 communicatively coupled to one or more accelerator channel managers (ACMs) 270 that interface to DP accelerators 105 - 107 , according to some embodiments.
- HCM 259 includes authentication module 251 , termination module 252 , key manager 253 , key(s) store 254 , and cryptography engine 255 .
- Authentication module 251 can authenticate a user application running on host server 104 for permission to access or use a resource of a DP accelerator 105 .
- Termination module 252 can terminate a connection (e.g., channels associated with the connection would be terminated).
- Key manager 253 can manage (e.g., create or destroy) asymmetric key pairs or symmetric keys for encryption/decryption of one or more data packets for different secure data exchange channels.
- each user application (as part of user applications 205 of FIG. 2 A ) can correspond or map to different secure data exchange channels, on a one-to-many relationship, and each data exchange channel can correspond to a DP accelerator 105 .
- Each application can utilize a plurality of session keys, where each session key is for a secure channel corresponding to a DP accelerator (e.g., accelerators 105 - 107 ).
- Key(s) store 254 can store encryption asymmetric key pairs or symmetric keys.
- Cryptography engine 255 can encrypt or decrypt a data packet for the data exchanged through any of the secure channels. Note that some of these modules can be integrated into fewer modules.
- DP accelerator 105 includes ACM 270 and security unit (SU) 275 .
- Security unit 275 can include key manager 271 , key(s) store 272 , true random number generator 273 , and cryptography engine 274 .
- Key manager 271 can manage (e.g., generate, safe keep, and/or destroy) asymmetric key pairs or symmetric keys.
- Key(s) store 272 can store the cryptography asymmetric key pairs or symmetric keys in secure storage within the security unit 275 .
- True random number generator 273 can generate seeds for key generation and cryptographic engine 274 uses.
- Cryptography engine 274 can encrypt or decrypt key information or data packets for data exchanges.
- ACM 270 and SU 275 is an integrated module.
- DP accelerator 105 can further includes memory/storage 280 that can store artificial intelligence model(s) 277 , watermark kernel(s) 278 (including inherited watermark kernels watermark-enabled kernels, watermark-signature kernels, et al.), encryption and decryption kernels 281 , and data 279 .
- HCM 259 can communicate with ACM 270 via communication channel 215 .
- FIG. 3 is a block diagrams illustrating a method 300 of a host and data processing accelerator, or two data processing accelerators, generating a session key for securing communications, according to an embodiment.
- Method 300 can be used between a first data processing (DP) accelerator “Accelerator 1 ” and a second node, “Node 2 .”
- Node 2 can be either a host device or second DP accelerator.
- Accelerator 1 has a rooted key pair PK_RK 1 and SK_RK 1 .
- PK_RK 1 is a public key of a rooted asymmetric key pair of Accelerator 1 (RK 1 ).
- SK_RK 1 is a private (secret) key (SK) of rooted asymmetric key pair of Accelerator 1 (RK 1 ). Rooted key pair RK 1 is stored in a secured storage of Accelerator 1 .
- Node 2 (either a host or another DP accelerator) has a rooted key pair PK_RK 2 and SK_RK 2 . RK 2 can be stored in a secure storage of Node 2 .
- Accelerator 1 generates a derived asymmetric key pair, PK_D 1 and SK_D 1 , from rooted key pair PK_RK 1 and SK_RK 1 . Deriving an asymmetric key pair is known in the art and will not be described herein.
- Accelerator 1 sends to Node 2 , a “Get Public Key” command (GET_PUB_KEY) to request a public key of Node 2 .
- the GET_PUB_KEY includes encrypting two of Accelerator 1 's public keys: PK_RK 1 and PK_D 1 .
- PK_RK 1 and PK_D 1 can be encrypting using Accelerator 1 's private rooted key SK_RK 1 .
- the GET_PUB_KEY command further includes Accelerator 1 's public rooted key, PK_RK 1 in clear-text form.
- Node 2 can decrypt Accelerator 1 's encrypted keys using PK_RK 1 and verify that the GET_PUB_KEY request did, in fact, come from Accelerator 1 .
- Node 2 In operation 303 , Node 2 generates a derived asymmetric key pair PK_D 2 and SK_D 2 from Node 2 's rooted key pair PK_RK 2 and SK_RK 2 . Derived keys PK_D 2 and SK_D 2 can be stored in secure storage at Node 2 .
- Node 2 can decrypt the received “GET_PUB_KEY” command from Accelerator 1 , using the clear-text public rooted key of Accelerator 1 : PK_RK 1 . Once decrypted, Node 2 obtains Accelerator 1 's derived public key: PK_D 1 .
- Node 2 sends to Accelerator 1 a “Return Public Key” (RET_PUB_KEY) message.
- the message includes Node 2 's PK_RK 2 and PK_D 2 , encrypted using Node 2 's private rooted key, SK_RK 2 .
- Node 2 's public rooted key PK_RK 2 is packaged with the encrypted keys PK_RK 2 and PK_D 2 , and packaged keys are then encrypted using Accelerator 1 's derived public key PK_D 1 .
- Accelerator 1 decrypts the RET_PUB_KEY message using Accelerator 1 's private derived key SK_D 1 . After decryption, Accelerator 1 can obtain Node 2 's public rooted key, PK_RK 2 . Accelerator 1 then decrypts the encrypted keys PK_RK 2 and PK_D 2 using Node 2 's newly-obtained public rooted key, PK_RK 2 . Accelerator 1 can then obtain Node 2 's derived public key, PK_D 2 . In an embodiment, Accelerator 1 can verify PK_RK 2 either, or both, the decrypted PK_RK 2 and clear-text PK_RK 2 by checking with the host device or a history copy of PK_RK 2 .
- Accelerator 1 can generate a nonce, “nc 1 .”
- Accelerator 1 can send a command “Generate Session Key” (CMD_SESS_KEY) to Node 2 .
- the command includes nonce nc 1 , encrypted using Node 2 's public derived key PK_D 2 .
- CMD_SESS_KEY instructs Node 2 to generate a session key from Accelerator 1 's nonce nc 1 and a nonce nc 2 that is generated by Node 2 .
- Node 2 can decrypt nonce nc 1 in the received CMD_SESS_KEY using Node 2 's private derived key SK_D 2 .
- Node 2 can generate a nonce, nc 2 .
- Node 2 can then generate a session key, based on nonces nc 1 and nc 2 .
- Node 2 stores the session key in an adjacency table of Node 2 .
- the session key is stored in association with Accelerator 1 and a unique identifier of Accelerator 1 .
- Node 2 can send nonce nc 2 to Accelerator 1 .
- Node 2 packages nc 1 , nc 2 , and PK_D 1 in a first package and encrypts the first package using Node 2 's private derived key, SR_D 2 .
- Node 2 then adds PK_D 2 to the encrypted first package, and generates a second encrypted package that is encrypted using Accelerator 1 's public derived key, PK_D 1 .
- the encrypted second package is then transmitted to Accelerator 1 .
- Accelerator 1 receives the encrypted second package from Node 2 and decrypts the second package using Accelerator 1 's derived private key, SK_D 1 . Accelerator 1 can then remove PK_D 2 from the decrypted second package, leaving just the encrypted first package. In an embodiment, Accelerator 1 can verify that PK_D 2 removed from the decrypted second package matches the PK_D 2 previously received in operation 305 and decrypted in operation 306 , above. Accelerator 1 can also verify that the nc 1 obtained from the decrypted first package, and previously sent to Node 2 in operation 308 , has not expired (aka, “verify freshness”).
- Accelerator 1 can then generate a session key based upon nonces nc 1 and nc 2 . Accelerator 1 can store the generated session key in Accelerator 1 's adjacency table, in association with a unique identifier of the Node 2 and the session key.
- both Accelerator 1 and Node 2 have a same session key that was derived from nonces nc 1 and nc 2
- Both Accelerator 1 and Node 2 have stored the session key in their respective adjacency tables. Adjacency tables are described in detail, below, with reference to FIG. 5 .
- FIG. 4 is a block diagram illustrating a hardware configuration 400 of a host computing device 104 and a plurality of data processing accelerators 105 - 107 that securely communicate with one another, according to an embodiment.
- Host 104 is communicatively coupled to each of DP accelerator 105 , 106 , and 107 .
- Host 104 includes a communication interface having, e.g., ports 0 , 1 , and 2 .
- DP accelerator 105 's communication port 0 is communicatively coupled to host 104 's communication port 0 .
- DP accelerator 106 's communication port 0 is communicatively coupled to host 104 's communication port 1 .
- DP accelerator 107 's communication port 0 is communicatively coupled to host 104 's communication port 2 .
- DP accelerator's 105 - 107 are also communicatively coupled to each other.
- DP accelerator 105 's communication port 1 is communicatively coupled to DP accelerator 106 's communication port 1 .
- DP accelerator 105 's communication port 2 is communicatively coupled to DP accelerator 107 's communication port 2 .
- DP accelerator 106 's communication port 2 is communicatively coupled to DP accelerator 107 's communication port 1 .
- Each of the foregoing communication channels is secured by a different session key for the other communication channels. Thus, is any one of the communication channels is compromised, the other communication channels are still secure. Further, there is redundancy in communication with respect to the host device 104 .
- Each DP accelerator 105 - 107 can monitor their own communication ports to ensure that the each communication channel is operable. If a channel fails, one or both of the DP accelerators at either end of the channel can notify the host 104 of the failed communication channel.
- Each of the host 104 , and DP accelerator 105 , 106 , and 107 can have an adjacency table that stores a list of nodes (DP accelerators or host) that the host 104 or DP accelerator 105 - 107 is communicatively coupled to. Adjacency tables are described below, with reference to FIG. 5 .
- FIG. 5 is a block diagram illustrating secure communications adjacency tables 500 , 510 , 520 , and 530 between a host device 104 and a plurality of data processing (DP) accelerators 105 - 107 , according to an embodiment.
- DP data processing
- host 104 and DP accelerators 105 - 107 are communicatively coupled via communication ports on each of the host and DP accelerators.
- Host 104 e.g., can have an adjacency table 500 that lists the DP accelerators (DPA) that are communicatively coupled to host 104 .
- DPA DP accelerators
- DP accelerators e.g. 105 - 107
- DPA DP accelerators
- DP accelerators e.g. 105 - 107
- the message when a host wants to send a message to a DP accelerator, the message can have the format [source, message payload, destination].
- Host can refer to itself, as sender, by its own ID 501 e.g. HOST_ 104 _ID.
- Host can refer to a destination DP accelerator by its unique ID 501 , by a port 502 to which the DP accelerator is connected at the host, or by the address 503 in memory to which DP accelerator port is connected at the host.
- the host can look up the ID 501 of DP accelerator 106 , or the port 502 , or address of the port 503 to use as the destination address for the message.
- the message can be encrypted using the session key 504 for the host and DP accelerator 106 .
- DP accelerator 105 can have an adjacency table 510 , stored in memory of DP accelerator 105 , indicating an ID, port 512 , address 513 , and session key 514 for communicating with each of host 104 , DP accelerator 106 , or DP accelerator 107 .
- DP accelerator 106 can have an adjacency table 520 , stored in memory of DP accelerator 106 , indicating an ID 521 , port 522 , address 523 , and session key 524 for communicating with each of host 104 , DP accelerator 105 , and DP accelerator 107 .
- DP accelerator 107 can have an adjacency table 530 , stored in memory of DP accelerator 107 , indicating an ID 531 , port 532 , address 533 , and session key 534 of host 104 , DP accelerator 105 , and DP accelerator 107 .
- a session key of NULL indicates that the session key has not yet been determined between the two nodes (host or DP accelerator) referenced in the line item of the adjacency table having the NULL session key.
- DP accelerator 106 adjacency table 520 indicates a line item for DP accelerator 105 , having unique ID DPA_ 105 _ID, and a null session identifier.
- the null session identifier indicates that DP accelerator 106 and DP accelerator 105 have not yet determined a session key for communication between DP accelerator 106 and DP accelerator 105 .
- FIG. 6 is block diagrams illustrating a method of a host device instructing a plurality of data processing accelerators to configure themselves for secure communications, according to an embodiment.
- a host e.g. host 104
- one or more DP accelerators can be configured by a system administrator using a configuration file.
- the configuration file can indicate which DP accelerators can communicate with which other DP accelerators.
- the configuration file can specify the unique identifier for the host and DP accelerators, the specific communication port number to which each DP accelerator is assigned, and/or the memory address corresponding to the host communication port number associated with the DP accelerator.
- one host, 104 , and three DP accelerators, e.g. 105 - 107 are described.
- the generated adjacency table for the host can be similar to host table 500 , described above with reference to FIG. 5 .
- logic in the host can iterate through the list of DP accelerators configured for the host. For each DP accelerator, operations 603 through 605 can be performed. In there are no more DP accelerators in the list, then method 600 ends.
- host selects a DP accelerator from the list and generates a session key with the selected DP accelerator.
- Generating a session key between an accelerator and a host (Node) is described above with reference to FIG. 3 .
- Host stores the generated session key in an entry in the adjacency table corresponding to the selected DP accelerator.
- Host uses the configuration file complete the entry in the adjacency table, including the unique identifier of the DP accelerator, the port number of the host for communicating with the DP accelerator, and the memory address of the port.
- the memory address can be calculated from a base address of the communication ports, and an offset in memory for each port number.
- host transmits instructions to the selected DP accelerator for the DP accelerator to create its own adjacency table.
- the information in the host-transmitted instructions can be obtained from the configuration file.
- the instructions include a list of other DP accelerators that the selected DP accelerator is to include when the selected DP accelerator generates its own adjacency table.
- the instructions can further include a unique identifier of each of the other DP accelerators, a port number of the selected DP accelerator to assign to each of the other DP accelerators, a memory address to assign to each of the other DP accelerators, and a NULL value for the session key associated with each of the other DP accelerators.
- the instructions further include an instruction that the selected DP accelerator is to generate its own adjacency table, and to generate and store a session key with each of the other DP accelerators in the adjacency table of the selected DP accelerator.
- a method for a selected DP accelerator to generate its own adjacency table is described below with reference to FIG. 7 .
- host receives a signal from the selected DP accelerator that the selected DP accelerator has generated its own adjacency table, populated the adjacency table with the information provided in operation 604 , above, and has generated and stored a session key for each of the other DP accelerators in the selected DP accelerator's adjacency table.
- Method 600 continues at operation 602 .
- FIG. 7 is a block diagram illustrating a method 700 of a data processing accelerator configuring itself for secure communication with one or more other data processing accelerators, according to an embodiment.
- a DP accelerator (“this” DP accelerator) receives instructions from a host device to generate an adjacency table for this DP accelerator.
- the information in the host-transmitted instructions can be obtained by the host from an administrator-created configuration file.
- the instructions can be default instructions.
- the instructions include a list of other DP accelerators that the DP accelerator is to include when this DP accelerator generates its own adjacency table.
- the instructions can further include a unique identifier of each of the other DP accelerators, a port number of this DP accelerator to assign to each of the other DP accelerators in the instructions, a memory address to assign to each of the other DP accelerators, and a NULL value for the session key associated with each of the other DP accelerators.
- the instructions further include an instruction that the DP accelerator is to generate its own adjacency table, and to generate and store a session key with each of the other DP accelerators in the adjacency table of this DP accelerator.
- the DP accelerator stores the adjacency table that lists each of the other DP accelerators that this DP accelerator is to generate and store a session key for.
- logic of the DP accelerator iterates through the list of other DP accelerators. If there are more DP accelerators in the list of other DP accelerators, then the logic selects a next DP accelerator from the list.
- the (“this”) DP accelerator and the selected DP accelerator generate a session key for use in communicating between this DP accelerator and the selected DP accelerator.
- Generating a session key between a DP accelerator and a node (host or DP accelerator) is described above with reference to FIG. 3 .
- DP accelerator logic stores the session key in its adjacency table for this DP accelerator, in association with the selected DP accelerator.
- this DP accelerator transmits a message or signal to the host that this DP accelerator has finished generating its adjacency table and has generated a session key for secure communication with each of the other DP accelerators in the adjacency table.
- each session key in the adjacency table is different than other session keys in the adjacency table.
- FIG. 8 is block diagram illustrating a method 800 of a data processing accelerator receiving a processing task from a host and performing one or more sub-tasks of the tasks by one or more additional data processing accelerators, according to an embodiment.
- a DP accelerator receives a processing task from a host device.
- the processing task includes instructions on dividing the processing task into sub-tasks that are to be processed on at least on additional DP accelerator, and the DP accelerator has an entry in the adjacency table of the DP accelerator for securely communicating with the at least one additional DP accelerator.
- host determined that the at least one additional DP accelerator is, or soon will be, idle such that the at least one additional DP accelerator can perform one or more sub-tasks on behalf of the DP accelerator.
- the DP accelerator transmits one or more sub-tasks to the at least one additional DP accelerator with instructions to perform the sub-task(s).
- the at least one additional DP accelerator performs the one or more sub-tasks.
- the DP accelerator also performs one or more sub-tasks of the received processing task.
- the DP accelerator receives one or more results from the at least one additional DP accelerator.
- the DP accelerator completes its one or more sub-tasks of the processing tasks, and returns, to the host, one or more results from the one or more sub-tasks perform by the DP accelerator and the one or more sub-tasks performed by the at least one additional DP accelerator.
- Method 800 ends.
- a host processor may be a central processing unit (CPU) and a DP accelerator may be a general-purpose processing unit (GPU) coupled to the CPU over a bus or interconnect.
- a DP accelerator may be implemented in a form of an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) device, or other forms of integrated circuits (ICs).
- the host processor may be a part of a primary data processing system while a DP accelerator may be one of many distributed systems as secondary systems that the primary system can offload its data processing tasks remotely over a network (e.g., cloud computing systems such as a software as a service or SaaS system, or a platform as a service or Paas system).
- a link between a host processor and a DP accelerator may be a peripheral component interconnect express (PCIe) link or a network connection such as Ethernet connection.
- PCIe peripheral component interconnect express
- components as shown and described above may be implemented in software, hardware, or a combination thereof.
- such components can be implemented as software installed and stored in a persistent storage device, which can be loaded and executed in a memory by a processor (not shown) to carry out the processes or operations described throughout this application.
- such components can be implemented as executable code programmed or embedded into dedicated hardware such as an integrated circuit (e.g., an application specific IC or ASIC), a digital signal processor (DSP), or a field programmable gate array (FPGA), which can be accessed via a corresponding driver and/or operating system from an application.
- an integrated circuit e.g., an application specific IC or ASIC
- DSP digital signal processor
- FPGA field programmable gate array
- such components can be implemented as specific hardware logic in a processor or processor core as part of an instruction set accessible by a software component via one or more specific instructions.
- Embodiments of the disclosure also relate to an apparatus for performing the operations herein.
- a computer program is stored in a non-transitory computer readable medium.
- a machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer).
- a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium (e.g., read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices).
- processing logic that comprises hardware (e.g. circuitry, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer readable medium), or a combination of both.
- processing logic comprises hardware (e.g. circuitry, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer readable medium), or a combination of both.
- Embodiments of the present disclosure are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the disclosure as described herein.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computational Linguistics (AREA)
- Computer And Data Communications (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims (17)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/693,019 US11552790B2 (en) | 2019-11-22 | 2019-11-22 | Method for key sharing between accelerators |
| CN202010513221.4A CN112838926B (en) | 2019-11-22 | 2020-06-08 | Key sharing method between accelerators |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/693,019 US11552790B2 (en) | 2019-11-22 | 2019-11-22 | Method for key sharing between accelerators |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20210160061A1 US20210160061A1 (en) | 2021-05-27 |
| US11552790B2 true US11552790B2 (en) | 2023-01-10 |
Family
ID=75923148
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/693,019 Active 2040-11-10 US11552790B2 (en) | 2019-11-22 | 2019-11-22 | Method for key sharing between accelerators |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US11552790B2 (en) |
| CN (1) | CN112838926B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11171115B2 (en) | 2019-03-18 | 2021-11-09 | Kepler Computing Inc. | Artificial intelligence processor with three-dimensional stacked memory |
| US11836102B1 (en) | 2019-03-20 | 2023-12-05 | Kepler Computing Inc. | Low latency and high bandwidth artificial intelligence processor |
| US11152343B1 (en) | 2019-05-31 | 2021-10-19 | Kepler Computing, Inc. | 3D integrated ultra high-bandwidth multi-stacked memory |
| US12086410B1 (en) | 2019-05-31 | 2024-09-10 | Kepler Computing Inc. | Ferroelectric memory chiplet in a multi-dimensional packaging with I/O switch embedded in a substrate or interposer |
| US20220166762A1 (en) * | 2020-11-25 | 2022-05-26 | Microsoft Technology Licensing, Llc | Integrated circuit for obtaining enhanced privileges for a network-based resource and performing actions in accordance therewith |
| US11791233B1 (en) * | 2021-08-06 | 2023-10-17 | Kepler Computing Inc. | Ferroelectric or paraelectric memory and logic chiplet with thermal management in a multi-dimensional packaging |
Citations (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US642945A (en) | 1899-06-29 | 1900-02-06 | Ellery C Wright | Last. |
| US6426945B1 (en) | 1998-10-06 | 2002-07-30 | Nokia Telecommunications, Oy | Method and apparatus for providing resource discovery using multicast scope |
| US20040143645A1 (en) | 2003-01-21 | 2004-07-22 | Manoj Cheenath | Asynchronous web service invocation model |
| US20060248142A1 (en) | 2001-04-24 | 2006-11-02 | Hitachi, Ltd. | Integrated service management system |
| US20090172411A1 (en) * | 2008-01-02 | 2009-07-02 | Arm Limited | Protecting the security of secure data sent from a central processor for processing by a further processing device |
| US20100254537A1 (en) * | 2009-04-06 | 2010-10-07 | Broadcom Corporation | Scalable and Secure Key Management For Cryptographic Data Processing |
| US20110072270A1 (en) | 2002-03-20 | 2011-03-24 | Little Herbert A | System and method for supporting multiple certificate status providers on a mobile communication device |
| US20110113244A1 (en) | 2006-07-31 | 2011-05-12 | Aruba Wireless Networks | Stateless cryptographic protocol-based hardware acceleration |
| US20140156989A1 (en) * | 2012-12-04 | 2014-06-05 | Barclays Bank Plc | Credential Recovery |
| US20150195264A1 (en) | 2014-01-08 | 2015-07-09 | Google Inc. | Secure Challenge System for Verifying Access Rights to Media Content |
| US20150358294A1 (en) * | 2014-06-05 | 2015-12-10 | Cavium, Inc. | Systems and methods for secured hardware security module communication with web service hosts |
| US20160044001A1 (en) | 2014-08-11 | 2016-02-11 | Intel Corporation | Network-enabled device provisioning |
| US20160127341A1 (en) * | 2013-06-25 | 2016-05-05 | Nokia Technologies Oy | A Method and Apparatus for Anonymous and Trustworthy Authentication in Pervasive Social Networking |
| US20160330301A1 (en) * | 2015-05-07 | 2016-11-10 | Mellanox Technologies Ltd. | Efficient transport flow processing on an accelerator |
| US20180225237A1 (en) * | 2017-02-03 | 2018-08-09 | Intel Corporation | Hardware-based virtual machine communication |
| US20180343258A1 (en) | 2017-05-24 | 2018-11-29 | Entit Software Llc | Access control values |
| US20190140979A1 (en) * | 2017-11-08 | 2019-05-09 | Mellanox Technologies, Ltd. | NIC with Programmable Pipeline |
| US20190230094A1 (en) * | 2016-07-28 | 2019-07-25 | Koninklijke Philips N.V. | Identifying a network node to which data will be replicated |
| US20190303344A1 (en) * | 2016-12-23 | 2019-10-03 | Intel Corporation | Virtual channels for hardware acceleration |
| US20200073734A1 (en) * | 2017-03-06 | 2020-03-05 | Alcatel Lucent | Communication method and device for virtual base stations |
| US20200133929A1 (en) * | 2018-05-29 | 2020-04-30 | Accenture Global Solutions Limited | Intelligent data quality |
| US20200323024A1 (en) | 2017-12-28 | 2020-10-08 | Huawei Technologies Co., Ltd. | Communication method and related product |
| US10813001B1 (en) | 2018-06-19 | 2020-10-20 | Synapse Wireless, Inc. | Multicast messaging based on distance estimation of network devices |
| US20200389322A1 (en) | 2017-12-07 | 2020-12-10 | Telefonaktiebolaget Lm Ericsson (Publ) | Security for group communication |
| US20210176632A1 (en) | 2019-12-10 | 2021-06-10 | Baidu Usa Llc | System and method to securely broadcast a message to accelerators |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9847980B2 (en) * | 2015-06-17 | 2017-12-19 | Microsoft Technology Licensing, Llc | Protecting communications with hardware accelerators for increased workflow security |
| US10630654B2 (en) * | 2017-03-22 | 2020-04-21 | Microsoft Technology Licensing, Llc | Hardware-accelerated secure communication management |
| CN106941401B (en) * | 2017-03-23 | 2021-06-04 | 深信服科技股份有限公司 | Acceleration equipment and method for obtaining session key based on acceleration equipment |
| CN107425976A (en) * | 2017-04-26 | 2017-12-01 | 美的智慧家居科技有限公司 | Key chip system and internet of things equipment |
-
2019
- 2019-11-22 US US16/693,019 patent/US11552790B2/en active Active
-
2020
- 2020-06-08 CN CN202010513221.4A patent/CN112838926B/en active Active
Patent Citations (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US642945A (en) | 1899-06-29 | 1900-02-06 | Ellery C Wright | Last. |
| US6426945B1 (en) | 1998-10-06 | 2002-07-30 | Nokia Telecommunications, Oy | Method and apparatus for providing resource discovery using multicast scope |
| US20060248142A1 (en) | 2001-04-24 | 2006-11-02 | Hitachi, Ltd. | Integrated service management system |
| US20110072270A1 (en) | 2002-03-20 | 2011-03-24 | Little Herbert A | System and method for supporting multiple certificate status providers on a mobile communication device |
| US20040143645A1 (en) | 2003-01-21 | 2004-07-22 | Manoj Cheenath | Asynchronous web service invocation model |
| US20110113244A1 (en) | 2006-07-31 | 2011-05-12 | Aruba Wireless Networks | Stateless cryptographic protocol-based hardware acceleration |
| US20090172411A1 (en) * | 2008-01-02 | 2009-07-02 | Arm Limited | Protecting the security of secure data sent from a central processor for processing by a further processing device |
| US20100254537A1 (en) * | 2009-04-06 | 2010-10-07 | Broadcom Corporation | Scalable and Secure Key Management For Cryptographic Data Processing |
| US20140156989A1 (en) * | 2012-12-04 | 2014-06-05 | Barclays Bank Plc | Credential Recovery |
| US20160127341A1 (en) * | 2013-06-25 | 2016-05-05 | Nokia Technologies Oy | A Method and Apparatus for Anonymous and Trustworthy Authentication in Pervasive Social Networking |
| US20150195264A1 (en) | 2014-01-08 | 2015-07-09 | Google Inc. | Secure Challenge System for Verifying Access Rights to Media Content |
| US20150358294A1 (en) * | 2014-06-05 | 2015-12-10 | Cavium, Inc. | Systems and methods for secured hardware security module communication with web service hosts |
| US20160044001A1 (en) | 2014-08-11 | 2016-02-11 | Intel Corporation | Network-enabled device provisioning |
| US20160330301A1 (en) * | 2015-05-07 | 2016-11-10 | Mellanox Technologies Ltd. | Efficient transport flow processing on an accelerator |
| US20190230094A1 (en) * | 2016-07-28 | 2019-07-25 | Koninklijke Philips N.V. | Identifying a network node to which data will be replicated |
| US20190303344A1 (en) * | 2016-12-23 | 2019-10-03 | Intel Corporation | Virtual channels for hardware acceleration |
| US20180225237A1 (en) * | 2017-02-03 | 2018-08-09 | Intel Corporation | Hardware-based virtual machine communication |
| US20200073734A1 (en) * | 2017-03-06 | 2020-03-05 | Alcatel Lucent | Communication method and device for virtual base stations |
| US20180343258A1 (en) | 2017-05-24 | 2018-11-29 | Entit Software Llc | Access control values |
| US20190140979A1 (en) * | 2017-11-08 | 2019-05-09 | Mellanox Technologies, Ltd. | NIC with Programmable Pipeline |
| US20200389322A1 (en) | 2017-12-07 | 2020-12-10 | Telefonaktiebolaget Lm Ericsson (Publ) | Security for group communication |
| US20200323024A1 (en) | 2017-12-28 | 2020-10-08 | Huawei Technologies Co., Ltd. | Communication method and related product |
| US20200133929A1 (en) * | 2018-05-29 | 2020-04-30 | Accenture Global Solutions Limited | Intelligent data quality |
| US10813001B1 (en) | 2018-06-19 | 2020-10-20 | Synapse Wireless, Inc. | Multicast messaging based on distance estimation of network devices |
| US20210176632A1 (en) | 2019-12-10 | 2021-06-10 | Baidu Usa Llc | System and method to securely broadcast a message to accelerators |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112838926A (en) | 2021-05-25 |
| US20210160061A1 (en) | 2021-05-27 |
| CN112838926B (en) | 2024-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11457354B2 (en) | System and method to securely broadcast a message to accelerators | |
| US11552790B2 (en) | Method for key sharing between accelerators | |
| US11436305B2 (en) | Method and system for signing an artificial intelligence watermark using implicit data | |
| US11411934B2 (en) | System and method to securely broadcast a message to accelerators with switch | |
| US11775347B2 (en) | Method for implanting a watermark in a trained artificial intelligence model for a data processing accelerator | |
| US11728996B2 (en) | System and method to securely broadcast a message to accelerators using virtual channels with switch | |
| US11740940B2 (en) | Method and system for making an artifical intelligence inference using a watermark-inherited kernel for a data processing accelerator | |
| US11558357B2 (en) | Method for key sharing between accelerators with switch | |
| EP3923535B1 (en) | Method for data protection in a data processing cluster with policy-based partition | |
| US11516010B2 (en) | System and method to securely broadcast a message to accelerators using virtual channels | |
| US11709712B2 (en) | Method and system for artificial intelligence model training using a watermark-enabled kernel for a data processing accelerator | |
| US11645116B2 (en) | Method and system for making an artificial intelligence inference using a watermark-enabled kernel for a data processing accelerator | |
| US11645586B2 (en) | Watermark unit for a data processing accelerator | |
| US11443243B2 (en) | Method and system for artificial intelligence model training using a watermark-enabled kernel for a data processing accelerator | |
| US11343083B2 (en) | Method for key sharing between accelerators in virtual channel | |
| US11405336B2 (en) | Method for key sharing between accelerators in virtual channel with switch | |
| US20210110010A1 (en) | Method and system for signing an artificial intelligence watermark using a query | |
| US20210350264A1 (en) | Method for obfuscated ai model training for data processing accelerators | |
| US11687376B2 (en) | Method for data protection in a data processing cluster with dynamic partition | |
| US11537689B2 (en) | Method and system for signing an artificial intelligence watermark using a kernel | |
| US11847501B2 (en) | Method for data protection in a data processing cluster with partition |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: BAIDU USA LLC, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIU, YONG;CHENG, YUEQIANG;REEL/FRAME:051092/0679 Effective date: 20191118 |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| AS | Assignment |
Owner name: KUNLUNXIN TECHNOLOGY (BEIJING) COMPANY LIMITED, CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BAIDU USA LLC;REEL/FRAME:057829/0213 Effective date: 20211013 Owner name: BAIDU USA LLC, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BAIDU USA LLC;REEL/FRAME:057829/0213 Effective date: 20211013 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| AS | Assignment |
Owner name: BAIDU USA LLC, CALIFORNIA Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE NAME OF THE SECOND INVENTOR IN THE ASSIGNMENT DOCUMENT PREVIOUSLY RECORDED ON REEL 051092 FRAME 0679. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT;ASSIGNORS:LIU, YONG;CHENG, YUEQIANG;REEL/FRAME:061915/0699 Effective date: 20191118 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |