Patent ID: 8812908

Claim:
A secure container configured to communicatively couple to a computing device, the secure container comprising: volatile storage; non-volatile storage including an indicator having a value that indicates whether a state of the non-volatile storage is accurate or possibly inaccurate; a secure interface to receive requests from components of the computing device to read and write to the volatile storage, the contents of the secure container being inaccessible to the components of the computing device other than through the secure interface; and a controller, configured to receive an indication that the computing device has experienced a power failure and, at least partly in response: copying contents of the volatile storage to the non-volatile storage, the copying comprises: comparing contents of the volatile storage to contents of the non-volatile storage to identify one or more portions of the non-volatile storage that do not match corresponding portions of the volatile storage; and overwriting the one or more portions of the non-volatile storage with the corresponding portions of the volatile storage without overwriting a remainder of the non-volatile storage; and after the copying of the contents, updating the value of the indicator to indicate that the state of the non-volatile storage is accurate.