diff options
author | Wim Vervoorn <wvervoorn@eltan.com> | 2019-11-14 11:45:03 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-16 20:39:03 +0000 |
commit | 46cc24d94e9a1a225d10637650f56ff2272ba3dc (patch) | |
tree | ae351174f8493a1b4bc4393129f856c436b94afe /util/vgabios/pci-userspace.h | |
parent | c50847e51ed0351d262b844919d67bee6372b25a (diff) |
vendorcode/security/eltan: Allocate memory from bootmem to speed up hashing
The verified_boot_check_cbfsfile() will now try to allocate a buffer from
bootmem if the item in the list has the VERIFIED_BOOT_COPY_BLOCK attribute
set. For large payloads this speeds up the hash operation.
BUG=N/A
TEST=build
Change-Id: Ifa0c93632c59d05ae6d32f8785009a3c3568abc5
Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36822
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'util/vgabios/pci-userspace.h')
0 files changed, 0 insertions, 0 deletions