[PATCH v4 2/8] lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey()

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri May 22 16:24:27 CEST 2020

> On 22.05.2020, at 16:13, Heiko Stuebner <heiko at sntech.de> wrote:
> 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>

Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>

More information about the U-Boot mailing list