u-boot/lib/rsa
Matthieu CASTET 167fb1f8dc lib: rsa: check algo match in rsa_verify_with_keynode
The algo name should match between the FIT's signature node and the
U-Boot's control FDT.

If we do not check it, U-Boot's control FDT can expect sha512 hash but
nothing will prevent to accept image with sha1 hash if the signature is correct.

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
2020-10-12 21:30:38 -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 rsa: crash in br_i32_decode() called from rsa_gen_key_prop() 2020-09-14 23:28:52 +02: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: correct check after allocation in fdt_add_bignum() 2020-08-27 11:26:58 -04:00
rsa-verify.c lib: rsa: check algo match in rsa_verify_with_keynode 2020-10-12 21:30:38 -04:00