All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [dhowells-fs:keys-pqc 6/9] lib/crypto/tests/mldsa_kunit.c:84:undefined reference to `mldsa_87_verify'
Date: Tue, 18 Nov 2025 04:55:06 +0800	[thread overview]
Message-ID: <202511180425.HmUlC007-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git keys-pqc
head:   e298b80f8063fcbc335870ff3f1d59dae4d5116a
commit: 063e7379ca52344edf2253e59d40970d3f528803 [6/9] crypto: Add ML-DSA-87 pure rejection test vectors as a kunit test
config: sparc-randconfig-r072-20251118 (https://download.01.org/0day-ci/archive/20251118/202511180425.HmUlC007-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511180425.HmUlC007-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511180425.HmUlC007-lkp@intel.com/

All errors (new ones prefixed by >>):

   sparc-linux-ld: lib/crypto/tests/mldsa_kunit.o: in function `dilithium_87_kunit_test':
>> lib/crypto/tests/mldsa_kunit.c:84:(.text+0x48): undefined reference to `mldsa_87_verify'
   sparc-linux-ld: lib/crypto/tests/mldsa_kunit.o: in function `dilithium_65_kunit_test':
   lib/crypto/tests/mldsa_kunit.c:68:(.text+0x134): undefined reference to `mldsa_65_verify'
   sparc-linux-ld: lib/crypto/tests/mldsa_kunit.o: in function `dilithium_44_kunit_test':
   lib/crypto/tests/mldsa_kunit.c:52:(.text+0x204): undefined reference to `mldsa_44_verify'


vim +84 lib/crypto/tests/mldsa_kunit.c

    76	
    77	static void dilithium_87_kunit_test(struct kunit *test)
    78	{
    79		const struct dilithium_testvector *tc = dilithium_87_testvectors;
    80		int count = ARRAY_SIZE(dilithium_87_testvectors);
    81		int ret;
    82	
    83		for (int index = 0; index < count; index++) {
  > 84			ret = mldsa_87_verify(tc->pk, tc->pk_len,
    85					      tc->msg, tc->msg_len,
    86					      tc->sig, tc->sig_len);
    87			KUNIT_ASSERT_EQ_MSG(test, ret, 0, "Verify failed");
    88		}
    89	
    90		KUNIT_SUCCEED(test);
    91	}
    92	

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

                 reply	other threads:[~2025-11-17 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202511180425.HmUlC007-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.