diff options
author | Martin Roth <martinroth@chromium.org> | 2020-10-28 11:38:57 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-11-06 17:46:13 +0000 |
commit | 8839b7f1099f358e967f468b98dd225c4e330444 (patch) | |
tree | beaea53ee3f4a6fff501f71636db12d6b77bf00b /util | |
parent | 83729bd430425ef9b161ebb9260ad047d3920d7c (diff) |
security/vboot: Add Kconfig symbol to set hashing block size
Generally, this size probably doesn't matter very much, but in the
case of picasso's psp_verstage, the hash is being calculated by
hardware using relatively expensive system calls. By increasing the
block size, we can save roughly 140ms of boot and resume time.
TEST=Build & boot see that boot time has decreased.
BRANCH=Zork
BUG=b:169217270 - Zork: SHA calculation in vboot takes too long
Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: I68eecbbdfadcbf14288dc6e849397724fb66e0b2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46901
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions