1
0
Fork 0
alistair23-linux/drivers/crypto/qce
Kees Cook d1e4ba83b0 crypto: qce - Remove VLA usage of skcipher
In the quest to remove all stack VLA usage from the kernel[1], this
replaces struct crypto_skcipher and SKCIPHER_REQUEST_ON_STACK() usage
with struct crypto_sync_skcipher and SYNC_SKCIPHER_REQUEST_ON_STACK(),
which uses a fixed stack size.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Cc: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-09-28 12:46:08 +08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ablkcipher.c crypto: qce - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
cipher.h crypto: qce - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
common.c crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
common.h crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
core.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
core.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
dma.c crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
dma.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
regs-v5.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
sha.c crypto: remove redundant type flags from tfm allocation 2018-07-09 00:30:29 +08:00
sha.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00