diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-01 17:16:44 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-07 21:08:28 +0800 |
commit | 1acbf36cd3585776cdc2abe203648fbefdd13c3c (patch) | |
tree | bcde85da63625a2624bc87b21903f9ebb1498a24 /crypto/ecdh.c | |
parent | 33240596a7401acdfa51d8c396be70fbf3ec7e96 (diff) | |
download | linux-crypto-1acbf36cd3585776cdc2abe203648fbefdd13c3c.tar.gz linux-crypto-1acbf36cd3585776cdc2abe203648fbefdd13c3c.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 '')
0 files changed, 0 insertions, 0 deletions