summaryrefslogtreecommitdiffstats
path: root/arch/arm/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-09-01 11:16:44 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-07 15:08:28 +0200
commit493b2ed3f7603a15ff738553384d5a4510ffeb95 (patch)
tree064221b1febbd2629423bebea8673f830689490a /arch/arm/crypto
parentcrypto: caam - fix rfc3686(ctr(aes)) IV load (diff)
downloadlinux-493b2ed3f7603a15ff738553384d5a4510ffeb95.tar.xz
linux-493b2ed3f7603a15ff738553384d5a4510ffeb95.zip
crypto: algif_hash - Handle NULL hashes correctly
Right now attempting to read an empty hash simply returns zeroed bytes, this patch corrects this by calling the digest function using an empty input. Reported-by: Russell King - ARM Linux <linux@armlinux.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions