[PATCH v5 2/8] lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey()
Heiko Stübner
heiko at sntech.de
Mon May 25 19:18:09 CEST 2020
Am Freitag, 22. Mai 2020, 16:19:31 CEST schrieb Heiko Stuebner:
> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
>
> Right now in multiple places there are only checks for the full
> CONFIG_RSA_VERIFY_WITH_PKEY option, not split into main,spl,tpl variants.
>
> This breaks when the rsa functions get enabled for SPL, for example to
> verify u-boot proper from spl.
>
> So fix this by using the existing helpers to distinguis between
> build-steps.
>
> Signed-off-by: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
transplanting a tag from v4:
Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
More information about the U-Boot
mailing list