aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-android-verity.h
Commit message (Collapse)AuthorAgeFilesLines
* ANDROID: dm: Mounting root as linear device when verity disabledBadhri Jagan Sridharan2017-12-271-0/+3
| | | | | | | | | This CL makes android-verity target to be added as linear dm device if when bootloader is unlocked and verity is disabled. Bug: 27175947 Change-Id: Ic41ca4b8908fb2777263799cf3a3e25934d70f18 Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
* ANDROID: dm: Add android verity targetBadhri Jagan Sridharan2017-12-271-0/+92
This device-mapper target is virtually a VERITY target. This target is setup by reading the metadata contents piggybacked to the actual data blocks in the block device. The signature of the metadata contents are verified against the key included in the system keyring. Upon success, the underlying verity target is setup. BUG: 27175947 Change-Id: I7e99644a0960ac8279f02c0158ed20999510ea97 Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>