From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Thu, 8 Apr 2021 10:27:16 +0200 Subject: [PATCH 1/5] efi_loader: Kconfig: Select IMAGE_SIGN_INFO when capsule authentication is enabled In-Reply-To: <20210407115335.8615-2-sughosh.ganu@linaro.org> References: <20210407115335.8615-1-sughosh.ganu@linaro.org> <20210407115335.8615-2-sughosh.ganu@linaro.org> Message-ID: <510db7eb-9d43-5d3e-a94f-9b303df79f34@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07.04.21 13:53, Sughosh Ganu wrote: > Enable building of the crypto helper functions used during capsule > authentication by selecting IMAGE_SIGN_INFO. > > Signed-off-by: Sughosh Ganu Reviewed-by: Heinrich Schuchardt > --- > > This was not detected when support for capsule auth was added to the > qemu arm64 platform. This is because the platform includes > CONFIG_FIT_SIGNATURE which selects IMAGE_SIGN_INFO. > > > lib/efi_loader/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig > index e44f004f3f..0b99d7c774 100644 > --- a/lib/efi_loader/Kconfig > +++ b/lib/efi_loader/Kconfig > @@ -173,6 +173,7 @@ config EFI_CAPSULE_AUTHENTICATE > select X509_CERTIFICATE_PARSER > select PKCS7_MESSAGE_PARSER > select PKCS7_VERIFY > + select IMAGE_SIGN_INFO > default n > help > Select this option if you want to enable capsule >