[PATCH 1/5] lib: do not build OID registry in SPL
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Apr 16 17:49:13 CEST 2020
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 at 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.
Best regards
Heinrich
More information about the U-Boot
mailing list