Re: [PATCH] crypto: tcrypt: Remove VLA usage

2018-05-05 Thread Herbert Xu
On Thu, Apr 26, 2018 at 07:57:28PM -0700, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > allocates the return code buffers before starting jiffie timers, rather > than using stack space for the array. Additionally cleans up some exit > paths and make sure t

[PATCH] crypto: tcrypt: Remove VLA usage

2018-04-26 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this allocates the return code buffers before starting jiffie timers, rather than using stack space for the array. Additionally cleans up some exit paths and make sure that the num_mb module_param() is used only once per execution to av