# US 9,355,048 B2 · Method for implementing secure data channel between processor and devices

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

- Number: US 9,355,048 B2
- Document ID: US9355048B2
- Status: Granted
- Kind: B2
- Application number: 13/997,956
- Filed: 2012-03-28
- Published: 2014-03-06
- Granted: 2016-05-31
- Earliest claimed: 2012-03-28
- Assignees: Intel Corporation
- Applicants: Yen Hsiang Chew
- Inventors: Yen Hsiang Chew
- Web page: https://patentgrep.com/patent/US9355048B2

## CPC

- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- H04L 63/14: {for detecting or protecting against malicious traffic}
- 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

Apparatuses, systems, and methods are directed to securely store, transfer, and/or process data especially sensitive data sent from input devices to processors. In one embodiment, sensitive data may be packaged with at least one interrupt vector to provide a single posted write transaction initiated by an input device. The single posted write transaction may then be directly sent to a predetermined memory block allocated from a processor. In response to the single posted write transaction, a memory decoder associated with the processor may generate an emulated message signaled interrupt (MSI) signal to invoke an interrupt handler or an interrupt service routine (ISR) to service the emulated MSI using interrupt data, including the sensitive data, retrieved from the predetermined memory block. Once the sensitive data are processed by the processor, they may be removed from the processor before the processor exits the interrupt handler.

## Claims

### Claim 1

A method comprising:
packaging an interrupt vector with sensitive data to provide a single posted write transaction initiated from an input device;
sending the single posted write transaction initiated from the input device to a predetermined memory block allocated from a processor;
generating an emulated message signaled interrupt (MSI) signal, by a memory decoder, in response to the single posted write transaction initiated from the input device and sent to the predetermined memory block; and
invoking, by an interrupt controller, an interrupt service routine (ISR) associated with the input device to service the emulated MSI using interrupt data retrieved from the predetermined memory block allocated from the processor, wherein the interrupt data includes the sensitive data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
processing the sensitive data by the processor;
removing the sensitive data from the predetermined memory block from the processor; and
exiting the ISR by the processor.

### Claim 3 (depends on 2)

The method of claim 2, wherein one or more steps thereof are atomically performed so as not to be preempted by software.

### Claim 4 (depends on 1)

The method of claim 1, wherein the sensitive data comprises a cryptographic key, unencrypted user data, user input data, user account data, user personal data, password data, keystroke data, text data, voice data, video data, image data, configuration data, system management data, network data, bit stream data, firmware, machine code, software, data received from a second computing device, and combinations thereof.

### Claim 5 (depends on 1)

The method of claim 1, wherein the ISR is atomically invoked based on the interrupt vector retrieved from the predetermined memory block rather than via an MSI request message, wherein the ISR is scheduled as non-preempt-able.

### Claim 6 (depends on 1)

The method of claim 1, wherein the emulated MSI signal is generated based on the single posted write transaction from the predetermined memory block other than a system defined address for an MSI that is non-emulated.

### Claim 7 (depends on 1)

The method of claim 1, wherein the interrupt data is stored in the predetermined memory block by the input device via a direct cache access (DCA) transaction over a bus coupling the input device to the processor.

### Claim 8 (depends on 1)

The method of claim 1, wherein the sensitive data are unencrypted user data, wherein the unencrypted user data are localized inside the processor and not able to be obtained from a system memory using a cold boot attack.

### Claim 9 (depends on 1)

The method of claim 1, wherein, when directly sending the sensitive data as the single posted write transaction, the input device requests for an atomic processing of the sensitive data comprising unencrypted user data.

### Claim 10

A method comprising:
sending encrypted user data to a system memory initiated from an input device via a direct memory access (DMA);
packaging an interrupt vector with sensitive data to provide a single posted write transaction initiated from the input device, the sensitive data comprising a cryptographic key associated with the encrypted user data;
sending the single posted write transaction initiated from the input device to a predetermined memory block allocated from a processor;
generating an emulated message signaled interrupt (MSI) signal, by a memory decoder, in response to the single posted write transaction initiated from the input device and sent to the predetermined memory block; and
invoking, by an interrupt controller, an interrupt service routine (ISR) associated with the input device to service the emulated MSI using interrupt data comprising the sensitive data and retrieved from the predetermined memory block allocated from the processor.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
processing the encrypted user data by the processor using the sensitive data comprising the cryptographic key; and
removing the sensitive data from the predetermined memory block after processing and prior to exiting the ISR.

### Claim 12 (depends on 11)

The method of claim 11, wherein one or more steps thereof are atomically performed so as not to be preempted by any software comprising malware, the one or more steps comprising
directly sending the single posted write transaction to the predetermined memory block allocated from the processor;
invoking the ISR by the interrupt controller; and
removing the sensitive data from the processor.

