diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-09-19 16:46:37 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-04 21:19:09 -0700 |
commit | 9928e2ffc29ee55c21c98b3e0e495f6186012606 (patch) | |
tree | d9ad0d4beb3b55bb9f86af66e305bb560650d99d /Makefile | |
parent | 351bc294ed73b57706e2b1650d6fbdae9418dd61 (diff) | |
download | vboot-9928e2ffc29ee55c21c98b3e0e495f6186012606.tar.gz |
bdb: Add 'bdb --resign' to futility
'resign' sub-command signs a BDB using keys provided. It can resign only
the data key, the hashes, or both. Required keys vary depending on what
part of BDB is invalid and on what public key is specified in the command
line. It then detects what key is needed based on
the verification result and fails if the required key is not provided.
BUG=chromium:649554
BRANCH=none
TEST=make runtests. Ran futility bdb --create, --add, --resign, --verify
Change-Id: I589a5972f1d7e5066eb56e1c5efb4ee7089d41cd
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/387118
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -312,6 +312,7 @@ FWLIB20 = ${BUILD}/vboot_fw20.a # Vboot 2.1 (not yet ready - see firmware/README) FWLIB21 = ${BUILD}/vboot_fw21.a +# Static library containing firmware APIs for common boot flow BDBLIB = ${BUILD}/bdb.a # Firmware library sources needed by VbInit() call @@ -446,6 +447,8 @@ ALL_OBJS += ${FWLIB_OBJS} ${FWLIB2X_OBJS} ${FWLIB20_OBJS} ${FWLIB21_OBJS} \ # Intermediate library for the vboot_reference utilities to link against. UTILLIB = ${BUILD}/libvboot_util.a + +# Static library containing both host and firmware APIs UTILBDB = ${BUILD}/libvboot_utilbdb.a UTILLIB_SRCS = \ @@ -479,6 +482,7 @@ UTILLIB_SRCS = \ UTILLIB_OBJS = ${UTILLIB_SRCS:%.c=${BUILD}/%.o} ALL_OBJS += ${UTILLIB_OBJS} +# Source files containing host side APIs for common boot flow UTILBDB_SRCS += \ firmware/bdb/host.c |