Thread (2 messages) 2 messages, 2 authors, 2018-09-20

[crypto-next,11/23] wusb: Remove VLA usage of skcipher

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2018-09-20 10:39:45
Also in: linux-crypto, lkml

On Tue, Sep 18, 2018 at 07:10:48PM -0700, 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Felipe Balbi <redacted>
Cc: Johan Hovold <johan@kernel.org>
Cc: "Gustavo A. R. Silva" <redacted>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Kees Cook <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help