]> git.baikalelectronics.ru Git - uboot.git/commit
lib: introduce HASH_CALCULATE option
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 13 May 2021 14:48:08 +0000 (23:48 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 18 May 2021 10:36:13 +0000 (12:36 +0200)
commitda58a6f27e42dc16d302b1f6fd30701eadeb4703
treee7646764ed7fa8ada14d2494beeb449ff36ed656
parenta3c6dbf8ce361416e6758158c880c83c947be4ef
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>
common/Kconfig.boot
lib/Kconfig
lib/Makefile
lib/efi_loader/Kconfig