CPC G06F 21/602 (2013.01) [G06F 12/1408 (2013.01); G06F 12/1425 (2013.01); G06F 21/78 (2013.01); H04L 9/0861 (2013.01); H04L 9/0891 (2013.01)] | 16 Claims |
1. A magnetic disk device comprising:
a disk;
a head writing data to the disk and reading data from the disk; and
a controller managing a key generation of a cryptographic key, based on generation confirmation information which is generated by the cryptographic key managed by an external device and transferred from the external device, and which is unable to generate the cryptographic key, wherein
the controller comprises a table including an LBA range, the generation confirmation information corresponding to the LBA range, and the key generation corresponding to the LBA range,
when receiving first update information indicating that a first cryptographic key of the cryptographic key is updated and a first LBA range set to the first cryptographic key from the external device, the controller compares first information and first data corresponding to the first LBA range in association with the cryptographic key, and
when the first information and the first data do not match, the controller changes first generation confirmation information of the generation confirmation information corresponding to the first LBA range and a first key generation corresponding to the first generation confirmation information, to second generation confirmation information of the generation confirmation information associated with the first cryptographic key and a second key generation associated with the first cryptographic key, respectively, in the table.
|