Re: lib/crypto/chacha.c:65:1: warning: the frame size of 1604 bytes is larger than 1024 bytes

From: Linus Torvalds
Date: Thu Aug 27 2020 - 13:35:11 EST


On Thu, Aug 27, 2020 at 1:25 AM Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Interestingly this particular file fails with those options on
> gcc 8, 9 and 10.

How are you guys testing? I have UBSAN and GCOV on, and don't see
crazy frames on either i386 or x86-64.

I see 72 bytes and 64 bytes respectively for chacha_permute() (plus
the register pushes, which is about the same size)

Linus