# US 2021/0342492 A1 · Peripheral device

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

- Number: US 2021/0342492 A1
- Document ID: US20210342492A1
- Status: Published application
- Kind: A1
- Application number: 17/374,942
- Filed: 2021-07-13
- Published: 2021-11-04
- Earliest claimed: 2018-10-19
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Stavros VOLOS; David Thomas CHISNALL; Saurabh Mohan KULKARNI; Kapil VASWANI; Manuel COSTA; Samuel Alexander WEBSTER; Cédric Alain Marie FOURNET; Richard OSBORNE; Daniel John Pelham WILKINSON; Graham Bernard CUNNINGHAM
- Web page: https://patentgrep.com/patent/US20210342492A1

## CPC

- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 9/3265: {using certificate chains, trees or paths; Hierarchical trust model}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 2209/64: Self-signed certificates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A peripheral device, for use with a host, comprises one or more compute elements a security module and at least one encryption unit. The security module is configured to form a trusted execution environment on the peripheral device for processing sensitive data using sensitive code. The sensitive data and sensitive code are provided by a trusted computing entity which is in communication with the host computing device. The at least one encryption unit is configured to encrypt and decrypt data transferred between the trusted execution environment and the trusted computing entity via the host computing device. The security module is configured to compute and send an attestation to the trusted computing entity to attest that the sensitive code is in the trusted execution environment.

## Claims

### Claim 1

A device comprising: a processing unit; and
at least one encryption unit comprising processing circuitry;
wherein the processing unit comprises a processor comprising an execution unit and at least one memory, the at least one memory storing at least part of an expected initialization vector associated with data in storage external to the processor, wherein the at least one execution unit is configured to execute computer readable instructions to cause issuance of a read request for the data in storage external to the processor,
wherein the processing circuitry of the at least one encryption unit is configured to:
receive at least one read completion corresponding to the read request, the at least one read completion comprising a ciphertext and an initialization vector; and
decrypt the ciphertext using the initialization vector to produce a plaintext; and
provide the plaintext and at least part of the initialization vector to the processing unit;
wherein the processing unit is configured to:
compare the at least part of an expected initialization vector to the at least part of the initialization vector; and
in response to determining that the at least part of an expected initialization vector matches the at least part of the initialization vector, accept the received plaintext.

### Claim 2 (depends on 1)

The device of claim 1, wherein the processing unit is a subsystem for acting as a work accelerator to a host system coupled to the device, wherein the storage external to the processor is memory of the host system.

### Claim 3 (depends on 2)

The device of claim 2, wherein the processor of the processing unit is configured to receive from the host at least part of the computer readable instructions.

### Claim 4 (depends on 1)

The device of claim 1, wherein the device comprises a memory external to the processing unit, wherein the storage external to the processor is the memory external to the processing unit.

### Claim 5 (depends on 4)

The device of claim 4, wherein the memory external to the processing unit is a dynamic random access memory.

### Claim 6 (depends on 1)

The device of claim 1, wherein the processing unit comprises a further processor comprising a further at least one execution unit, the further at least one execution unit is configured to, prior to the issuance of the read request, execute computer readable instructions to cause issuance of at least one write request of the data to the storage external to the processor, the write request comprising the plaintext and at least part of the initialization vector,
wherein processing circuitry of the at least one encryption unit is configured to:
receive the at least one write request;
encrypt the plaintext of the write request using the initialization vector to produce the ciphertext; and
cause the ciphertext and initialization vector to be written to the storage external to the processor.

### Claim 7 (depends on 4)

The device of claim 4, wherein the decryption of the ciphertext using the initialization vector is performed according to the advanced encryption standard.

### Claim 8 (depends on 1)

The device of claim 1, wherein the at least one execution unit is configured to execute computer readable instructions to compute the expected initialization vector from a parameterized function.

### Claim 9

A method implemented in a device comprising a processing unit comprising a processor, the method comprising:
storing in the processor at least part of the expected initialization vector associated with data in storage external to the processor;
causing issuance of a read request for the data in storage external to the processor,
receiving at least one read completion corresponding to the read request, the at least one read completion comprising a ciphertext and an initialization vector;
decrypting the ciphertext using the initialization vector to produce a plaintext;
providing the plaintext and at least part of the initialization vector to the processor;
comparing, at the processor, the at least part of an expected initialization vector to the at least part of the initialization vector; and
in response to determining that the at least part of an expected initialization vector matches the at least part of the initialization vector, accepting the received plaintext.

### Claim 10

A computer program for execution by a processor of a processing unit of a device to perform a method, the method comprising:
storing in the processor at least part of the expected initialization vector associated with data in storage external to the processor,
causing issuance of a read request for the data in storage external to the processor,
receiving at least one read completion corresponding to the read request, the at least one read completion comprising a plaintext and at least part of the initialization vector;
comparing the at least part of an expected initialization vector to the at least part of the initialization vector; and
in response to determining that the at least part of an expected initialization vector matches the at least part of the initialization vector, accepting the received plaintext.
