Memory system and operating method thereof
AssigneeSK hynix Inc.
InventorsSung Jin Park, Jung Ae Kim
Life of this patent
Estimating the term…
Abstract
Embodiments of the disclosure relate to a memory system and an operating method thereof. The memory system may decrypt first firmware which is stored in the memory device and is encrypted using a symmetric-key encryption algorithm, with a first key stored in the memory device, may generate a second key based on second firmware, which is obtained by decrypting the first firmware, first data stored in a first area in the memory controller, and second data stored in a second area in the memory device, and may drive the second firmware when the first key and the second key are the same.
Claims13
A memory system comprising:
- a memory device;
- and
- a memory controller configured to communicate with the memory device, and control the memory device,
- wherein the memory controller:
- decrypts first firmware, which is stored in the memory device and is encrypted using a symmetric-key encryption algorithm, with a first key stored in the memory device,
- generates a second key based on second firmware, which is obtained by decrypting the first firmware, first data stored in a first area in the memory controller, and second data stored in a second area in the memory device, and
- drives the second firmware when the first key and the second key are the same, and
- wherein data stored in the first area and data stored in the second area are unchangeable data.
A method for operating a memory system including a memory device and a memory controller, comprising:
- decrypting first firmware, which is stored in the memory device and is encrypted using a symmetric-key encryption algorithm, with a first key stored in the memory device;
- generating a second key based on second firmware, which is obtained by decrypting the first firmware, first data stored in a first area in the memory controller, and second data stored in a second area in the memory device;
- and
- driving the second firmware when the first key and the second key are the same,
- wherein data stored in the first area and data stored in the second area are unchangeable data.
A method of protecting original code, the method comprising:
- generating a first key by coding a sequence of the original code and data according to a hash algorithm;
- encrypting the original code using the first key according to a symmetric key algorithm to store the encrypted code in a system;
- decrypting the stored code using the first key according to the symmetric key algorithm;
- generating a second key by coding the sequence of the decrypted code and the data according to the hash algorithm;
- and
- comparing the first and second keys to determine whether the original code is protected,
- wherein the data is specific to the system.
Dependencies are inferred from the claim text.