verity: collapse check_block into verify_path

There was a lot of common code between the two functions.

BUG=9752
TEST=Ran tests in verity.git. Ran platform_DMVerityCorruption on H/W.

Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
kernel.git Review URL: http://codereview.chromium.org/6686017

TBRing. Already LGTMed and committed to kernel.git

Change-Id: I1112fedfd7823e1aa54cd3100fbfa8eaf1e3d304

R=wad@chromium.org,taysom@chromium.org,ups@chromium.org

Review URL: http://codereview.chromium.org/6724017
1 file changed