aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorTan Swee Heng <thesweeheng@gmail.com>2007-12-17 11:04:40 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:57 -0500
commit9a7dafbba47384c330779c75a1546684efaa8c1a (patch)
tree0fde4a938ebc3c9deb0873b709dc5d2d69ab25c3 /crypto
parent974e4b752ee623854c5dc2bbfc7c7725029ce173 (diff)
[CRYPTO] salsa20: Add x86-64 assembly version
This is the x86-64 version of the Salsa20 stream cipher algorithm. The original assembly code came from <http://cr.yp.to/snuffle/salsa20/amd64-3/salsa20.s>. It has been reformatted for clarity. Signed-off-by: Tan Swee Heng <thesweeheng@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 221356b4150c..b0481f7b002a 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -504,6 +504,21 @@ config CRYPTO_SALSA20_586
504 The Salsa20 stream cipher algorithm is designed by Daniel J. 504 The Salsa20 stream cipher algorithm is designed by Daniel J.
505 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 505 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
506 506
507config CRYPTO_SALSA20_X86_64
508 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
509 depends on (X86 || UML_X86) && 64BIT
510 depends on EXPERIMENTAL
511 select CRYPTO_BLKCIPHER
512 select CRYPTO_SALSA20
513 help
514 Salsa20 stream cipher algorithm.
515
516 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
517 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
518
519 The Salsa20 stream cipher algorithm is designed by Daniel J.
520 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
521
507config CRYPTO_DEFLATE 522config CRYPTO_DEFLATE
508 tristate "Deflate compression algorithm" 523 tristate "Deflate compression algorithm"
509 select CRYPTO_ALGAPI 524 select CRYPTO_ALGAPI