Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2ef36b5 authored by Shivaprasad Hongal's avatar Shivaprasad Hongal Committed by Michael Bestas
Browse files

fs_mgr: Wrapped key support for FBE

Add "ice_wrapped_key_supported" support to be read from
fstab.

CRs-Fixed: 2288316

Change-Id: I01f634e8d464059791d731d2af690bdfd8008107
parent 100cf4a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -114,11 +114,13 @@ static struct flag_list fs_mgr_flags[] = {
#define EM_ICE          2
#define EM_AES_256_CTS  3
#define EM_AES_256_HEH  4
#define EM_ICE_WRAPPED_KEY_SUPPORTED 7

static const struct flag_list file_contents_encryption_modes[] = {
    {"aes-256-xts", EM_AES_256_XTS},
    {"software", EM_AES_256_XTS}, /* alias for backwards compatibility */
    {"ice", EM_ICE}, /* hardware-specific inline cryptographic engine */
    {"ice_wrapped_key_supported", EM_ICE_WRAPPED_KEY_SUPPORTED}, /* ICE engine with wrapped key support */
    {0, 0},
};