summaryrefslogtreecommitdiff
path: root/crypto/algif_aead.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-03-26 08:53:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:34:19 +0800
commita0f776c79d9472f33a8c05f7a429c209e6d839ad (patch)
treef30639ba56f99c2d5f4d4fa01ce95ba84bb53b39 /crypto/algif_aead.c
parent4937da0d9d498690ebdbd007ebde453a1733591f (diff)
downloadlinux-crypto-a0f776c79d9472f33a8c05f7a429c209e6d839ad.tar.gz
linux-crypto-a0f776c79d9472f33a8c05f7a429c209e6d839ad.zip
crypto: ahash - Fix early termination in hash walk
When we have an unaligned SG list entry where there is no leftover aligned data, the hash walk code will incorrectly return zero as if the entire SG list has been processed. This patch fixes it by moving onto the next page instead. Reported-by: Eli Cooper <elicooper@gmx.com> Cc: <stable@vger.kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions