u-boot/lib/rsa
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
..
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: free local arrays after use in rsa_gen_key_prop() 2020-07-08 17:21:46 -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: function to verify a signature against a hash 2020-07-08 17:21:46 -04:00