OSDN Git Service

ANDROID: dm: Add android verity target
authorBadhri Jagan Sridharan <Badhri@google.com>
Tue, 15 Dec 2015 04:09:39 +0000 (20:09 -0800)
committerVikram Mulukutla <markivx@codeaurora.org>
Fri, 28 Oct 2016 21:46:56 +0000 (14:46 -0700)
commit6fad3408f51133bd4d7978b4de54d57ecee33a38
tree51f1b1b0e04004f2aaeefd355e4aeafa71677059
parentd3dd1af9c3f4cc4bd881e51cf29ff0ea50720308
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>
Git-commit: 36d01a590d035804dc100e105facf4049cf6fe43
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
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