aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-09 10:57:34 -0400
committerTom Rini <trini@konsulko.com>2021-09-09 11:11:33 -0400
commit465bff8b10b7548845b4ddc2b8b373d794e2eef9 (patch)
tree5d0f25fb08431f1f98b70d23b7dc962e2a4e38b2
parent4412fd8ba2ce5945d04f4b181a96e05576c46bf2 (diff)
downloadu-boot-465bff8b10b7548845b4ddc2b8b373d794e2eef9.zip
u-boot-465bff8b10b7548845b4ddc2b8b373d794e2eef9.tar.gz
u-boot-465bff8b10b7548845b4ddc2b8b373d794e2eef9.tar.bz2
Kconfig: Drop duplicate 'select SHA512' instances
When dropping SHA512_ALGO in general, we didn't catch some cases where an option was selecting both SHA512 and SHA512_ALGO and caused them to select SHA512 twice. Kconfig doesn't complain, but this is still wrong and should be corrected. Fixes: e60e44993120 ("lib: Drop SHA512_ALGO in lieu of SHA512") Reported-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--lib/crypt/Kconfig1
-rw-r--r--lib/efi_loader/Kconfig1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/crypt/Kconfig b/lib/crypt/Kconfig
index 6a50029..a59d5c7 100644
--- a/lib/crypt/Kconfig
+++ b/lib/crypt/Kconfig
@@ -20,7 +20,6 @@ config CRYPT_PW_SHA256
config CRYPT_PW_SHA512
bool "Provide sha512crypt"
select SHA512
- select SHA512
help
Enables support for the sha512crypt password-hashing algorithm.
The prefix is "$6$".
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 0846325..edd4ae2 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -323,7 +323,6 @@ config EFI_TCG2_PROTOCOL
depends on TPM_V2
select SHA1
select SHA256
- select SHA512
select SHA384
select SHA512
select HASH