u-boot/lib/rsa
Daniele Alessandrelli 0772a1f497 rsa: Return immediately if required-key verification fails
Currently, if image verification with a required key fails, rsa_verify()
code tries to find another key to verify the FIT image. This however, is
not the intended behavior as the documentation says that required keys
"must be verified for the image / configuration to be considered valid".

This patch fixes the issue by making rsa_verify() return immediately if
the verification of a required key fails.

Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@gmail.com>
2019-10-15 08:40:03 -06:00
..
Kconfig lib/rsa: Kconfig: Remove superfluous 'depends on RSA' 2018-04-28 10:42:35 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -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-mod-exp.c xilinx: zynq: Add support to secure images 2018-07-19 10:49:54 +02:00
rsa-sign.c lib: rsa: add support to other openssl engine types than pkcs11 2019-07-18 11:31:23 -04:00
rsa-verify.c rsa: Return immediately if required-key verification fails 2019-10-15 08:40:03 -06:00