[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <29e492c8-671a-2077-043f-e4f829ba04f2@axis.com>
Date: Sun, 23 Sep 2018 14:13:44 +0200
From: Lars Persson <lars.persson@...s.com>
To: Kees Cook <keescook@...omium.org>,
Herbert Xu <herbert@...dor.apana.org.au>
CC: Jesper Nilsson <jespern@...s.com>, Lars Persson <larper@...s.com>,
<linux-arm-kernel@...s.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
"Eric Biggers" <ebiggers@...gle.com>,
linux-crypto <linux-crypto@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH crypto-next 18/23] crypto: artpec6 - Remove VLA usage of
skcipher
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=qPXydAacU1RqZWA@mail.gmail.com
>
> Cc: Jesper Nilsson <jesper.nilsson@...s.com>
> Cc: Lars Persson <lars.persson@...s.com>
> Cc: linux-arm-kernel@...s.com
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> drivers/crypto/axis/artpec6_crypto.c | 19 +++++++++----------
> 1 file changed, 9 insertions(+), 10 deletions(-)
>
Acked-by: Lars Persson <lars.persson@...s.com>
Powered by blists - more mailing lists