summaryrefslogtreecommitdiffstats
path: root/crypto/blowfish_common.c
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2019-04-11 17:51:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 16:15:02 +0200
commit83bc0299960477a4b99d9ad11b766d63c0dfaf60 (patch)
tree4f444c5f25cdbe1137d2e95508ccefd27233facc /crypto/blowfish_common.c
parentcrypto: akcipher - new verify API for public key algorithms (diff)
downloadlinux-83bc0299960477a4b99d9ad11b766d63c0dfaf60.tar.xz
linux-83bc0299960477a4b99d9ad11b766d63c0dfaf60.zip
KEYS: do not kmemdup digest in {public,tpm}_key_verify_signature
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@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: keyrings@vger.kernel.org Signed-off-by: Vitaly Chikunov <vt@altlinux.org> Reviewed-by: Denis Kenzior <denkenz@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions