u-boot/lib/rsa
Heiko Stuebner 3075eb70c9 lib: rsa: distinguish between tpl and spl for CONFIG_RSA_VERIFY
While the SPL may want to do signature checking this won't be
the case for TPL in all cases, as TPL is mostly used when the
amount of initial memory is not enough for a full SPL.

So on a system where SPL uses DM but TPL does not we currently
end up with a TPL compile error of:

    lib/rsa/rsa-verify.c:48:25: error: dereferencing pointer to incomplete type ‘struct checksum_algo’

To prevent that change the $(SPL_) to $(SPL_TPL_) to distinguish
between both. If someone really needs FIT signature checking in
TPL as well, a new TPL_RSA_VERIFY config symbol needs to be added.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@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: distinguish between tpl and spl for CONFIG_RSA_VERIFY 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 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00