diff options
| author | Masahisa Kojima <[email protected]> | 2021-05-13 23:48:08 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-05-18 12:36:13 +0200 |
| commit | 87316da05f2fd49d3709275e64ef0c5980366ade (patch) | |
| tree | e7646764ed7fa8ada14d2494beeb449ff36ed656 /lib/Kconfig | |
| parent | 48ee084602f90ad37e87ee7e356bf3938b584070 (diff) | |
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 <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib/Kconfig')
| -rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 1c19a332bec..b057b9d73bc 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -439,6 +439,9 @@ config CRC32C config XXHASH bool +config HASH_CALCULATE + bool + endmenu menu "Compression Support" |
