vc/eltan/security/verified_boot/vboot_check.c: Increase wb_buffer size
Running commit aee0baf069
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>
This commit is contained in:
parent
a67cc5f5e8
commit
7023174b88
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue