On 9/19/18 4:10 AM, Kees Cook wrote:
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=qpxydaacu1rq...@mail.gmail.com

Cc: Jesper Nilsson <jesper.nils...@axis.com>
Cc: Lars Persson <lars.pers...@axis.com>
Cc: linux-arm-ker...@axis.com
Signed-off-by: Kees Cook <keesc...@chromium.org>
---
  drivers/crypto/axis/artpec6_crypto.c | 19 +++++++++----------
  1 file changed, 9 insertions(+), 10 deletions(-)


Acked-by: Lars Persson <lars.pers...@axis.com>

Reply via email to