CPC G06F 16/221 (2019.01) [G06F 3/0608 (2013.01); G06F 3/0652 (2013.01); G06F 3/0679 (2013.01); G06F 12/0246 (2013.01); G06F 16/2255 (2019.01); G06F 2212/7201 (2013.01)] | 19 Claims |
1. A method comprising:
receiving a first value and a first key from an external device, the first key identifying the first value;
generating first key age data;
writing the first value, the first key and the first key age data in a nonvolatile memory device;
reading the first key and the first key age data from the nonvolatile memory device in response to an erase command received from the external device; and
erasing the first value based on the first key and the first key age data in response to the erase command by,
transmitting a complete message to the external device prior to performing an erase operation,
performing the erase operation to erase the first value after the complete message is transmitted by,
determining whether a size of the first value written in the nonvolatile memory device is greater than a reference size, the reference size being based on a page size of the nonvolatile memory device,
generating erase information data that includes page range data corresponding to information of pages storing the first value and the first key age data, in response to the size of the first value being greater than the reference size, and
performing the erase operation on the pages storing the first value based on the erase information data, and
changing the first key age data corresponding to the first value after the first value is erased such that the first key age data varies in response to completion of the erase operation of the first value.
|