# US 2005/0097341 A1 · Data processing apparatus and method for merging secure and non-secure data into an output data stream

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

- Number: US 2005/0097341 A1
- Document ID: US20050097341A1
- Status: Published application
- Kind: A1
- Application number: 10/931,210
- Filed: 2004-09-01
- Published: 2005-05-05
- Earliest claimed: 2003-09-26
- Assignees: Arm Limited
- Inventors: Hedley Francis; Ashley Stevens; Andrew Rose
- Web page: https://patentgrep.com/patent/US20050097341A1

## CPC

- G06F 21/72: in cryptographic circuits
- G06F 21/84: output devices, e.g. displays or monitors
- G06F 21/109: {by using specially-adapted hardware at the client}
- G06F 2221/2105: Dual mode as a secondary aspect
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a data processing apparatus and method for merging secure and non-secure data. The apparatus comprises at least one processor operable to execute a non-secure process to produce non-secure data to be included in an output data stream, and to execute a secure process to produce secure data to be included in the output data stream. A non-secure buffer is provided for receiving the non-secure data produced by the non-secure process, and in addition a secure buffer is provided for receiving the secure data produced by the secure process, the secure buffer not being accessible by the non-secure process. An output controller is then arranged to read the non-secure data from the non-secure buffer and the secure data from the secure buffer, and to merge the non-secure data and the secure data in order to produce a combined data stream, the output data stream then being derivable from the combined data stream. It has been found that such an approach assists in improving the security of the secure data, and in reducing memory bandwidth requirements and the processing requirements of the processor.

## Claims

### Claim 1

A data processing apparatus, comprising:
at least one processor operable to execute a non-secure process to produce non-secure data to be included in an output data stream, and to execute a secure process to produce secure data to be included in the output data stream;
a non-secure buffer operable to receive the non-secure data produced by the non-secure process;
a secure buffer operable to receive the secure data produced by the secure process, the secure buffer not being accessible by the non-secure process; and
an output controller operable to read the non-secure data from the non-secure buffer and the secure data from the secure buffer and having merging logic operable to merge the non-secure data and the secure data in order to produce a combined data stream, the output controller being further operable to derive the output data stream from the combined data stream.

### Claim 2 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the processor is operable to manage access permission data for the secure buffer, and to define the access permission data such that the secure buffer is not accessible by the non-secure process.

### Claim 3 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the non-secure buffer and the secure buffer are provided within a memory system, and wherein the memory system is operable to manage access to the secure buffer, and to prevent access to the secure buffer by the non-secure process.

### Claim 4 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the secure buffer is arranged so that its content cannot be read by the processor.

### Claim 5 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the merging logic is arranged to receive the non-secure data and the secure data in a first predetermined format, at least one of the non-secure and secure buffers being operable to store data in a second predetermined format, the output controller further comprising conversion logic associated with the at least one of the non-secure and secure buffers and operable to convert data received from that buffer from the second predetermined format into the first predetermined format prior to that data being received by the merging logic.

### Claim 6 (depends on 5)

A data processing apparatus as claimed in claim 5, wherein the secure buffer is operable to store the secure data in the second predetermined format.

### Claim 7 (depends on 1)

A data processing apparatus as claimed in claim 1, further comprising an output device connected to the output controller to receive the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 8 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the output controller further comprises encryption logic operable to encrypt the combined data stream prior to output as the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 9 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the output controller is operable to provide a watermark in the output data stream.

### Claim 10 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the output controller further comprises a digital to analogue converter for converting the combined data stream into an analogue signal prior to output as the output data stream.

### Claim 11 (depends on 1)

A data processing apparatus as claimed in claim 1, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store.

### Claim 12 (depends on 11)

A data processing apparatus as claimed in claim 11, wherein the output data stream is a frame of display data.

### Claim 13 (depends on 5)

A data processing apparatus as claimed in claim 5, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store, and wherein the conversion logic is operable to perform a colour space conversion process.

### Claim 14 (depends on 13)

A data processing apparatus as claimed in claim 13, wherein the first predetermined format is an RGB format, the second predetermined format is a YUV format, and the at least one of the non-secure and secure buffers is operable to store image data in said YUV format.

### Claim 15 (depends on 11)

A data processing apparatus as claimed in claim 11, wherein the display controller further comprises filtering logic operable to perform a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic.

### Claim 16 (depends on 11)

A data processing apparatus as claimed in claim 11, wherein the display controller further comprises scaling logic operable to perform a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic.

### Claim 17 (depends on 13)

A data processing apparatus as claimed in claim 13, wherein the display controller further comprises filtering logic operable to perform a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic, the display controller further comprises scaling logic operable to perform a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic and wherein the conversion logic, filtering logic and scaling logic are associated with the secure frame store.

### Claim 18

An output controller for a data processing apparatus, the data processing apparatus having at least one processor operable to execute a non-secure process to produce non-secure data to be included in an output data stream, and to execute a secure process to produce secure data to be included in the output data stream, a non-secure buffer operable to receive the non-secure data produced by the non-secure process, and a secure buffer operable to receive the secure data produced by the secure process, the secure buffer not being accessible by the non-secure process, the output controller comprising:
at least one read interface operable to read the non-secure data from the non-secure buffer and the secure data from the secure buffer;
merging logic operable to merge the non-secure data and the secure data in order to produce a combined data stream; and
output means operable to derive the output data stream from the combined data stream.

### Claim 19 (depends on 18)

