diff options
author | Raymond Mao <raymond.mao@linaro.org> | 2024-05-16 14:11:50 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-22 08:55:28 -0600 |
commit | 329bb6677bf9cee18d4b87cb067ee832d0bb8e7b (patch) | |
tree | b93886c572338888535b0b1c398306098cae0dad | |
parent | d9e9e699becf20d9fd06c3067b52c78b1e4d6d59 (diff) | |
download | u-boot-329bb6677bf9cee18d4b87cb067ee832d0bb8e7b.zip u-boot-329bb6677bf9cee18d4b87cb067ee832d0bb8e7b.tar.gz u-boot-329bb6677bf9cee18d4b87cb067ee832d0bb8e7b.tar.bz2 |
efi_loader: remove redundant hash includes
Remove the redundant includes of u-boot/sha1.h, u-boot/sha256.h
and u-boot/sha512.h
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r-- | lib/efi_loader/efi_signature.c | 1 | ||||
-rw-r--r-- | lib/efi_loader/efi_tcg2.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/efi_loader/efi_signature.c b/lib/efi_loader/efi_signature.c index f338e73..184eac8 100644 --- a/lib/efi_loader/efi_signature.c +++ b/lib/efi_loader/efi_signature.c @@ -17,7 +17,6 @@ #include <linux/oid_registry.h> #include <u-boot/hash-checksum.h> #include <u-boot/rsa.h> -#include <u-boot/sha256.h> const efi_guid_t efi_guid_sha256 = EFI_CERT_SHA256_GUID; const efi_guid_t efi_guid_cert_rsa2048 = EFI_CERT_RSA2048_GUID; diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index b07e009..ac056dc 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -19,9 +19,6 @@ #include <tpm-v2.h> #include <tpm_api.h> #include <u-boot/hash-checksum.h> -#include <u-boot/sha1.h> -#include <u-boot/sha256.h> -#include <u-boot/sha512.h> #include <linux/unaligned/be_byteshift.h> #include <linux/unaligned/le_byteshift.h> #include <linux/unaligned/generic.h> |