# US 2021/0176035 A1 · Method and system for key distribution and exchange for data processing accelerators

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

- Number: US 2021/0176035 A1
- Document ID: US20210176035A1
- Status: Published application
- Kind: A1
- Application number: 16/315,998
- Filed: 2019-01-04
- Published: 2021-06-10
- Earliest claimed: 2019-01-04
- Assignees: Baidu USA LLC; Baidu.Com Times Technology (Beijing) Co., Ltd.
- Applicants: Baidu USA LLC; Baidu.com Times Technology (Beijing) Co., Ltd.
- Inventors: Yueqiang CHENG; Yong LIU; Tao WEI; Jian OUYANG
- Web page: https://patentgrep.com/patent/US20210176035A1

## CPC

- H04L 9/006: {involving public key infrastructure [PKI] trust models (network architecture or network communication protocol for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/12: Transmitting and receiving encryption devices synchronised or initially set up in a particular manner
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 9/3247: {involving digital signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/3265: {using certificate chains, trees or paths; Hierarchical trust model}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

According to one embodiment, a system receives, at a host system from a data processing (DP) accelerator, an accelerator identifier (ID) that uniquely identifies the DP accelerator), wherein the host system is coupled to the DP accelerator over a bus. The system transmits the accelerator ID to a predetermined trusted server over a network. The system receives a certificate from the predetermined trusted server over the network, the certificate certifying the DP accelerator. The system extracts a public root key (PK_RK) from the certificate for verification, the PK_RK corresponding to a private root key (SK_RK) associated with the DP accelerator. The system establishes a secure channel with the DP accelerator using the PK_RK based on the verification to exchange data securely between the host system and the DP accelerator.

## Claims

### Claim 1

A computer-implemented method for key distribution of a data processing accelerator, the method comprising:
receiving, at a host system from a data processing (DP) accelerator, an accelerator identifier (ID) that uniquely identifies the DP accelerator, wherein the host system is coupled to the DP accelerator over a bus;
transmitting the accelerator ID to a predetermined trusted server over a network;
receiving a certificate from the predetermined trusted server over the network, the certificate certifying the DP accelerator;
extracting a public root key (PK_RK) from the certificate for verification, the PK_RK corresponding to a private root key (SK_RK) associated with the DP accelerator; and
establishing a secure channel with the DP accelerator using the PK_RK based on the verification to exchange data securely between the host system and the DP accelerator.

### Claim 2 (depends on 1)

The method of claim 1, wherein the DP accelerator includes one or more execution units operable to perform data processing operations on behalf of an application hosted within the host system.

### Claim 3 (depends on 2)

The method of claim 2, wherein the predetermined trusted server is associated with a provider of the application.

### Claim 4 (depends on 1)

The method of claim 1, wherein the predetermined trusted server is associated with a provider of the DP accelerator.

### Claim 5 (depends on 1)

The method of claim 1, wherein the PK_RK is further utilized to verify a signature generated for the DP accelerator.

### Claim 6 (depends on 5)

The method of claim 5, wherein the PK_RK is utilized by the host system to establish a session key associated with a communication session between the host system and the DP accelerator.

### Claim 7 (depends on 5)

The method of claim 5, wherein the PK_RK is utilized by the host system to verify a signature for a public attestation key to attest a kernel object stored in the DP accelerator.

### Claim 8

A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:
receiving, at a host system from a data processing (DP) accelerator, an accelerator identifier (ID) that uniquely identifies the DP accelerator, wherein the host system is coupled to the DP accelerator over a bus;
transmitting the accelerator ID to a predetermined trusted server over a network;
receiving a certificate from the predetermined trusted server over the network, the certificate certifying the DP accelerator;
extracting a public root key (PK_RK) from the certificate for verification, the PK_RK corresponding to a private root key (SK_RK) associated with the DP accelerator; and
establishing a secure channel with the DP accelerator using the PK_RK based on the verification to exchange data securely between the host system and the DP accelerator.

### Claim 9 (depends on 8)

The machine-readable medium of claim 8, wherein the DP accelerator includes one or more execution units operable to perform data processing operations on behalf of an application hosted within the host system.

### Claim 10 (depends on 9)

The machine-readable medium of claim 9, wherein the predetermined trusted server is associated with a provider of the application.

### Claim 11 (depends on 8)

The machine-readable medium of claim 8, wherein the predetermined trusted server is associated with a provider of the DP accelerator.

### Claim 12 (depends on 8)

The machine-readable medium of claim 8, wherein the PK_RK is further utilized to verify a signature generated for the DP accelerator.

### Claim 13 (depends on 12)

The machine-readable medium of claim 12, wherein the PK_RK is utilized by the host system to establish a session key associated with a communication session between the host system and the DP accelerator.

### Claim 14 (depends on 12)

The machine-readable medium of claim 12, the PK_RK is utilized by the host system to verify a signature for a public attestation key to attest a kernel object stored in the DP accelerator.

### Claim 15

A host system, comprising:
a processor; and
a memory storing instructions, which when executed by the processor, cause the processor to perform operations, the operations including
receiving, at a host system from a data processing (DP) accelerator, an accelerator identifier (ID) that uniquely identifies the DP accelerator, wherein the host system is coupled to the DP accelerator over a bus,
transmitting the accelerator ID to a predetermined trusted server over a network,
receiving a certificate from the predetermined trusted server over the network, the certificate certifying the DP accelerator,
extracting a public root key (PK_RK) from the certificate for verification, the PK_RK corresponding to a private root key (SK_RK) associated with the DP accelerator, and
establishing a secure channel with the DP accelerator using the PK_RK based on the verification to exchange data securely between the host system and the DP accelerator.

### Claim 16 (depends on 15)

The system of claim 15, wherein the DP accelerator includes one or more execution units operable to perform data processing operations on behalf of an application hosted within the host system.

### Claim 17 (depends on 16)

The system of claim 16, wherein the predetermined trusted server is associated with a provider of the application.

### Claim 18 (depends on 15)

The system of claim 15, wherein the predetermined trusted server is associated with a provider of the DP accelerator.

### Claim 19 (depends on 15)

The system of claim 15, wherein the PK_RK is further utilized to verify a signature generated for the DP accelerator.

### Claim 20 (depends on 19)

The system of claim 19, wherein the PK_RK is utilized by the host system to establish a session key associated with a communication session between the host system and the DP accelerator.