### Claim 13 (depends on 10)

The method of claim 10, further comprising removing data from the system memory and processor, the data comprising decrypted data and intermediate data generated as a result of processing the encrypted data sent from the input device.

### Claim 14 (depends on 10)

The method of claim 10, further comprising removing the encrypted user data from the system memory after processing the encrypted user data and prior to exiting the ISR.

### Claim 15 (depends on 10)

The method of claim 10, wherein, without a need for the processor to obtain the sensitive data comprising the decryption key using an additional secure system protocol or an additional input/output (I/O) transaction, the sensitive data is directly sent from the input device to the processor to atomically invoke the ISR after the DMA operation.

### Claim 16 (depends on 10)

The method of claim 10, wherein an encryption key associated with the encrypted user data is not stored in the system memory.

### Claim 17 (depends on 10)

The method of claim 10, further comprising encrypting user data initiated from the input device using the cryptographic key that is dynamically or randomly generated, to form the encrypted user data.

### Claim 18 (depends on 10)

The method of claim 10, wherein the interrupt data further comprises an address of a filled data buffer.

### Claim 19

A system comprising:
an input device, the input device being configured to package an interrupt vector with sensitive data into a posted write transaction;
a processor, the processor comprising:
a memory decoder to monitor a predetermined memory block allocated from the processor and allocated to the input device;
an interrupt controller to receive an emulated message signaled interrupt (MSI) signal from the memory decoder in response to the posted write transaction; and
an execution unit to execute an interrupt service routine (ISR) associated with the input device to service the emulated MSI using interrupt data comprising the sensitive data retrieved from the predetermined memory block allocated from the processor; and
a bus, the bus coupling the input device to the processor such that the input device is configured to directly send the posted write transaction to the predetermined memory block allocated from the processor over the bus.

### Claim 20 (depends on 19)

The system of claim 19, wherein the ISR is invoked based on the interrupt vector retrieved from the predetermined memory block rather than via an MSI request message.

### Claim 21 (depends on 19)

The system of claim 19, wherein the emulated MSI signal is generated based on the posted write transaction from the predetermined memory block other than a system defined address for an MSI that is non-emulated.

### Claim 22 (depends on 19)

The system of claim 19, wherein the interrupt data is stored in the predetermined memory block allocated from the processor by the input device via a direct cache access (DCA) transaction over a bus coupling the input device to the processor.

### Claim 23 (depends on 19)

The system of claim 19, wherein the sensitive data comprises a cryptographic key, unencrypted user data, user input data, user account data, user personal data, password data, keystroke data, text data, voice data, video data, image data, configuration data, system management data, network data, bit stream data, firmware, machine code, software, data received from a second computing device, and combinations thereof.

### Claim 24

A method comprising:
retrieving a memory address from a predetermined register of an input device, the memory address representing a predetermined memory block specifically allocated from a processor and allocated to the input device; and
issuing a posted write transaction over a bus to the predetermined memory block based on the memory address to store interrupt data at the predetermined memory block, wherein the interrupt data comprises sensitive data packaged with an interrupt vector to trigger an emulated message signaled interrupt (MSI),
wherein an interrupt service routine (ISR) is invoked based on the interrupt vector to service the emulated MSI using the interrupt data stored at the predetermined memory block, and wherein the interrupt data comprising the sensitive data are processed and removed from the processor prior to exiting the ISR.

### Claim 25 (depends on 24)

The method of claim 24, wherein the interrupt data comprising the sensitive data is stored in the memory block, allocated from the processor, by the input device via a direct cache access (DCA) transaction over the bus.

### Claim 26

A non-transitory machine-readable storage medium comprising instructions, which, when executed by a processor or an input device, causes the processor or the input device to perform a method, the method comprising:
retrieving a memory address from a predetermined register of the input device, the memory address representing a predetermined memory block specifically allocated from a processor and allocated to the input device; and
issuing a posted write transaction over a bus to the predetermined memory block based on the memory address to store interrupt data at the predetermined memory block, wherein the interrupt data comprises sensitive data packaged with an interrupt vector to trigger an emulated message signaled interrupt (MSI)),
wherein an interrupt service routine (ISR) is invoked based on the interrupt vector to service the emulated MSI using the interrupt data stored at the predetermined memory block, and wherein the interrupt data comprising the sensitive data are processed and removed from the processor prior to exiting the ISR.

### Claim 27 (depends on 26)

The non-transitory machine-readable storage medium of claim 26, wherein the interrupt data comprising the sensitive data is stored in the memory block, allocated from the processor, by the input device via a direct cache access (DCA) transaction over the bus.
