An engine, register in a memory, and methods for the same are provided.
The engine may include a data encryptor, a key encryptor, a data
decryptor, a key decryptor, a register, and a control circuit. The data
encryptor may encrypt data using a key. The key encryptor may encrypt the
key used by the data encryptor. The data decryptor may receive encrypted
data from a storage medium and may decrypt the encrypted data. The key
decryptor may receive an encrypted key from the storage medium and may
decrypt the encrypted key. The register may indicate the status of the
key and/or the encrypted key. The control circuit may control the data
encryptor, the data decryptor, the key encryptor, the key decryptor, and
the register.