diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-29 16:23:49 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-06-18 09:19:44 +0200 |
commit | f3c802a1f30013f8f723b62d7fa49eb9e991da23 (patch) | |
tree | d0cc454c65a9ee0a9dc741c3ce32969a1b28be8a /arch/hexagon | |
parent | crypto: qat - convert to SPDX License Identifiers (diff) | |
download | linux-f3c802a1f30013f8f723b62d7fa49eb9e991da23.tar.xz linux-f3c802a1f30013f8f723b62d7fa49eb9e991da23.zip |
crypto: algif_aead - Only wake up when ctx->more is zero
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>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions