From: Tom Rini Date: Thu, 16 Apr 2020 13:00:49 -0400 Subject: [PATCH 1/5] lib: do not build OID registry in SPL In-Reply-To: <06357c60-f9f6-471b-5b65-ead5b60311e4@gmx.de> References: <20200415164623.142908-1-xypron.glpk@gmx.de> <20200415164623.142908-2-xypron.glpk@gmx.de> <20200416023211.GJ12111@bill-the-cat> <06357c60-f9f6-471b-5b65-ead5b60311e4@gmx.de> Message-ID: <20200416170049.GT12111@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 16, 2020 at 05:49:13PM +0200, Heinrich Schuchardt wrote: > On 4/16/20 4:32 AM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 06:46:19PM +0200, Heinrich Schuchardt wrote: > > > >> The OID registry is only used by crypto functions that are not built in > >> SPL. So we should not build it in SPL. > >> > >> Fixes: a9b45e6e8382 ("lib: add oid registry utility") > >> Signed-off-by: Heinrich Schuchardt > >> --- > >> lib/Makefile | 3 +-- > >> 1 file changed, 1 insertion(+), 2 deletions(-) > > > > This problem shows up with the full secure boot patch series, yes? > > Thanks. > > > > Take origin/master: > > pine64-lts_defconfig > + CONFIG_RSA=y > + CONFIG_ASYMMETRIC_KEY_TYPE=y > + CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y > + CONFIG_RSA_PUBLIC_KEY_PARSER=y > > and you will see spl/lib/oid_registry.o being built. > > These settings will in future be needed for UEFI secure boot. Thanks. Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: