Patent ID: 11880313
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A storage device, comprising:
a memory unit corresponding to non-volatile memory; and
a controller unit configured to communicate with a host device wherein, while in communication with the host device, the storage device is further configured to:
receive, from the host device, a request, the request including a request message authentication code and write protection information including at least one of start address information, length information, writable information indicating whether to apply write protection to a memory area, and a selection value selected from among at least first to third write-protection values of a field indicating a type of write-protection to apply to the memory area in response to a power-off, a hardware reset, a power-on, or the request, wherein:
the first write-protection value indicates that the writable information is changed to a first value after a powering on of the storage device, the first value indicating that the memory area is writable,
the second write-protection value indicates that the writable information is changed to a second value after a powering off or a hardware reset of the storage device, the second value indicating that the memory area is protected against writing, and
the third write-protection value indicates that the writable information is changed by the request,
the start address information indicates a logical block address at which the memory area in a non-volatile memory of the storage device starts, and
the length information indicates a length of the memory area;
generate a message authentication code based on at least one of the start address information and the length information, and a key stored at the storage device;
authenticate the request based on the generated message authentication code and the request message authentication code; and
process the request based on a result of the authentication.