Re: [PATCH 2/2] salsa20_i586: Salsa20 stream cipher algorithm (i586 version)

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

 



On Thu, Dec 06, 2007 at 04:31:25AM +0800, Tan Swee Heng wrote:
> This patch contains the salsa20-i586 implementation. The original
> assembly code came from
> <http://cr.yp.to/snuffle/salsa20/x86-pm/salsa20.s>. I have reformatted
> it (added indents) so that it matches the other algorithms in
> arch/x86/crypto.
> 
> This patch also contains a speed test for salsa20-i586. Usage is
> "modprobe tcrypt mode=206"
> 
> Signed-off-by: Tan Swee Heng <thesweeheng@xxxxxxxxx>

Patch applied.  Thanks!

BTW, I changed your speed test so that it just tests on salsa20.
That way the user can choose which variant gets tested by unloading
the i586 version.

It also prevents a failure if the platform doesn't have salsa20-i586,
which is the case on my x86-64 :)

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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