summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-05-29 17:23:49 +0300
committerSasha Levin <sashal@kernel.org>2024-03-27 01:22:34 +0300
commitde564b59755dfb080ef237dd4fbd02cb0c3e58a1 (patch)
treefc489c1ba24c8b9baee17e1ab89d555813c759a0 /fs
parent0ca02d4beebb7b47ea0cbdceac891465cbb966c6 (diff)
downloadlinux-de564b59755dfb080ef237dd4fbd02cb0c3e58a1.tar.xz
crypto: algif_aead - Only wake up when ctx->more is zero
[ Upstream commit f3c802a1f30013f8f723b62d7fa49eb9e991da23 ] AEAD does not support partial requests so we must not wake up while ctx->more is set. In order to distinguish between the case of no data sent yet and a zero-length request, a new init flag has been added to ctx. SKCIPHER has also been modified to ensure that at least a block of data is available if there is more data to come. Fixes: 2d97591ef43d ("crypto: af_alg - consolidation of...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions