[PATCH 1/5] lib: do not build OID registry in SPL

Tom Rini
2020-04-16T17:00:49Z

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 <xypron.glpk@gmx.de>
> >> ---
> >> 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 <trini@konsulko.com>

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200416/2ad8bdcc/attachment.sig>