# US 2009/0292893 A1 · Microprocessor having secure non-volatile storage access

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

- Number: US 2009/0292893 A1
- Document ID: US20090292893A1
- Status: Published application
- Kind: A1
- Application number: 12/263,131
- Filed: 2008-10-31
- Published: 2009-11-26
- Earliest claimed: 2008-05-24
- Assignees: VIA Technologies, Inc.
- Inventors: G. Glenn Henry; Terry Parks
- Web page: https://patentgrep.com/patent/US20090292893A1

## CPC

- G06F 21/72: in cryptographic circuits
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/12: Protecting executable software
- G06F 21/14: against software analysis or reverse engineering, e.g. by obfuscation
- G06F 21/554: {involving event detection and direct action}
- G06F 21/71: to assure secure computing or processing of information
- G06F 21/73: by creating or determining hardware identification, e.g. serial numbers
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F 21/82: Protecting input, output or interconnection devices
- G06F 21/70: Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus providing for a secure execution environment. The apparatus includes a microprocessor and a secure non-volatile memory. The microprocessor is configured to execute non-secure application programs and a secure application program, where the non-secure application programs are accessed from a system memory via a system bus. The secure non-volatile memory is coupled to the microprocessor via a private bus. The secure non-volatile memory is configured to store the secure application program, where transactions over the private bus between the microprocessor and the secure non-volatile memory are isolated from the system bus and corresponding system bus resources within the microprocessor.

## Claims

### Claim 1

An apparatus providing for a secure execution environment, comprising:
a microprocessor, configured to execute non-secure application programs and a secure application program, wherein said non-secure application programs are accessed from a system memory via a system bus; and
a secure non-volatile memory, coupled to said microprocessor via a private bus, configured to store said secure application program, wherein transactions over said private bus between said microprocessor and said secure non-volatile memory are isolated from said system bus and corresponding system bus resources within said microprocessor.

### Claim 2 (depends on 1)

The apparatus as recited in claim 1, wherein said secure non-volatile memory comprises a flash ROM.

### Claim 3 (depends on 1)

The apparatus as recited in claim 1, wherein said private bus comprises a serial bus.

### Claim 4 (depends on 1)

The apparatus as recited in claim 1, wherein said transactions comprise parts of said secure application program that are encrypted according to a cryptographic algorithm.

### Claim 5 (depends on 4)

The apparatus as recited in claim 4, wherein said cryptographic algorithm comprises the Advanced Encryption Standard (AES) algorithm.

### Claim 6 (depends on 4)

The apparatus as recited in claim 4, wherein a cryptographic key that is unique to said microprocessor is employed to encrypt and decrypt said parts.

### Claim 7 (depends on 1)

The apparatus as recited in claim 1, wherein said private bus and said secure non-volatile memory cannot be observed or accessed by said non-secure application programs.

### Claim 8 (depends on 1)

The apparatus as recited in claim 1, wherein said microprocessor generates hashes of selected parts of said secure application program when stored in said secure non-volatile memory, and wherein said hashes are additionally stored within said secure non-volatile memory.

### Claim 9

A microprocessor apparatus, for executing secure code within a secure execution environment, the microprocessor apparatus comprising:
a secure non-volatile memory, configured to store a secure application program; and
a microprocessor, coupled to said secure non-volatile memory via a private bus, configured to execute non-secure application programs and said secure application program, said microprocessor comprising:
a bus interface unit, configured to accomplish system bus transactions over a system bus to access said non-secure applications in system memory, and;
a secure non-volatile memory interface unit, configured to couple said microprocessor to said secure non-volatile memory via a private bus, wherein private bus transactions over said private bus to access said secure non-volatile memory are hidden from observation by system bus resources within said microprocessor and to any device coupled to said system bus.

### Claim 10 (depends on 9)

The microprocessor apparatus as recited in claim 9, wherein said secure non-volatile memory comprises a flash ROM.

### Claim 11 (depends on 9)

The microprocessor apparatus as recited in claim 9, wherein said private bus comprises a serial bus.

### Claim 12 (depends on 9)

The microprocessor apparatus as recited in claim 9, wherein said private bus transactions comprise parts of said secure application program that are encrypted according to a cryptographic algorithm.

### Claim 13 (depends on 12)

The microprocessor apparatus as recited in claim 12, wherein said cryptographic algorithm comprises the Advanced Encryption Standard (AES) algorithm.

### Claim 14 (depends on 12)

The microprocessor apparatus as recited in claim 12, wherein a cryptographic key that is unique to said microprocessor is employed to encrypt and decrypt said parts.

### Claim 15 (depends on 9)

The microprocessor apparatus as recited in claim 9, wherein said private bus and said secure non-volatile memory cannot be observed or accessed by said non-secure application programs during execution.

### Claim 16 (depends on 9)

The microprocessor apparatus as recited in claim 9, wherein said microprocessor generates hashes of selected parts of said secure application program when stored in said secure non-volatile memory, and wherein said hashes are additionally stored within said secure non-volatile memory.

### Claim 17

A method for executing secure code within a secure execution environment, the method comprising:
providing a secure non-volatile memory for storage of the secure code;
storing the secure code within the secure non-volatile memory via private transactions accomplished over a private bus that is coupled to the secure non-volatile memory; and
fetching the secure code from the secure non-volatile memory over the private bus for execution by a microprocessor;
wherein the private bus is isolated from all system bus resources within the microprocessor and external to the microprocessor, and wherein the private bus is observable and accessible exclusively by secure execution logic within the microprocessor.

### Claim 18 (depends on 17)

The method as recited in claim 17, wherein the secure non-volatile memory comprises a flash ROM.

### Claim 19 (depends on 17)

The method as recited in claim 17, wherein said storing comprises accomplishing serial transactions over the private bus to access the secure non-volatile memory.

### Claim 20 (depends on 17)

The method as recited in claim 17, wherein said storing comprises encrypting the secure code according to a cryptographic algorithm prior to said storing.

### Claim 21 (depends on 20)

The method as recited in claim 20, wherein the cryptographic algorithm comprises the Advanced Encryption Standard (AES) algorithm.

### Claim 22 (depends on 20)

The method as recited in claim 20, wherein a cryptographic key that is unique to the microprocessor is employed to encrypt the secure code and to decrypt the secure code subsequent to said fetching.

### Claim 23 (depends on 17)

The method as recited in claim 17, wherein the private bus and the secure non-volatile memory cannot be observed or accessed by non-secure code during execution by the microprocessor.

### Claim 24 (depends on 17)

The method as recited in claim 17, wherein said storing comprises generating hashes of selected portions of the secure code, and additionally storing the hashes in the secure non-volatile memory.
