Re: [PATCH] lib: rsa: function to verify a signature against a hash

2020-07-08 Thread Tom Rini
On Fri, May 22, 2020 at 04:20:33PM +0200, Heiko Stuebner wrote: > From: Heiko Stuebner > > 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()

[PATCH] lib: rsa: function to verify a signature against a hash

2020-05-22 Thread Heiko Stuebner
From: Heiko Stuebner 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