Electronic device for code integrity checking and control method thereof
AssigneeSamsung Electronics Co., Ltd.
InventorIn-ho Kim
Life of this patent
Estimating the term…
Abstract
An electronic device and a control method thereof are provided. The electronic device includes a memory configured to include a non-secure region operating in a normal world and a secure region operating in a secure world, and a processor configured to selectively operate in one of the normal world and the secure world, check integrity of a plurality of code blocks loaded on a first area of the non-secure region while operating in the secure world, and when one of the plurality of code blocks is compromised, change a memory region corresponding to a compromised code block to a secure region, and load an original code block of the compromised code block on a second area of the non-secure region.
Claims20
An electronic device comprising:
- a memory configured to include a non-secure region operating in a normal world and a secure region operating in a secure world;
- and
- a processor configured to:
- selectively operate in one of the normal world and the secure world,
- check integrity of a plurality of code blocks loaded on a first area of the non-secure region while operating in the secure world, and
- when one of the plurality of code blocks is compromised:
- change a memory region corresponding to a compromised code block to the secure region, and
- load an original code block of the compromised code block on a second area of the non-secure region.
A control method of an electronic device including a memory, the memory including a non-secure region operating in a normal world and a secure region operating in a secure world, and a processor selectively operating in one of the normal world and the secure world, the control method comprising:
- checking integrity of a plurality of code blocks loaded on a first area of the non-secure region while operating in the secure world;
- and
- changing a memory region corresponding to a compromised code block to the secure region when one of the plurality of code blocks is compromised and loading an original code block of the compromised code block on a second area of the non-secure region.
A non-transitory computer-readable recording medium including a program for controlling an electronic device, wherein the program when executed by at least one processor of the electronic device is configured to perform a control method of the electronic device, the control method of the electronic device comprising:
- checking integrity of a plurality of code blocks loaded on a first area of a non-secure region of memory while operating in a secure world;
- and
- changing a memory region corresponding to a compromised code block to a secure region of memory when one of the plurality of code blocks is compromised and loading an original code block of the compromised code block on a second area of the non-secure region.
Dependencies are inferred from the claim text.