commit | 07f77ac64f3fb1bfe1bc4213f5add34b5bfb9dac | [log] [tgz] |
---|---|---|
author | Shivaprasad Hongal <shongal@codeaurora.org> | Thu Aug 30 14:20:44 2018 -0700 |
committer | Shivaprasad Hongal <shongal@codeaurora.org> | Thu Aug 30 14:20:44 2018 -0700 |
tree | 12591afb767536ae8ae5e4a14522d1539cbd5393 | |
parent | 7cc34529cd52b1522ed60497437851758312c066 [diff] |
cryptfs_hw: Add a workaround for metadata encryption Add a workaround for is_ice_enabled to return 0 if the metadata partition is present to support metadata encryption. This is because HW FDE is a compile time flag and would go on to encrypt the whole disk even for metadata encryption if this does not return 0. Hence, checking for metadata partition. Change-Id: I0b08aaf4fbe5b15acb3e8963e16e75b9ad515d09 Signed-off-by: Shivaprasad Hongal <shongal@codeaurora.org>