Re: [PATCH 2/2] crypto: aria: implement aria-avx512

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Herbert,
Thank you so much for your review!

On 11/4/22 18:32, Herbert Xu wrote:
> On Wed, Oct 26, 2022 at 05:20:57AM +0000, Taehee Yoo wrote:
>>
>> +		while (nbytes >= ARIA_GFNI_AVX512_PARALLEL_BLOCK_SIZE) {
>> +			u8 keystream[ARIA_GFNI_AVX512_PARALLEL_BLOCK_SIZE];
>
> This is too big for the stack.  Perhaps put it into the reqctx.
>
> Cheers,

Thanks, I will put the keystream array into the struct aria_ctx.

Thanks a lot!
Taehee Yoo



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux