diff options
author | Tan Swee Heng <thesweeheng@gmail.com> | 2007-12-10 02:52:56 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 16:16:57 -0500 |
commit | 974e4b752ee623854c5dc2bbfc7c7725029ce173 (patch) | |
tree | e2eb69820a90058a026def6a02a397c082811934 /crypto | |
parent | dadbc53d0bbde0e84c40b9f6bc5c50eb9eb7352a (diff) |
[CRYPTO] salsa20_i586: Salsa20 stream cipher algorithm (i586 version)
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.
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/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 6c086eedc14f..221356b4150c 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -489,6 +489,21 @@ config CRYPTO_SALSA20 | |||
489 | The Salsa20 stream cipher algorithm is designed by Daniel J. | 489 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
490 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | 490 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
491 | 491 | ||
492 | config CRYPTO_SALSA20_586 | ||
493 | tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" | ||
494 | depends on (X86 || UML_X86) && !64BIT | ||
495 | depends on EXPERIMENTAL | ||
496 | select CRYPTO_BLKCIPHER | ||
497 | select CRYPTO_SALSA20 | ||
498 | help | ||
499 | Salsa20 stream cipher algorithm. | ||
500 | |||
501 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | ||
502 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | ||
503 | |||
504 | The Salsa20 stream cipher algorithm is designed by Daniel J. | ||
505 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | ||
506 | |||
492 | config CRYPTO_DEFLATE | 507 | config CRYPTO_DEFLATE |
493 | tristate "Deflate compression algorithm" | 508 | tristate "Deflate compression algorithm" |
494 | select CRYPTO_ALGAPI | 509 | select CRYPTO_ALGAPI |