mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 02:50:44 +09:00
c89b41b4db
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> |
||
---|---|---|
.. | ||
aes.h | ||
crc.h | ||
md5.h | ||
rsa-checksum.h | ||
rsa-mod-exp.h | ||
rsa.h | ||
sha1.h | ||
sha256.h | ||
sha512.h | ||
u-boot.lds.h | ||
variadic-macro.h | ||
zlib.h |