From: Heinrich Schuchardt Date: Fri, 29 May 2020 12:27:45 +0200 Subject: [PATCH 01/13] efi_loader: signature: move efi_guid_cert_type_pkcs7 to efi_signature.c In-Reply-To: <20200529064130.28332-2-takahiro.akashi@linaro.org> References: <20200529064130.28332-1-takahiro.akashi@linaro.org> <20200529064130.28332-2-takahiro.akashi@linaro.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > The global variable, efi_guid_cert_type_pkcs7, will also be used in > efi_image_loader.c in a succeeding patch so as to correctly handle > a signature type of authenticode in signed image. > > Meanwhile, it is currently defined in efi_variable.c. Once some secure > storage solution for UEFI variables is introduced, efi_variable.c may > not always be compiled in. > > So move the definition to efi_signature.c as a common place. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt