diff options
author | Randall Spangler <rspangler@chromium.org> | 2015-05-12 16:39:01 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-21 03:44:13 +0000 |
commit | 2d25e837ccc1c4f3123fedc056a396b3e6e3aa5f (patch) | |
tree | 54ce9bede8f2b3cc08e2304e3acb90d4d61972f0 /Makefile | |
parent | ea71df260e9041dd5260425dae3d6f5412516b9b (diff) | |
download | vboot-2d25e837ccc1c4f3123fedc056a396b3e6e3aa5f.tar.gz |
vboot2: Add routine to verify kernel preamble
This also checks that the bootloader and vmlinuz headers, if present,
are within the signed part of the kernel blob; the vboot1 routines
didn't do that. That wasn't harmful at firmware boot time because the
vboot1 routines would only load as much data as was signed, but in
vboot2 loading the kernel data is the responsibility of the caller so
we need to check.
BUG=chromium:487699
BRANCH=none
TEST=make -j runtests
Change-Id: I73eb4831e5d3d7a642b6cb85cb55857d87fcc0af
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/270797
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -340,6 +340,7 @@ FWLIB2X_SRCS = \ FWLIB20_SRCS = \ firmware/lib20/api.c \ firmware/lib20/common.c \ + firmware/lib20/kernel.c \ firmware/lib20/misc.c \ firmware/lib20/packed_key.c |