lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202512221855.nLchuL2R-lkp@intel.com>
Date: Mon, 22 Dec 2025 18:11:48 +0100
From: kernel test robot <lkp@...el.com>
To: "Rusydi H. Makarim" <rusydi.makarim@...ptograf.id>,
	Herbert Xu <herbert@...dor.apana.org.au>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Biggers <ebiggers@...nel.org>,
	"Jason A. Donenfeld" <Jason@...c4.com>,
	Ard Biesheuvel <ardb@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
	"Rusydi H. Makarim" <rusydi.makarim@...ptograf.id>
Subject: Re: [PATCH 1/3] lib/crypto: Add KUnit test vectors for Ascon-Hash256

Hi Rusydi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 92de2d349e02c2dd96d8d1b7016cc78cf80fc085]

url:    https://github.com/intel-lab-lkp/linux/commits/Rusydi-H-Makarim/lib-crypto-Add-KUnit-test-vectors-for-Ascon-Hash256/20251215-215114
base:   92de2d349e02c2dd96d8d1b7016cc78cf80fc085
patch link:    https://lore.kernel.org/r/20251215-ascon_hash256-v1-1-24ae735e571e%40kriptograf.id
patch subject: [PATCH 1/3] lib/crypto: Add KUnit test vectors for Ascon-Hash256
config: x86_64-rhel-9.4-kunit (https://download.01.org/0day-ci/archive/20251222/202512221855.nLchuL2R-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/202512221855.nLchuL2R-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512221855.nLchuL2R-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from lib/crypto/tests/ascon_hash_kunit.c:6:
>> include/crypto/ascon_hash.h:24:18: warning: 'ascon_p_rndc' defined but not used [-Wunused-const-variable=]
      24 | static const u64 ascon_p_rndc[] = {
         |                  ^~~~~~~~~~~~


vim +/ascon_p_rndc +24 include/crypto/ascon_hash.h

    18	
    19	/*
    20	 * The standard of Ascon permutation in NIST SP 800-232 specifies 16 round
    21	 * constants to accomodate potential functionality extensions in the future
    22	 * (see page 2).
    23	 */
  > 24	static const u64 ascon_p_rndc[] = {
    25		0x000000000000003cULL, 0x000000000000002dULL, 0x000000000000001eULL,
    26		0x000000000000000fULL, 0x00000000000000f0ULL, 0x00000000000000e1ULL,
    27		0x00000000000000d2ULL, 0x00000000000000c3ULL, 0x00000000000000b4ULL,
    28		0x00000000000000a5ULL, 0x0000000000000096ULL, 0x0000000000000087ULL,
    29		0x0000000000000078ULL, 0x0000000000000069ULL, 0x000000000000005aULL,
    30		0x000000000000004bULL,
    31	};
    32	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