platform_system_core/fs_mgr/libdm
Barani Muthukumaran 2ca1d83ddb Add wrapped key support for metadata encryption
Change metadata_cipher fstab option to metadata_encryption
that includes encryption flags in addition to the cipher.
wrappedkey_v0 encryption flag is used to denote that the
inline encryption hardware supports wrapped keys. dm-default-key
device is created and a wrappedkey is provided along with the
optional wrappedkey_v0 argument.

Bug: 147733587

Test: FBE validation with Fscrypt v2 + inline crypt + wrapped
key changes kernel and metadata encryption with wrapped key.

Change-Id: Id1a18db175680dd6b0adb4594d06566eb1285785
2020-02-18 12:44:40 -08:00
..
include/libdm Add wrapped key support for metadata encryption 2020-02-18 12:44:40 -08:00
Android.bp Add libdm_test to presubmit 2020-02-03 17:34:44 +00:00
Android.mk Allow makefiles to be parsed in a trimmed down manifest. 2019-03-25 09:14:33 +00:00
AndroidTest.xml Make VTS run libdm_test 2019-03-22 15:11:49 -07:00
dm.cpp libsnapshot: snaity check overflow bit at the end of update 2019-12-09 16:06:03 -08:00
dm_linear_fuzzer.cpp Fix fuzzer name and sizeof(array) 2019-10-21 11:44:08 +00:00
dm_table.cpp libdm: Fix DmTable::num_sectors 2019-10-01 19:43:33 -07:00
dm_target.cpp Add wrapped key support for metadata encryption 2020-02-18 12:44:40 -08:00
dm_test.cpp Add wrapped key support for metadata encryption 2020-02-18 12:44:40 -08:00
loop_control.cpp Fix fds libdm_test 2019-10-01 19:43:33 -07:00
loop_control_test.cpp libdm: Fix race conditions in LoopControl::Attach. 2019-07-11 15:39:53 -07:00
test_util.cpp libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00
test_util.h Move TempDevice to test_util.h 2019-10-10 20:59:33 +01:00
utility.cpp libdm: add an overload of DeleteDevice accepting a timeout_ms 2019-12-05 10:37:47 +00:00
utility.h libdm: add an overload of DeleteDevice accepting a timeout_ms 2019-12-05 10:37:47 +00:00