Re: [PATCH] crypto: padlock - Add SHA-1/256 module for VIA Nano

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 22, 2011 at 04:52:33PM +0800, Herbert Xu wrote:
> On Tue, Mar 22, 2011 at 02:10:13PM +0800, BrillyWu@xxxxxxxxxxxxxx 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<brillywu@xxxxxxxxxxxxxx>
> > Signed-off-by: KaryJin<karyjin@xxxxxxxxxxxxxx>
> 
> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux