Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40526 )
Change subject: vc/eltan/security/verified_boot/vboot_check.c: Increase wb_buffer size ......................................................................
vc/eltan/security/verified_boot/vboot_check.c: Increase wb_buffer size
Commit aee0baf0690681fae85d24e6887d6cbb9209de83 results in error: VB2:vb2_rsa_verify_digest() ERROR - vboot2 work buffer too small! ERROR: HASH table verification failed!
The actual vboot structures require more space. Workbuffer size needs to be increased.
BUG=N/A TEST=Build and boot Facebook fbg1701
Change-Id: I5caebc643eb493f4285c2f2fc164ff3a5d35e24e Signed-off-by: Frans Hendriks fhendriks@eltan.com --- M src/vendorcode/eltan/security/verified_boot/vboot_check.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/40526/1
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.c b/src/vendorcode/eltan/security/verified_boot/vboot_check.c index 174a378..bba7e89 100644 --- a/src/vendorcode/eltan/security/verified_boot/vboot_check.c +++ b/src/vendorcode/eltan/security/verified_boot/vboot_check.c @@ -26,7 +26,7 @@ struct vb2_kernel_preamble *pre; static struct vb2_shared_data *sd; size_t size; - uint8_t wb_buffer[2800]; + uint8_t wb_buffer[3000];
if (vb2api_init(&wb_buffer, sizeof(wb_buffer), &ctx)) { goto fail;