u-boot/lib/rsa
Heiko Stuebner 447b1d7580 lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey()
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@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-08 17:21:46 -04:00
..
Kconfig lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
Makefile lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey() 2020-07-08 17:21:46 -04:00
rsa-checksum.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rsa-keyprop.c lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa-mod-exp.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rsa-sign.c lib: rsa: avoid overriding the object name when already specified 2020-05-15 14:47:35 -04:00
rsa-verify.c lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey() 2020-07-08 17:21:46 -04:00