Re: [PATCH v6 17/18] crypto: ccm: Remove VLA usage

From: Kees Cook
Date: Tue Jul 24 2018 - 13:51:32 EST


On Tue, Jul 24, 2018 at 9:57 AM, Ard Biesheuvel
<ard.biesheuvel@xxxxxxxxxx> wrote:
> On 24 July 2018 at 18:49, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>> From: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
>>
>> In the quest to remove all stack VLA usage from the kernel[1], this
>> drops AHASH_REQUEST_ON_STACK by preallocated the ahash request area
>> with the skcipher area (which are not used at the same time).
>>
>
> -EGRAMMAR

Whoops. Will fix my poor sentence merging. :)

-Kees

--
Kees Cook
Pixel Security