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


Groups > linux.kernel > #1252446

Re: [PATCH 4/8] crypto: ux500: Use precalculated hash from headers

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/8] crypto: ux500: Use precalculated hash from headers
Date 2015-10-21 05:20 +0200
Message-ID <qlS6t-7be-1@gated-at.bofh.it> (permalink)
References <qlzGy-5pm-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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/20151020-154222
config: arm-u8500_defconfig (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 >>):

   drivers/built-in.o: In function `get_empty_message_digest':
>> drivers/crypto/ux500/hash/hash_core.c:229: undefined reference to `sha1_zero_message_hash'
>> drivers/crypto/ux500/hash/hash_core.c:229: undefined reference to `sha1_zero_message_hash'

vim +229 drivers/crypto/ux500/hash/hash_core.c

   223		/**
   224		 * Caller responsible for ctx != NULL.
   225		 */
   226	
   227		if (HASH_OPER_MODE_HASH == ctx->config.oper_mode) {
   228			if (HASH_ALGO_SHA1 == ctx->config.algorithm) {
 > 229				memcpy(zero_hash, &sha1_zero_message_hash[0],
   230				       SHA1_DIGEST_SIZE);
   231				*zero_hash_size = SHA1_DIGEST_SIZE;
   232				*zero_digest = true;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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


Thread

[PATCH 4/8] crypto: ux500: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-20 09:40 +0200
  Re: [PATCH 4/8] crypto: ux500: Use precalculated hash from headers kbuild test robot <lkp@intel.com> - 2015-10-21 05:20 +0200

csiph-web