aboutsummaryrefslogtreecommitdiff
path: root/common/Kconfig.boot
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2021-05-13 23:48:08 +0900
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-05-18 12:36:13 +0200
commit87316da05f2fd49d3709275e64ef0c5980366ade (patch)
treee7646764ed7fa8ada14d2494beeb449ff36ed656 /common/Kconfig.boot
parent48ee084602f90ad37e87ee7e356bf3938b584070 (diff)
downloadu-boot-87316da05f2fd49d3709275e64ef0c5980366ade.zip
u-boot-87316da05f2fd49d3709275e64ef0c5980366ade.tar.gz
u-boot-87316da05f2fd49d3709275e64ef0c5980366ade.tar.bz2
lib: introduce HASH_CALCULATE option
Build error occurs when CONFIG_EFI_SECURE_BOOT or CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, because hash-checksum.c is not compiled. Since hash_calculate() implemented in hash-checksum.c can be commonly used aside from FIT image signature verification, this commit itroduces HASH_CALCULATE option to decide if hash-checksum.c shall be compiled. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'common/Kconfig.boot')
-rw-r--r--common/Kconfig.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 5a18d62..5660822 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -80,6 +80,7 @@ config FIT_SIGNATURE
select RSA_VERIFY
select IMAGE_SIGN_INFO
select FIT_FULL_CHECK
+ select HASH_CALCULATE
help
This option enables signature verification of FIT uImages,
using a hash signed and verified using RSA. If