An output controller as claimed in claim 18, wherein the merging logic is arranged to receive the non-secure data and the secure data in a first predetermined format, at least one of the non-secure and secure buffers being operable to store data in a second predetermined format, the output controller further comprising:
conversion logic associated with the at least one of the non-secure and secure buffers and operable to convert data received from that buffer from the second predetermined format into the first predetermined format prior to that data being received by the merging logic.

### Claim 20 (depends on 19)

An output controller as claimed in claim 19, wherein the secure buffer is operable to store the secure data in the second predetermined format.

### Claim 21 (depends on 18)

An output controller as claimed in claim 18, further comprising an output device connected to the output controller to receive the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 22 (depends on 18)

An output controller as claimed in claim 18, further comprising:
encryption logic operable to encrypt the combined data stream prior to output as the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 23 (depends on 18)

An output controller as claimed in claim 18, further comprising means for providing a watermark in the output data stream.

### Claim 24 (depends on 18)

An output controller as claimed in claim 18, further comprising:
a digital to analogue converter for converting the combined data stream into an analogue signal prior to output as the output data stream.

### Claim 25 (depends on 18)

An output controller as claimed in claim 18, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store.

### Claim 26 (depends on 25)

An output controller as claimed in claim 25, wherein the output data stream is a frame of display data.

### Claim 27 (depends on 19)

An output controller as claimed in claim 19, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store, and wherein the conversion logic is operable to perform a colour space conversion process.

### Claim 28 (depends on 27)

An output controller as claimed in claim 27, wherein the first predetermined format is an RGB format, the second predetermined format is a YUV format, and the at least one of the non-secure and secure buffers is operable to store image data in said YUV format.

### Claim 29 (depends on 25)

An output controller as claimed in claim 25, wherein the display controller further comprises:
filtering logic operable to perform a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic.

### Claim 30 (depends on 25)

An output controller as claimed in claim 25, wherein the display controller further comprises:
scaling logic operable to perform a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic.

### Claim 31 (depends on 27)

An output controller as claimed in claim 27, wherein the display controller further comprises:
filtering logic operable to perform a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic;
scaling logic operable to perform a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being received by the merging logic; and
wherein the conversion logic, filtering logic and scaling logic are associated with the secure frame store.

### Claim 32

A method of merging secure and non-secure data into an output data stream, comprising the steps of:
executing a non-secure process to produce the non-secure data to be included in the output data stream;
executing a secure process to produce the secure data to be included in the output data stream;
storing the non-secure data in a non-secure buffer;
storing the secure data in a secure buffer, the secure buffer not being accessible by the non-secure process;
employing an output controller to read the non-secure data from the non-secure buffer and the secure data from the secure buffer;
merging within the output controller the non-secure data and the secure data in order to produce a combined data stream; and
deriving the output data stream from the combined data stream.

### Claim 33 (depends on 32)

A method as claimed in claim 32, wherein the processor is operable to manage access permission data for the secure buffer, and the method further comprises the step of defining the access permission data such that the secure buffer is not accessible by the non-secure process.

### Claim 34 (depends on 32)

A method as claimed in claim 32, wherein the non-secure buffer and the secure buffer are provided within a memory system, and the method further comprises the step of employing the memory system to manage access to the secure buffer so as to prevent access to the secure buffer by the non-secure process.

### Claim 35 (depends on 32)

A method as claimed in claim 32, further comprising the step of arranging the secure buffer so that its content cannot be read by the processor.

### Claim 36 (depends on 32)

A method as claimed in claim 32, wherein the merging step is performed on the non-secure data and the secure data in a first predetermined format, at least one of the non-secure and secure buffers being operable to store data in a second predetermined format, and the method further comprising:
converting within the output controller data received from the at least one of the non-secure and secure buffers from the second predetermined format into the first predetermined format prior to that data being used in the merging step.

### Claim 37 (depends on 36)

A method as claimed in claim 36, wherein the secure buffer is operable to store the secure data in the second predetermined format.

### Claim 38 (depends on 32)

A method as claimed in claim 32, further comprising the step of providing an output device connected to the output controller to receive the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 39 (depends on 32)

A method as claimed in claim 32, further comprising the step of encrypting the combined data stream prior to output as the output data stream, whereby the output data stream is not accessible by any non-secure process.

### Claim 40 (depends on 32)

A method as claimed in claim 32, further comprising the step of providing a watermark in the output data stream.

### Claim 41 (depends on 32)

A method as claimed in claim 32, further comprising the step of converting the combined data stream into an analogue signal prior to output as the output data stream.

### Claim 42 (depends on 32)

A method as claimed in claim 32, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store.

### Claim 43 (depends on 42)

A method as claimed in claim 42, wherein the output data stream is a frame of display data.

### Claim 44 (depends on 36)

A method as claimed in claim 36, wherein the output controller is a display controller, the non-secure data and secure data are display data, the non-secure buffer is a non-secure frame store, and the secure buffer is a secure frame store, and wherein the converting step performs a colour space conversion process.

### Claim 45 (depends on 44)

A method as claimed in claim 44, wherein the first predetermined format is an RGB format, the second predetermined format is a YUV format, and the at least one of the non-secure and secure buffers is operable to store image data in said YUV format.

### Claim 46 (depends on 42)

A method as claimed in claim 42, further comprising the step of performing a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being used in the merging step.

### Claim 47 (depends on 42)

A method as claimed in claim 42, further comprising the step of performing a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being used in the merging step.

### Claim 48 (depends on 44)

A method as claimed in claim 44, further comprising the step of performing a filtering process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being used in the merging step, and further comprising the step of performing a scaling process on image data received from an associated one of said non-secure and secure frame stores prior to that image data being used in the merging step, wherein the converting step, filtering step and scaling step are performed on secure data from the secure frame store.
