All of lore.kernel.org
 help / color / mirror / Atom feed
* [l1k:spdm-future 18/46] crypto/ecdsa-x962.c:133:16: error: implicit declaration of function 'crypto_digest_size'; did you mean 'crypto_sig_maxsize'?
@ 2024-09-09  3:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-09  3:48 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-002-20240909 (https://download.01.org/0day-ci/archive/20240909/202409091106.Zn1dPy5q-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240909/202409091106.Zn1dPy5q-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/202409091106.Zn1dPy5q-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   crypto/ecdsa-x962.c: In function 'ecdsa_x962_digest_size':
>> crypto/ecdsa-x962.c:133:16: error: implicit declaration of function 'crypto_digest_size'; did you mean 'crypto_sig_maxsize'? [-Werror=implicit-function-declaration]
     133 |         return crypto_digest_size(ctx->child);
         |                ^~~~~~~~~~~~~~~~~~
         |                crypto_sig_maxsize
   cc1: some warnings being treated as errors
--
   crypto/ecdsa.c: In function 'ecdsa_digest_size':
>> crypto/ecdsa.c:180:16: error: 'SHA512_DIGEST_SIZE' undeclared (first use in this function)
     180 |         return SHA512_DIGEST_SIZE;
         |                ^~~~~~~~~~~~~~~~~~
   crypto/ecdsa.c:180:16: note: each undeclared identifier is reported only once for each function it appears in
>> crypto/ecdsa.c:181:1: warning: control reaches end of non-void function [-Wreturn-type]
     181 | }
         | ^


vim +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  3:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  3:48 [l1k:spdm-future 18/46] crypto/ecdsa-x962.c:133:16: error: implicit declaration of function 'crypto_digest_size'; did you mean 'crypto_sig_maxsize'? 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.