All of lore.kernel.org
 help / color / mirror / Atom feed
* [l1k:spdm-future 18/46] crypto/ecdsa-x962.c:133:9: error: call to undeclared function 'crypto_digest_size'; ISO C99 and later do not support implicit function declarations
@ 2024-09-09  4:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-09  4:19 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: oe-kbuild-all

tree:   https://github.com/l1k/linux spdm-future
head:   fc9f4270fb1c1618a497f5bc1cf9eef4ac9032d2
commit: 4bea63ccdf35da2dfec51745eff4aedc115296a8 [18/46] crypto: ecdsa - Move X9.62 signature size calculation into template
config: i386-buildonly-randconfig-001-20240909 (https://download.01.org/0day-ci/archive/20240909/202409091230.da2DgHxt-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240909/202409091230.da2DgHxt-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/202409091230.da2DgHxt-lkp@intel.com/

All errors (new ones prefixed by >>):

>> crypto/ecdsa-x962.c:133:9: error: call to undeclared function 'crypto_digest_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     133 |         return crypto_digest_size(ctx->child);
         |                ^
   1 error generated.
--
>> crypto/ecdsa.c:180:9: error: use of undeclared identifier 'SHA512_DIGEST_SIZE'
     180 |         return SHA512_DIGEST_SIZE;
         |                ^
   1 error generated.


vim +/crypto_digest_size +133 crypto/ecdsa-x962.c

   128	
   129	static unsigned int ecdsa_x962_digest_size(struct crypto_sig *tfm)
   130	{
   131		struct ecdsa_x962_ctx *ctx = crypto_sig_ctx(tfm);
   132	
 > 133		return crypto_digest_size(ctx->child);
   134	}
   135	

-- 
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:[~2024-09-09  4:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  4:19 [l1k:spdm-future 18/46] crypto/ecdsa-x962.c:133:9: error: call to undeclared function 'crypto_digest_size'; ISO C99 and later do not support implicit function declarations 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.