System and method for memory data protection with secure pad memory
AssigneeBroadcom Corporation
InventorsXuemin Chen, Stephane W. Rodgers
Life of this patent
Estimating the term…
Abstract
A system and a method for protecting the security of data stored externally to a data processing engine of a data processor using at least one secure pad memory that is mapped to internal memory of the data processing engine and to the external memory. The memory data protection system and method performs an arithmetic operation, such as a bitwise exclusive OR (“XOR”) operation, on data being read from the data processing engine or written to the external memory using data stored in secure pads of the secure pad memory, which data may be random numbers generated by a random number generator.
Claims26
A memory data protection system (“MDPS”) for protecting data in a data processor, the MDPS comprising:
- at least one data processing engine configured to process data including an internal memory;
- a main memory configured to store data processed by the at least one data processing engine;
- at least one secure pad memory coupled to, and in signal communication with, both the at least one data processing engine and the main memory, wherein the at least one secure pad memory includes a plurality of secure pads, wherein the at least one data processing engine and the at least one secure pad memory are part of an integrated circuit chip, wherein the main memory is not part of the integrated circuit chip;
- and
- a security processor in signal communication with the secure pad memory, wherein the security processor includes a random number generator that generates a plurality of numbers, each number being sized for a secure pad of the plurality of secure pads, wherein the security processor loads the plurality of numbers into the plurality of secure pads, wherein a first content residing in a memory block from the internal memory is scrambled by a second content residing in a corresponding secure pad before being stored as third content in a corresponding block in the main memory.
A method for protecting processed data stored in off-chip memory of a data processing engine, the method comprising:
- preloading a secure pad memory having at least one secure pad with predetermined data;
- receiving processed data from an internal memory of the data processing engine, wherein the secure pad memory and the data processing engine including the internal memory are part of an integrated circuit chip, wherein the off-chip memory is not part of the integrated circuit chip, wherein the predetermined data is used to scramble processed data from the internal memory before communicating the scrambled data to the off-chip memory;
- mapping each block of the internal memory to each block of the secure pad memory;
- mapping each block of the off-chip memory to each block of the secure pad memory;
- retrieving a selected portion of the predetermined data stored in the secure pad memory;
- performing a mathematical operation on the processed data from internal memory and the selected portion of the predetermined data stored in the secure pad memory;
- writing the result of the mathematical operation to the off-chip memory;
- and
- using contents residing in a same block in the secure pad memory when a particular block in the internal memory is in two-way communication with a particular block in the off-chip memory.
A memory data protection system (“MDPS”) for protecting data in a data processor, the MDPS comprising:
- a first circuit that preloads one or more secure pads of a secure pad memory with predetermined data;
- a second circuit that receives data from an internal memory of a data processor engine, wherein the secure pad memory includes a plurality of secure pads, wherein the secure pad memory and data processor engine including the internal memory are part of an integrated circuit chip, wherein an external memory is not part of the integrated circuit chip, wherein communications between the internal memory and the external memory are scrambled by the predetermined data of the secure pad memory, wherein the first circuit generates a plurality of random numbers, each number being sized for a secure pad of the plurality of secure pads, wherein the first circuit loads the plurality of random numbers into the plurality of secure pads, wherein each secure pad has a single block, wherein each block of the internal memory is mapped to each block of the secure pad memory, wherein each block of the external memory is mapped to each block of the secure pad memory;
- a third circuit that retrieves a selected portion of the data stored in the secure pad memory;
- a fourth circuit that performs a mathematical operation on the data from the internal memory and the selected portion of the data stored in the secure pad memory;
- a fifth circuit that writes the result of the mathematical operation to the external memory;
- a sixth circuit that receives data from the external memory of the data processor engine;
- a seventh circuit that performs a mathematical operation on the data from the external memory and the selected portion of the data stored in the secure pad memory;
- and
- an eighth circuit that writes the result of the mathematical operation to the internal memory.
A non-transitory computer-readable medium having software for protecting data stored in an off-chip memory of a data processor engine, the computer-readable medium comprising:
- logic configured for preloading a secure pad memory with predetermined data;
- logic configured for receiving stored data from an internal memory of the data processor engine;
- logic configured for retrieving a selected portion of the predetermined data stored in the secure pad memory, wherein the secure pad memory includes a plurality of secure pads, wherein the secure pad memory and data processor engine including the internal memory are part of an integrated circuit chip, wherein the off-chip memory is not part of the integrated circuit chip, wherein communications between the internal memory and the off-chip memory are scrambled by the predetermined data of the secure pad memory, wherein the preloading logic generates a plurality of random numbers, each number being sized for a secure pad of the plurality of secure pads, wherein the preloading logic loads the plurality of random numbers into the plurality of secure pads, wherein each secure pad has a single block, wherein each block of the internal memory is mapped to each block of the secure pad memory, wherein each block of the off-chip memory is mapped to each block of the secure pad memory, wherein a size of each secure pad is the same as the size of each block of the internal memory and the size of each block of the off-chip memory;
- logic configured for performing a mathematical operation on the stored data from the internal memory and the selected portion of the predetermined data stored in the secure pad memory;
- and
- logic configured for writing the result of the mathematical operation to the external memory.
Dependencies are inferred from the claim text.