diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-01-19 17:58:40 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-01-31 11:21:44 +1100 |
commit | 66eae850333d639fc278d6f915c6fc01499ea893 (patch) | |
tree | 762c1725b95e6da5650e3af44230401967c84fbe /crypto/streebog_generic.c | |
parent | c2a28fdb2f4e0b1676709426d80a986dd601200e (diff) |
crypto: authenc - Fix sleep in atomic context in decrypt_tail
The function crypto_authenc_decrypt_tail discards its flags
argument and always relies on the flags from the original request
when starting its sub-request.
This is clearly wrong as it may cause the SLEEPABLE flag to be
set when it shouldn't.
Fixes: 92d95ba91772 ("crypto: authenc - Convert to new AEAD interface")
Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/streebog_generic.c')
0 files changed, 0 insertions, 0 deletions