summary refs log tree commit diff
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-11-11 17:59:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:32:33 +0100
commitb5be6724f222890f407d499e2d3daa2dfa7bfcc8 (patch)
tree534460fea9b604e3220762e2246d08e5393f21be /crypto/xor.c
parent677f01f396aee868082ebc2eebb5fdb9c6efd493 (diff)
downloadlinux-b5be6724f222890f407d499e2d3daa2dfa7bfcc8.tar.gz
crypto: cryptd - Use request context instead of stack for sub-request
[ Upstream commit 3a58c231172537f7b0e19d93ed33decd04f80eab ]

cryptd is buggy as it tries to use sync_skcipher without going
through the proper sync_skcipher interface.  In fact it doesn't
even need sync_skcipher since it's already a proper skcipher and
can easily access the request context instead of using something
off the stack.

Fixes: 36b3875a97b8 ("crypto: cryptd - Remove VLA usage of skcipher")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions