# US 2021/0281408 A1 · A data processing accelerator having a security unit to provide root trust services

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

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

## CPC

- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 9/32: including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials}
- G06F 7/588: {Random number generators, i.e. based on natural stochastic processes}
- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- G06F 21/30: Authentication, i.e. establishing the identity or authorisation of security principals
- G06F 21/60: Protecting data
- H04L 9/003: {for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]}
- 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/3236: {using cryptographic hash functions}
- H04L 9/3247: {involving digital signatures}
- 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/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/06: Authentication
- H04W 12/10: Integrity
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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 DP accelerator includes one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus. The DP accelerator includes a time unit (TU) coupled to the security unit to provide timestamp services. The DP accelerator includes a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations, where the security unit includes a secure storage area to store a private root key associated with the DP accelerator, where the private root key is utilized for authentication. The SU includes a random number generator to generate a random number, and a cryptographic engine to perform cryptographic operations on data exchanged with the host system over the bus using a session key derived based on the random number.

## Claims

### Claim 1

A data processing (DP) accelerator, comprising:
one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus;
a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations, wherein the security unit comprises
a secure storage area to store a private root key associated with the DP accelerator, wherein the private root key is utilized for authentication,
a random number generator to generate a random number, and
a cryptographic engine to perform cryptographic operations on data exchanged with the host system over the bus using a session key derived based on the random number; and
a time unit (TU) coupled to the security unit to provide timestamp services.

### Claim 2 (depends on 1)

The DP accelerator of claim 1, wherein the private root key was preconfigured and stored in the secure storage area during manufacturing of the DP accelerator.

### Claim 3 (depends on 1)

The DP accelerator of claim 1, wherein the security unit is configured to
receive a request from the host system to establish a secure connection with the DP accelerator; and
in response to the request, generate the session key based on the random number generated by the random number generator, wherein the session key is utilized to encrypt or decrypt the data exchanged with the host system over the secure connection.

### Claim 4 (depends on 3)

The DP accelerator of claim 3, wherein the random number generator is configured to generate the random number based on a seed value.

### Claim 5 (depends on 4)

The DP accelerator of claim 4, wherein the timestamp is further utilized to determine whether the session key has expired, in which a new session key is to be generated.

### Claim 6 (depends on 3)

The DP accelerator of claim 3, wherein in generating the session key based on the random number, the security unit is configured to:
generate a temporary key pair having a temporary private key and a temporary public key,
transmit the temporary public key and a signed temporary public key to the host, wherein the signed temporary public key is signed by the private root key to allow the host system authenticate the DP accelerator,
receive a first nonce from the host system, and
generate a first session key based on the first nonce and a second nonce generated locally at the DP accelerator.

### Claim 7 (depends on 6)

The DP accelerator of claim 6, wherein the security unit is further configured to transmit the first nonce and the second nonce signed by the private root key and encrypted by a public key associated with the host system.

### Claim 8 (depends on 7)

The DP accelerator of claim 7, wherein the host system is configured to decrypt the encrypted first nonce and the second nonce using a public root key corresponding to the private root key and a private key of the host system to recover the first nonce and the second nonce.

### Claim 9 (depends on 8)

The DP accelerator of claim 8, wherein the host system is configured to generate a second session key based on the recovered first nonce and the second nonce, wherein the second session key is utilized by the host system for encryption and decryption.

### Claim 10 (depends on 1)

The DP accelerator of claim 1, wherein the time unit comprises:
a clock generator to generate clock signals locally without having to derive the clock signals from an external source;
a timestamp generator coupled to the clock generator to generate a timestamp based on the clock signals; and
a power supply to provide power to the clock generator and the timestamp generator without having to draw power from an external power source.

### Claim 11

A data processing system, comprising:
a host system hosting one or more trusted execution environments (TEEs), each TEE hosting at least one application therein; and
one or more data processing (DP) accelerators coupled to the host system over a bus, wherein each of the DP accelerators comprises
one or more execution units (EUs) configured to perform data processing operations in response to an instruction received from a host system coupled over a bus,
a security unit (SU) configured to establish and maintain a secure channel with the host system to exchange commands and data associated with the data processing operations, wherein the security unit comprises
a secure storage area to store a private root key associated with the DP accelerator, wherein the private root key is utilized for authentication,
a random number generator to generate a random number, and
a cryptographic engine to perform cryptographic operations on data exchanged with the host system over the bus using a session key derived based on the random number, and
a time unit (TU) coupled to the security unit to provide timestamp services.

### Claim 12 (depends on 11)

The system of claim 11, wherein the private root key was preconfigured and stored in the secure storage area during manufacturing of the DP accelerator.

### Claim 13 (depends on 11)

The system of claim 11, wherein the security unit is configured to
receive a request from the host system to establish a secure connection with the DP accelerator; and
in response to the request, generate the session key based on the random number generated by the random number generator, wherein the session key is utilized to encrypt or decrypt the data exchanged with the host system over the secure connection.

### Claim 14 (depends on 13)

The system of claim 13, wherein the random number generator is configured to generate the random number based on a seed value.

### Claim 15 (depends on 14)

The system of claim 14, wherein the timestamp is further utilized to determine whether the session key has expired, in which a new session key is to be generated.

### Claim 16 (depends on 13)

The system of claim 13, wherein in generating the session key based on the random number, the security unit is configured to:
generate a temporary key pair having a temporary private key and a temporary public key,
transmit the temporary public key and a signed temporary public key to the host, wherein the signed temporary public key is signed by the private root key to allow the host system authenticate the DP accelerator,
receive a first nonce from the host system, and
generate a first session key based on the first nonce and a second nonce generated locally at the DP accelerator.

### Claim 17 (depends on 16)

The system of claim 16, wherein the security unit is further configured to transmit the first nonce and the second nonce signed by the private root key and encrypted by a public key associated with the host system.

### Claim 18 (depends on 17)

The system of claim 17, wherein the host system is configured to decrypt the encrypted first nonce and the second nonce using a public root key corresponding to the private root key and a private key of the host system to recover the first nonce and the second nonce.

### Claim 19 (depends on 18)

The system of claim 18, wherein the host system is configured to generate a second session key based on the recovered first nonce and the second nonce, wherein the second session key is utilized by the host system for encryption and decryption.

### Claim 20 (depends on 11)

The system of claim 11, wherein the time unit comprises:
a clock generator to generate clock signals locally without having to derive the clock signals from an external source;
a timestamp generator coupled to the clock generator to generate a timestamp based on the clock signals; and
a power supply to provide power to the clock generator and the timestamp generator without having to draw power from an external power source.
