From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754807Ab1HGTsG (ORCPT ); Sun, 7 Aug 2011 15:48:06 -0400 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 From: Andreas Schwab To: Joachim Eastwood 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 Subject: Re: [PATCH] lib/sha1: use the git implementation of SHA-1 References: <1312595187-3265-1-git-send-email-msb@chromium.org> X-Yow: Is this an out-take from the ``BRADY BUNCH''? Date: Sun, 07 Aug 2011 21:47:58 +0200 In-Reply-To: (Joachim Eastwood's message of "Sun, 7 Aug 2011 20:57:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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."