linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lib/crypto/curve25519-hacl64.c:601:1: warning: the frame size of 3168 bytes is larger than 2048 bytes
@ 2020-11-19  4:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-19  4:36 UTC (permalink / raw)
  To: Kees Cook
  Cc: kbuild-all, linux-kernel, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 3063 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c2e7554e1b85935d962127efa3c2a76483b0b3b6
commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST
date:   7 months ago
config: arm64-randconfig-r024-20201119 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8d58f222e85f01da0c0e1fc1e77986c86de889e2
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8d58f222e85f01da0c0e1fc1e77986c86de889e2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   lib/crypto/curve25519-hacl64.c: In function 'ladder_cmult.constprop':
>> lib/crypto/curve25519-hacl64.c:601:1: warning: the frame size of 3168 bytes is larger than 2048 bytes [-Wframe-larger-than=]
     601 | }
         | ^
   lib/crypto/curve25519-hacl64.c: In function 'curve25519_generic':
   lib/crypto/curve25519-hacl64.c:788:1: warning: the frame size of 2704 bytes is larger than 2048 bytes [-Wframe-larger-than=]
     788 | }
         | ^

vim +601 lib/crypto/curve25519-hacl64.c

0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  589  
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  590  static void ladder_cmult(u64 *result, u8 *n1, u64 *q)
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  591  {
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  592  	u64 point_buf[40] = { 0 };
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  593  	u64 *nq = point_buf;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  594  	u64 *nqpq = point_buf + 10;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  595  	u64 *nq2 = point_buf + 20;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  596  	u64 *nqpq2 = point_buf + 30;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  597  	point_copy(nqpq, q);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  598  	nq[0] = 1;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  599  	ladder_bigloop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, 32);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  600  	point_copy(result, nq);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08 @601  }
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  602  

:::::: The code at line 601 was first introduced by commit
:::::: 0ed42a6f431e930b2e8fae21955406e09fe75d70 crypto: curve25519 - generic C library implementations

:::::: TO: Jason A. Donenfeld <Jason@zx2c4.com>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33885 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-19  4:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19  4:36 lib/crypto/curve25519-hacl64.c:601:1: warning: the frame size of 3168 bytes is larger than 2048 bytes kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).