Method and apparatus for encrypting and decrypting user data
AssigneeSilicon Motion, Inc.
InventorAn-Pang LI
Life of this patent
Estimating the term…
Abstract
The invention introduces an apparatus for encrypting and decrypting user data, including a memory, a bypass-flag writing circuit and a flash interface controller. The bypass-flag writing circuit writes a bypass flag in a remaining bit of space of the memory that is originally allocated for storing an End-to-End Data Path Protection (E2E DPP), where the bypass flag indicates whether user data has been encrypted. The flash interface controller reads the user data, the E2E DPP and the bypass flag from the memory and programs the user data, the E2E DPP and the bypass flag into the flash device.
Claims20
An apparatus for encrypting and decrypting user data, comprising:
- a memory;
- a bypass-flag writing circuit, coupled to the memory, arranged to operably write a bypass flag in a remaining bit of space of the memory that is originally allocated for storing an End-to-End Data Path Protection (E2E DPP), wherein the bypass flag indicates whether user data has been encrypted;
- and
- a flash interface controller, coupled to a flash device and the memory, arranged to operably read the user data, the E2E DPP and the bypass flag from the memory and program the user data, the E2E DPP and the bypass flag into the flash device.
An apparatus for encrypting and decrypting user data, comprising:
- a flash interface controller, coupled to a flash device, arranged to operably read user data and a bypass flag from the flash device and store the user data and the bypass flag in a memory, wherein the bypass flag is stored in a remaining bit of space of the memory that is originally allocated for storing an End-to-End Data Path Protection (E2E DPP) to indicate whether the user data has been encrypted;
- a user-data and flag checker, coupled to the flash interface controller, arranged to operably output the bypass flag received from the flash interface controller;
- and
- an encryption-and-decryption controller, coupled to the user-data and flag checker, arranged to operably receive the bypass flag, configure a decryption path or a bypass path that makes the user data passed through according to the bypass flag, wherein the decryption path comprises an encryption-and-decryption engine, the bypass path does not include the encryption-and-decryption engine, and the encryption-and-decryption engine is arranged to operably decrypt the user data using a key.
A method for encrypting and decrypting user data, comprising:
- programming user data, an End-to-End Data Path Protection (E2E DPP) and a bypass flag into a flash device, wherein the bypass flag is stored in a remaining bit of space of the flash device that is originally allocated for storing the E2E DPP, and the bypass flag indicates whether the user data has been encrypted.
Dependencies are inferred from the claim text.