U-boot Archive mirror
 help / color / mirror / Atom feed
From: Raymond Mao <raymond.mao@linaro.org>
To: u-boot@lists.denx.de
Cc: Raymond Mao <raymond.mao@linaro.org>,
	Tom Rini <trini@konsulko.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Alexey Brodkin <alexey.brodkin@synopsys.com>,
	Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
	Walter Schweizer <swwa@users.sourceforge.net>,
	Phil Sutter <phil@nwl.cc>, Tony Dinh <mibodhi@gmail.com>,
	Mario Six <mario.six@gdsys.cc>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Simon Glass <sjg@chromium.org>, Roger Quadros <rogerq@kernel.org>,
	Nishanth Menon <nm@ti.com>,
	Jonathan Humphreys <j-humphreys@ti.com>,
	Igor Opaniuk <igor.opaniuk@gmail.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Bin Meng <bmeng.cn@gmail.com>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Masahisa Kojima <kojima.masahisa@socionext.com>,
	Eddie James <eajames@linux.ibm.com>,
	Jassi Brar <jaswinder.singh@linaro.org>,
	Masami Hiramatsu <masami.hiramatsu@linaro.org>,
	Michal Simek <michal.simek@amd.com>,
	AKASHI Takahiro <akashi.tkhro@gmail.com>,
	Etienne Carriere <etienne.carriere@foss.st.com>,
	uboot-snps-arc@synopsys.com
Subject: [PATCH v3 2/4] efi_loader: remove redundant hash includes
Date: Thu, 16 May 2024 14:11:50 -0700	[thread overview]
Message-ID: <20240516211156.1819939-3-raymond.mao@linaro.org> (raw)
In-Reply-To: <20240516211156.1819939-1-raymond.mao@linaro.org>

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>
---
Changes in v2
- None.
Changes in v3
- None.

 lib/efi_loader/efi_signature.c | 1 -
 lib/efi_loader/efi_tcg2.c      | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/lib/efi_loader/efi_signature.c b/lib/efi_loader/efi_signature.c
index f338e732759..184eac8cddb 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 b07e0099c27..ac056dcfc55 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>
-- 
2.25.1


  parent reply	other threads:[~2024-05-16 21:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 21:11 [PATCH v3 0/4] Clean-up patch set for MbedTLS integration Raymond Mao
2024-05-16 21:11 ` [PATCH v3 1/4] image: remove redundant hash includes Raymond Mao
2024-05-16 21:11 ` Raymond Mao [this message]
2024-05-16 21:11 ` [PATCH v3 3/4] md5: Use typedef for MD5 context Raymond Mao
2024-05-16 21:11 ` [PATCH v3 4/4] include: Move snprintf to stdio.h Raymond Mao
2024-05-16 21:13   ` Tom Rini
2024-05-21  8:46   ` Ilias Apalodimas
2024-05-23  2:46 ` [PATCH v3 0/4] Clean-up patch set for MbedTLS integration Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240516211156.1819939-3-raymond.mao@linaro.org \
    --to=raymond.mao@linaro.org \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=akashi.tkhro@gmail.com \
    --cc=alexey.brodkin@synopsys.com \
    --cc=bmeng.cn@gmail.com \
    --cc=caleb.connolly@linaro.org \
    --cc=eajames@linux.ibm.com \
    --cc=etienne.carriere@foss.st.com \
    --cc=igor.opaniuk@gmail.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=j-humphreys@ti.com \
    --cc=jaswinder.singh@linaro.org \
    --cc=kojima.masahisa@socionext.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=mario.six@gdsys.cc \
    --cc=masami.hiramatsu@linaro.org \
    --cc=mibodhi@gmail.com \
    --cc=michal.simek@amd.com \
    --cc=nm@ti.com \
    --cc=phil@nwl.cc \
    --cc=rogerq@kernel.org \
    --cc=sjg@chromium.org \
    --cc=swwa@users.sourceforge.net \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-snps-arc@synopsys.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).