All of lore.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:keys-pqc 6/9] lib/crypto/tests/mldsa_kunit.c:84:undefined reference to `mldsa_87_verify'
@ 2025-11-17 20:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-17 20:55 UTC (permalink / raw)
  To: David Howells; +Cc: oe-kbuild-all

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

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

only message in thread, other threads:[~2025-11-17 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 20:55 [dhowells-fs:keys-pqc 6/9] lib/crypto/tests/mldsa_kunit.c:84:undefined reference to `mldsa_87_verify' kernel test robot

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.