On Tue, Mar 26, 2019 at 03:58:36PM +0300, Vitaly Chikunov wrote: > Treat (struct public_key_signature)'s digest same as its signature (s). > Since digest should be already in the kmalloc'd memory do not kmemdup > digest value before calling {public,tpm}_key_verify_signature. > > Patch is split from the previous as suggested by Herbert Xu. > > Suggested-by: David Howells <dhowells@xxxxxxxxxx> > Cc: David Howells <dhowells@xxxxxxxxxx> > Cc: keyrings@xxxxxxxxxxxxxxx > Signed-off-by: Vitaly Chikunov <vt@xxxxxxxxxxxx> For Patchwork auto-tagging, based on Message-ID: <ed78154e-2491-8e3e-3362-e45df4fda011@xxxxxxxxx> Reviewed-by: Denis Kenzior <denkenz@xxxxxxxxx> On Tue, Mar 26, 2019 at 11:00:40AM -0500, Denis Kenzior wrote: > Feel free to add > Reviewed-by: Denis Kenzior <denkenz@xxxxxxxxx> > > to this and patch 4. > > Regards, > -Denis Thanks!