u-boot-brain/include/u-boot
Heiko Stuebner c89b41b4db lib: rsa: function to verify a signature against a hash
rsa_verify() expects a memory region and wants to do the hashing itself,
but there may be cases where the hashing is done via other means,
like hashing a squashfs rootfs.

So add rsa_verify_hash() to allow verifiying a signature against
an existing hash. As this entails the same verification routines
we can just move the relevant code over from rsa_verify() and also
call rsa_verify_hash() from there.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
2020-07-08 17:21:46 -04:00
..
aes.h u-boot: fit: add support to decrypt fit with aes 2020-01-17 10:16:29 -05:00
crc.h include/u-boot/crc.h: pull 'uint' definition on musl targets 2020-01-03 09:47:10 -05:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
rsa-mod-exp.h lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa.h lib: rsa: function to verify a signature against a hash 2020-07-08 17:21:46 -04:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
sha512.h Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
variadic-macro.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00