ANDROID: dm: Add android verity target
authorBadhri Jagan Sridharan <Badhri@google.com>
Tue, 15 Dec 2015 04:09:39 +0000 (20:09 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 18 Aug 2016 13:26:03 +0000 (18:56 +0530)
commit7ca5a9b8bb75bd21ec8cab38f8c6d285766c43a6
treef228df0aca03a377e8638f5e86d3b58b8a70fb26
parentb8681ffa6859d3f267d625d4770987df5832a42b
ANDROID: dm: Add android verity target

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>
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-android-verity.c [new file with mode: 0644]
drivers/md/dm-android-verity.h [new file with mode: 0644]
drivers/md/dm-verity-target.c
drivers/md/dm-verity.h