From: Andreas Schwab Subject: Re: [PATCH] lib/sha1: use the git implementation of SHA-1 Date: Sun, 07 Aug 2011 21:47:58 +0200 Message-ID: References: <1312595187-3265-1-git-send-email-msb@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Mandeep Singh Baines , linux-kernel@vger.kernel.org, Ramsay Jones , Nicolas Pitre , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux@arm.linux.org.uk To: Joachim Eastwood Return-path: Received: from mail-out.m-online.net ([212.18.0.10]:55866 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754755Ab1HGTsE (ORCPT ); Sun, 7 Aug 2011 15:48:04 -0400 In-Reply-To: (Joachim Eastwood's message of "Sun, 7 Aug 2011 20:57:36 +0200") Sender: linux-crypto-owner@vger.kernel.org List-ID: Joachim Eastwood writes: > On Sun, Aug 7, 2011 at 8:38 PM, Linus Torvalds > wrote: >> There aren't many users of that define, could you just turn it back to the proper 16, and then try changing it to 80 in each place that uses it? >> >> That way we'd see exactly *which* use is the buggy one.. > > Its drivers/char/random.c. ARM has its own implementation of sha_transform in arch/arm/lib/sha1.S, which assumes SHA_WORKSPACE_WORDS is 80. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."