summaryrefslogtreecommitdiff
path: root/crypto/curve25519-generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-01-19 17:58:40 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-31 11:21:44 +1100
commit9da42763d07966912c2c6eeed23a75f0c0342f15 (patch)
tree6dc8dc2064a89c8925b47cb86dd6a749ce011cab /crypto/curve25519-generic.c
parent15b975dafbd6b6fe188334fa3108dcad805e6fa1 (diff)
downloadlinux-crypto-9da42763d07966912c2c6eeed23a75f0c0342f15.tar.gz
linux-crypto-9da42763d07966912c2c6eeed23a75f0c0342f15.zip
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: c53e75d5b112 ("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/curve25519-generic.c')
0 files changed, 0 insertions, 0 deletions