Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82257?usp=email )
Change subject: vendorcode/eltan/security/verified_boot: measuring failed in POSTCAR ......................................................................
vendorcode/eltan/security/verified_boot: measuring failed in POSTCAR
Attempted use of uninitialized TSS 2.0 stack message in log file. tlcl_extend() function returns error because tlcl library is not initialized.
Add call to tlcl_lib_init() to initialize library in every stage.
BUG = N/A TESTED = Built and boot facebook FBG1701 and verify logging
Change-Id: I50d96462c667e48337864027895e000bbe16c3b3 Signed-off-by: Frans Hendriks fhendriks@eltan.com --- M src/vendorcode/eltan/security/verified_boot/vboot_check.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/82257/1
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.c b/src/vendorcode/eltan/security/verified_boot/vboot_check.c index 62c60f7..221c270 100644 --- a/src/vendorcode/eltan/security/verified_boot/vboot_check.c +++ b/src/vendorcode/eltan/security/verified_boot/vboot_check.c @@ -241,6 +241,8 @@ { int i = 0;
+ tlcl_lib_init(); + while (list[i].type != VERIFY_TERMINATOR) { switch (list[i].type) { case VERIFY_FILE: