dm: add verity target
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 28 Mar 2012 17:43:38 +0000 (18:43 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:43:38 +0000 (18:43 +0100)
commita4ffc152198efba2ed9e6eac0eb97f17bfebce85
tree1901c86e3f4dbfcc3bd753888951a51430f0cde2
parenta66cc28f53a7e9679dedb2bc66ddb0e0c6bdd0ee
dm: add verity target

This device-mapper target creates a read-only device that transparently
validates the data on one underlying device against a pre-generated tree
of cryptographic checksums stored on a second device.

Two checksum device formats are supported: version 0 which is already
shipping in Chromium OS and version 1 which incorporates some
improvements.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Cc: Milan Broz <mbroz@redhat.com>
Cc: Olof Johansson <olofj@chromium.org>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Documentation/device-mapper/verity.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-verity.c [new file with mode: 0644]