From: Herbert Xu Subject: Re: [PATCH] crypto: padlock - Add SHA-1/256 module for VIA Nano Date: Wed, 23 Mar 2011 21:27:18 +0800 Message-ID: <20110323132718.GA4567@gondor.apana.org.au> References: <20110322085233.GA23594@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org, davem@davemloft.net To: BrillyWu@viatech.com.cn Return-path: Received: from helcar.apana.org.au ([209.40.204.226]:47899 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932868Ab1CWN1X (ORCPT ); Wed, 23 Mar 2011 09:27:23 -0400 Content-Disposition: inline In-Reply-To: <20110322085233.GA23594@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Tue, Mar 22, 2011 at 04:52:33PM +0800, Herbert Xu wrote: > On Tue, Mar 22, 2011 at 02:10:13PM +0800, BrillyWu@viatech.com.cn wrote: > > Add new SHA-1/256 module that never needs any fallback and just calls > > the > > PadLock hardware instruction supported from VIA Nano processors to > > implement > > the "update" and "final" function. > > They are respectively named "sha1_alg_nano" and "sha256_alg_nano", and > > will > > be used on any VIA Nano processor or the later ones. On VIA C7 CPU, the > > "sha1_alg" > > and "sha256_alg" modules will still be used as before. > > > > Signed-off-by: BrillyWu > > Signed-off-by: KaryJin > > Very nice :) I'll apply the patch. Unfortunately it doesn't apply: $ git apply ~/p fatal: patch fragment without header at line 23: @@ -288,9 +288,250 @@ static struct shash_alg sha256_alg = { It appears that your mailer has chopped the lines up. Please resend the patch with this problem fixed. You can test this yourself by applying the patch from the copy sent to you via the list. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt