diff options
author | Joel Kitching <kitching@google.com> | 2019-10-07 15:50:01 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-17 11:52:45 +0000 |
commit | 53332109acd90d34c82e0450b1329096b942523e (patch) | |
tree | 3f9bcf681e1081a3a09c54fa36fc36980513b8e1 /tests/vboot_api_devmode_tests.c | |
parent | 1d9945764bb9e159680ef4b3a15c9bcd23fad8fe (diff) | |
download | vboot-53332109acd90d34c82e0450b1329096b942523e.tar.gz |
vboot: remove some vboot1 SharedData-related functions
Remove VbSharedDataInit, VbSharedDataReserve,
VbSharedDataSetKernelKey, along with their corresponding tests.
In tests/verify_kernel and utility/load_kernel_test, just copy the
kernel subkey manually for now, until we update LoadKernel to
retrieve the key from vboot2 workbuf instead.
BUG=b:124141368, chromium:968464
TEST=make clean && make runtests
BRANCH=none
Change-Id: I7055be10f0d7a38502fd8108f0bc93c5b78f06c9
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1844598
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'tests/vboot_api_devmode_tests.c')
-rw-r--r-- | tests/vboot_api_devmode_tests.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/vboot_api_devmode_tests.c b/tests/vboot_api_devmode_tests.c index 36983d1f..5754d8ff 100644 --- a/tests/vboot_api_devmode_tests.c +++ b/tests/vboot_api_devmode_tests.c @@ -20,7 +20,6 @@ #include "load_kernel_fw.h" #include "secdata_tpm.h" #include "test_common.h" -#include "vboot_common.h" #include "vboot_display.h" #include "vboot_kernel.h" #include "vboot_struct.h" @@ -128,7 +127,6 @@ static void ResetMocks(void) memset(&gbb, 0, sizeof(gbb)); memset(&shared_data, 0, sizeof(shared_data)); - VbSharedDataInit(shared, sizeof(shared_data)); shared->fw_keyblock_flags = 0xABCDE0; current_ticks = 0; |