Herbert Xu f3c802a1f3 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>
2020-06-18 17:19:44 +10:00
..
2019-08-05 18:40:19 -04:00
2019-08-02 14:44:02 +10:00
2020-05-08 15:32:12 +10:00
2019-08-02 14:44:02 +10:00
2017-09-22 17:43:07 +08:00
2020-01-09 11:30:53 +08:00