Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272901AbTHNQxw (ORCPT ); Thu, 14 Aug 2003 12:53:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272932AbTHNQxw (ORCPT ); Thu, 14 Aug 2003 12:53:52 -0400 Received: from mailhost.NMT.EDU ([129.138.4.52]:63143 "EHLO mailhost.nmt.edu") by vger.kernel.org with ESMTP id S272901AbTHNQxi (ORCPT ); Thu, 14 Aug 2003 12:53:38 -0400 Date: Thu, 14 Aug 2003 10:53:20 -0600 From: Val Henson To: Matt Mackall Cc: "Theodore Ts'o" , James Morris , Jamie Lokier , linux-kernel , Andrew Morton , davem@redhat.com Subject: Re: [RFC][PATCH] Make cryptoapi non-optional? Message-ID: <20030814165320.GA2839@speare5-1-14> References: <20030809173329.GU31810@waste.org> <20030810174528.GZ31810@waste.org> <20030813032038.GA1244@think> <20030813040614.GP31810@waste.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030813040614.GP31810@waste.org> User-Agent: Mutt/1.4.1i X-Favorite-Color: Polka dot Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 24 On Tue, Aug 12, 2003 at 11:06:14PM -0500, Matt Mackall wrote: > On Tue, Aug 12, 2003 at 11:20:38PM -0400, Theodore Ts'o wrote: > > > The real issue is discarding information. By folding, we hide > > information about the output of the SHA hash that will hopefully deny > > information that a Very Sophisticated Attacker (say, at the level of a > > certain agency that designed the SHA algorithm) that might make it > > easier for them to attack the SHA algorithm. > > I'll buy that. However simply dropping the data would serve this > purpose better. As would hashing less than the entire pool on each > read. I agree. Throwing away 80 bits of the 160 bit output is much better than folding the two halves together. In all the cases we've discussed where folding might improve matters, throwing away half the output would be even better. -VAL - 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/