linux/arch/s390/crypto
Kees Cook 531fa5d620 s390/crypto: 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-09-28 12:46:07 +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
aes_s390.c s390/crypto: Remove VLA usage of skcipher 2018-09-28 12:46:07 +08:00
arch_random.c s390/archrandom: Rework arch random implementation. 2018-05-30 11:18:04 +02:00
crc32-vx.c crypto: hash - annotate algorithms taking optional key 2018-01-12 23:03:35 +11:00
crc32be-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
crc32le-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
des_s390.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
ghash_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
paes_s390.c s390/crypto: Adjust s390 aes and paes cipher priorities 2018-04-10 07:38:54 +02:00
prng.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 15:37:14 +01:00
sha.h s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha1_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha256_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha512_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha_common.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00