MLchartDataset catalogue

Patent · US6587947B1 · B1 · US

System and method for verification of off-chip processor code

(11) Publication number
US6587947B1
(21) Application number
09/283,062
(22) Filing date
1999-04-01
(30) Priority date
1999-04-01
(43) Publication date
2003-07-01
(45) Date of grant
2003-07-01
(51) IPC
G06F 21/00
(52) CPC
  • G06F Electric digital data processing: 21/57, 21/64
(73) Assignee
Intel Corp
(72) Inventors
Amy O'Donnell; George Thangadurai; Anand Rajan
(54) Title
System and method for verification of off-chip processor code
(57) Abstract

An electronic system and corresponding method for verifying the integrity of code that is stored off-chip. The electronic system comprises a memory element to store Processor Abstraction Layer (PAL) code and a processor coupled to the memory element. The processor verifies the integrity of the PAL code prior to execution of the PAL code.

Full text
View on Google Patents

Claims (18)

  1. An electronic system comprising: a memory element to store Processor Abstraction Layer (PAL) code; and a processor coupled to the memory element and including a first secret key, a second secret key, and a pre-computed message authentication code (MAC) value, the processor to verify the integrity of the PAL code prior to execution of the PAL code.
  2. The electronic system of claim 1, wherein the verification of the PAL code occurs prior to releasing the processor from a RESET state.
  3. The electronic system of claim 1, wherein the processor further includes a cyclic redundancy check message authentication code (CRC MAC) function.
  4. The electronic system of claim 3, wherein the first secret key is an irreducible polynomial of degree N, where N is a positive whole number.
  5. The electronic system of claim 4, wherein the second secret key is a random N-bit word.
  6. The electronic system of claim 3, wherein the pre-computed MAC value includes a message digest being a result of a hash operation on the PAL code according to a selected hash function.
  7. The electronic system of claim 6, wherein upon receiving the PAL code, the processor executes the CRC MAC function to produce a computed MAC value.
  8. The electronic system of claims 7, wherein the PAL code is verified if the computed MAC value matches the pre-computed MAC value.
  9. The electronic system of claim 1, wherein both the memory element and the processor are coupled to a substrate covered by a package, the substrate having a connector protruding from the package.
  10. An electronic system comprising: a first substrate; and a processing unit coupled to the first substrate, the processing unit including a second substrate, a processor placed on the second substrate comprises a first secret key, a second secret key, and a pre-computed message authentication code (MAC) value, and an on-substrate memory element coupled to the processor and placed on the second substrate, the on-substrate memory element containing Processor Abstract Layer (PAL) code having its integrity verified by the processor before execution of the PAL code and prior to releasing the processor from a RESET state.
  11. The electronic system of claim 10, wherein the processor of the processing unit further includes a cyclic redundancy check message authentication code (CRC MAC) function.
  12. The electronic system of claim 11, wherein the pre-computed MAC value includes a message digest being a result of a hash operation on the PAL code according to a selected hash function.
  13. The electronic system of claim 12, wherein upon receiving the PAL code, the processor executes the CRC MAC function to produce a computed MAC value in order to verify that the PAL code has not been tampered when the computed MAC value matches the precomputed MAC value.
  14. The electronic system of claim 10, wherein the first secret key is an irreducible polynomial of degree N and the second key is a random N-bit word, where N is a number having a factor of 2.
  15. The electronic system of claim 10, wherein the processing unit is covered by a package with an edge connector of the second substrate protruding from the package.
  16. An electronic system comprising: memory means for storing Processor Abstraction Layer (PAL) code; and processing means for verifying the integrity of the PAL code during a reset sequence before executing the PAL code the processing means including a first secret key, a second secret key, and a pre-computed message authentication code (MAC) value.
  17. A method comprising: loading code from a memory element to a local memory of a processor, the memory element is remotely situated from the processor; performing a cyclic redundancy check message authentication code (CRC MAC) function on the code to produce a computed MAC value; comparing the computed MAC value to a pre-computed MAC value prestored in the local memory of the processor; and allowing the processor to execute the code if the computed MAC value matches the precomputed MAC value.
  18. The method of claim 17 further comprising: preventing the processor from executing the code if the computed MAC value fails to match the pre-computed MAC value.

Description

1. Field

This invention relates to the field of electronics. More particularly, the invention relates to an apparatus and method for integrity verification of code that is stored off-chip.

2. Related Art

Normally, one of the most critical elements for an electronic device is its processor. In general, a processor is an embedded controller that comprises an integrated circuit (IC) including processing logic and on-chip memory. The memory is considered to be “on-chip” if placed on a die forming the IC. For 32-bit Intel® microprocessor architectures (e.g., Intel® IA-32processors), all architecture functionality is implemented on-chip using a combination of hardware and microcode stored in the on-chip memory.

With the development of 64-bit Intel® microprocessor architectures (e.g., Intel® IA-64 processors), some non-performance critical architecture functionality is being considered for implementation in off-chip firmware code. The use of off-chip firmware code provides a few advantages.

One advantage is that the current die size constraints associated with IA-32 processors can be maintained or even reduced for subsequent generation technologies. For instance, additional run-time services can be added without increasing the size of the on-chip memory, and hence, the die size of the processor. Another advantage is that the overall performance of the processor can be enhanced. This is due to the fact that a lesser amount of architecture functionality is required to be placed in on-chip memory so that more die area is available for processing logic.

Citations (15)

  • US4271482A
  • US4215421A
  • US4206315A
  • US4462076A
  • US4578531A
  • US5005200A
  • US5214702A
  • US4951280A
  • US5097505A
  • US5142579A
  • US5231666A
  • US5323465A
  • US5802277A
  • US5699428A
  • US5844986A