summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2020-04-20 13:37:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:38:37 +0000
commit7023174b88a2eca3f4eb541a2dc9cb7239617282 (patch)
tree8aa5f00111ce960c8f8a2aedbe91a3a8d547b5f2
parenta67cc5f5e8d11cd1004faf112193cf368af25f4b (diff)
downloadcoreboot-7023174b88a2eca3f4eb541a2dc9cb7239617282.tar.xz
vc/eltan/security/verified_boot/vboot_check.c: Increase wb_buffer size
Running commit aee0baf0690681fae85d24e6887d6cbb9209de83 on Facebook fbg1701 results in an 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. We didn't determine the commit causing the issue because this change fixes the issue. BUG=N/A TEST=Build and boot Facebook fbg1701 Change-Id: I5caebc643eb493f4285c2f2fc164ff3a5d35e24e Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40526 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
-rw-r--r--src/vendorcode/eltan/security/verified_boot/vboot_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.c b/src/vendorcode/eltan/security/verified_boot/vboot_check.c
index ac9d73bf9c..a07b470e03 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 @@ int verified_boot_check_manifest(void)
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;