Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Mar 2018 10:31:17 +0200
From: Tudor Ambarus <tudor.ambarus@...rochip.com>
To: Kees Cook <keescook@...omium.org>, Herbert Xu
	<herbert@...dor.apana.org.au>
CC: "David S. Miller" <davem@...emloft.net>, <linux-crypto@...r.kernel.org>,
	<kernel-hardening@...ts.openwall.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] crypto/ecc: Remove stack VLA usage



On 03/08/2018 11:57 PM, Kees Cook wrote:
> On the quest to remove all VLAs from the kernel[1], this switches to
> a pair of kmalloc regions instead of using the stack. This also moves
> the get_random_bytes() after all allocations (and drops the needless
> "nbytes" variable).
> 
> [1]https://lkml.org/lkml/2018/3/7/621
> 
> Signed-off-by: Kees Cook<keescook@...omium.org>

Reviewed-by: Tudor Ambarus <tudor.ambarus@...rochip.com>

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.