]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: remove redundant hash includes
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 16 May 2024 21:11:50 +0000 (14:11 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 May 2024 14:55:28 +0000 (08:55 -0600)
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>
lib/efi_loader/efi_signature.c
lib/efi_loader/efi_tcg2.c

index f338e73275994b9d76d4da3b0532d0a46bb00ef7..184eac8cddb700914304920fd43bb595b5d1faac 100644 (file)
@@ -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;
index b07e0099c27e54b38d8cb11d2eedee14ede51907..ac056dcfc551ed007a4cc609efd7aaee7409bb25 100644 (file)
@@ -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>