Re: [PATCH v3 24/29] crypto: lib/curve25519 - work around Clang stack spilling issue

2019-10-14 Thread Ard Biesheuvel
On Mon, 14 Oct 2019 at 16:14, Jason A. Donenfeld wrote: > > Hi Ard, > > On Mon, Oct 7, 2019 at 6:46 PM Ard Biesheuvel > wrote: > > Arnd reports that the 32-bit generic library code for Curve25119 ends > > up using an excessive amount of stack space when built with Clang: > > > > lib/crypto/cur

Re: [PATCH v3 24/29] crypto: lib/curve25519 - work around Clang stack spilling issue

2019-10-14 Thread Jason A. Donenfeld
Hi Ard, On Mon, Oct 7, 2019 at 6:46 PM Ard Biesheuvel wrote: > Arnd reports that the 32-bit generic library code for Curve25119 ends > up using an excessive amount of stack space when built with Clang: > > lib/crypto/curve25519-fiat32.c:756:6: error: stack frame size > of 1384 bytes in fu

[PATCH v3 24/29] crypto: lib/curve25519 - work around Clang stack spilling issue

2019-10-07 Thread Ard Biesheuvel
Arnd reports that the 32-bit generic library code for Curve25119 ends up using an excessive amount of stack space when built with Clang: lib/crypto/curve25519-fiat32.c:756:6: error: stack frame size of 1384 bytes in function 'curve25519_generic' [-Werror,-Wframe-larger-than=] Let's