×

Power failure tolerant cryptographic erase

  • US 9,092,370 B2
  • Filed: 12/19/2013
  • Issued: 07/28/2015
  • Est. Priority Date: 12/03/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method of cryptographically erasing data in a storage device, at a controller of the storage device, the storage device having a first encryption key established as a current encryption key prior to performance of the method, the method comprising:

  • updating a durably stored progress indicator to indicate a first stage;

    performing a set of first stage operations, including;

    obtaining a second encryption key;

    in accordance with a determination that a power fail condition did not occur while the progress indicator indicates the first stage;

    updating the progress indicator to indicate a second stage;

    performing a set of second stage operations, including;

    storing, in a first set of memory blocks on the storage device, a first set of metadata corresponding to the first set of memory blocks, encrypted using the second encryption key; and

    storing, in the first set of memory blocks, a second set of metadata corresponding to a second set of memory blocks on the storage device, encrypted using the second encryption key;

    wherein the second set of memory blocks does not comprise any memory block in the first set of memory blocks; and

    ,in accordance with a determination that a power fail condition did not occur while the progress-counter indicates the second stage;

    updating the progress indicator to indicate a third stage;

    performing a set of third stage operations, including storing, in the second set of memory blocks, the second set of metadata encrypted using the second encryption key; and

    subsequent to storing, in the second set of memory blocks, the second set of metadata encrypted using the second encryption key, setting the second encryption key as the current encryption key for the plurality of memory blocks.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×