coreboot-kgpe-d16/src/security/vboot
Yidi Lin bd6b81dcad vboot: Add VBOOT_ARMV8_CE_SHA256_ACCELERATION config
Add Kconfig option for VBOOT_ARMV8_CE_SHA256_ACCELERATION, which will
use ARMv8 Crypto Extension for SHA256[1] instead of software
implementation.

This will speed up firmware verification in verstage.

[1] https://crrev.com/c/4170144

BUG=b:263514393
BRANCH=corsola
TEST='calculating body hash (SHA2)' get 13 msecs improvement on
Tentacruel.
Before:
 509:finished calculating body hash (SHA2)             161,548 (14,490)

After:
 509:finished calculating body hash (SHA2)             155,101 (1,187)

Change-Id: I02671338fd9e0deb5294dbb7c03528061edc18c4
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72711
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-16 15:04:40 +00:00
..
antirollback.h security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
bootmode.c
common.c vboot: Add VBOOT_CBFS_INTEGRATION support 2022-11-08 23:03:49 +00:00
ec_sync.c ec/google/chromeec: Deprecate dev_index from google_chromeec_reboot 2022-11-12 23:01:47 +00:00
Kconfig vboot: Add VBOOT_ARMV8_CE_SHA256_ACCELERATION config 2023-02-16 15:04:40 +00:00
Makefile.inc vboot: Add VBOOT_ARMV8_CE_SHA256_ACCELERATION config 2023-02-16 15:04:40 +00:00
misc.h
mrc_cache_hash_tpm.c
mrc_cache_hash_tpm.h
secdata_mock.c security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
secdata_tpm.c security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
symbols.h
tpm_common.c
tpm_common.h
vbios_cache_hash_tpm.c security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
vbios_cache_hash_tpm.h security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
vbnv.c security/vboot: Drop assert call from vbnv_udc_enable_flag() 2022-12-21 18:52:50 +00:00
vbnv.h security/vboot: Update vbnv_init signature 2022-12-16 01:23:03 +00:00
vbnv_cmos.c
vbnv_flash.c security/vboot: Check RW_NVRAM at buildtime 2023-01-13 08:25:33 +00:00
vbnv_layout.h
vboot_common.c vboot/vboot_common: Fix vboot_save_data() code exclusion guard 2022-12-01 22:12:10 +00:00
vboot_common.h vboot: Introduce handy vboot reboot functions 2022-11-08 14:44:54 +00:00
vboot_lib.c
vboot_loader.c vboot: Add VBOOT_CBFS_INTEGRATION support 2022-11-08 23:03:49 +00:00
vboot_logic.c security/vboot: Update vbnv_init signature 2022-12-16 01:23:03 +00:00
verstage.c