Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1245061

Re: [PATCH 8/8] crypto: testmgr: Use the xxx_zero_message_hash from headers

From Corentin LABBE <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 8/8] crypto: testmgr: Use the xxx_zero_message_hash from headers
Date 2015-10-12 21:40 +0200
Message-ID <qiR6W-cl-3@gated-at.bofh.it> (permalink)
References <qiQXg-8t1-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 12/10/2015 21:24, kbuild test robot a écrit :
> Hi LABBE,
> 
> [auto build test ERROR on crypto/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
> 
> url:    https://github.com/0day-ci/linux/commits/LABBE-Corentin/crypto-hash-add-zero-length-message-hash-for-shax-and-md5/20151013-005943
> config: arm-mmp (attached as .config)
> reproduce:
>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm 
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from crypto/testmgr.c:48:0:
>>> crypto/testmgr.h:370:13: error: 'md5_zero_message_hash' undeclared here (not in a function)
>       .digest = md5_zero_message_hash,
>                 ^
>>> crypto/testmgr.h:715:13: error: 'sha1_zero_message_hash' undeclared here (not in a function)
>       .digest = sha1_zero_message_hash,
>                 ^
>>> crypto/testmgr.h:715:3: error: initializer element is not constant
>       .digest = sha1_zero_message_hash,
>       ^
>    crypto/testmgr.h:715:3: error: (near initialization for 'sha1_tv_template[0].digest')
>>> crypto/testmgr.h:906:13: error: 'sha224_zero_message_hash' undeclared here (not in a function)
>       .digest = sha224_zero_message_hash,
>                 ^
>    crypto/testmgr.h:906:3: error: initializer element is not constant
>       .digest = sha224_zero_message_hash,
>       ^
>    crypto/testmgr.h:906:3: error: (near initialization for 'sha224_tv_template[0].digest')
>>> crypto/testmgr.h:1077:13: error: 'sha256_zero_message_hash' undeclared here (not in a function)
>       .digest = sha256_zero_message_hash,
>                 ^
>    crypto/testmgr.h:1077:3: error: initializer element is not constant
>       .digest = sha256_zero_message_hash,
>       ^
>    crypto/testmgr.h:1077:3: error: (near initialization for 'sha256_tv_template[0].digest')
> 
> vim +/md5_zero_message_hash +370 crypto/testmgr.h
> 
>    364	 * MD5 test vectors from RFC1321
>    365	 */
>    366	#define MD5_TEST_VECTORS	7
>    367	
>    368	static struct hash_testvec md5_tv_template[] = {
>    369		{
>  > 370			.digest	= md5_zero_message_hash,
>    371		}, {
>    372			.plaintext = "a",
>    373			.psize	= 1,
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 

Oups I forgot to add sha and md5 header, I will resend tomorow.

Regards

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: add precalculated hash for zero message length LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-12 19:00 +0200
  [PATCH 8/8] crypto: testmgr: Use the xxx_zero_message_hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-12 19:00 +0200
    Re: [PATCH 8/8] crypto: testmgr: Use the xxx_zero_message_hash from  headers kbuild test robot <lkp@intel.com> - 2015-10-12 21:30 +0200
      Re: [PATCH 8/8] crypto: testmgr: Use the xxx_zero_message_hash from  headers Corentin LABBE <clabbe.montjoie@gmail.com> - 2015-10-12 21:40 +0200
  [PATCH 3/8] crypto: ccp: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-12 19:00 +0200
  [PATCH 1/8] crypto: hash: add zero length message hash for shax and md5 LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-12 19:00 +0200
    Re: [PATCH 1/8] crypto: hash: add zero length message hash for shax  and md5 Herbert Xu <herbert@gondor.apana.org.au> - 2015-10-14 12:10 +0200
      Re: [PATCH 1/8] crypto: hash: add zero length message hash for shax  and md5 LABBE Corentin <montjoie.mailing@gmail.com> - 2015-10-15 11:50 +0200
        Re: [PATCH 1/8] crypto: hash: add zero length message hash for shax  and md5 Ulf Hansson <ulf.hansson@linaro.org> - 2015-10-16 13:30 +0200
  [PATCH 5/8] crypto: akcipher: fix typos in include/crypto/akcipher.h LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-12 19:00 +0200

csiph-web