US 12,265,478 B2
Accelerated encryption during power loss
Amir Segev, Meiter (IL); and Shay Benisty, Beer Sheva (IL)
Assigned to Sandisk Technologies, Inc., Milpitas, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on Jul. 21, 2022, as Appl. No. 17/870,395.
Prior Publication US 2024/0028524 A1, Jan. 25, 2024
Int. Cl. H04L 29/00 (2006.01); G06F 1/3225 (2019.01); G06F 12/0882 (2016.01); G06F 12/14 (2006.01)
CPC G06F 12/1408 (2013.01) [G06F 1/3225 (2013.01); G06F 12/0882 (2013.01)] 20 Claims
OG exemplary drawing
 
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.