| CPC G06F 12/1408 (2013.01) [G06F 1/3225 (2013.01); G06F 12/0882 (2013.01)] | 20 Claims |

|
1. A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
determine that a first cache contains data;
determine that at least some data in the first cache is unaligned;
combine the unaligned first cache data;
encrypt the combined unaligned first cache data with a pFail key, wherein the pFail key is a dedicated key for power failure scenarios used to speed up a flush process; and
send the encrypted combined unaligned first cache data with the pFail key to the memory device.
|