diff options
author | Tan Swee Heng <thesweeheng@gmail.com> | 2007-11-23 06:45:00 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 16:16:15 -0500 |
commit | 2407d60872dd2a95404c6048f775f3b64d438f4b (patch) | |
tree | 6a333c5eaae616736b2f184cee8e9f052cee966d /crypto/Kconfig | |
parent | 332f8840f7095d294f9bb066b175a100bcde214c (diff) |
[CRYPTO] salsa20: Salsa20 stream cipher
This patch implements the Salsa20 stream cipher using the blkcipher interface.
The core cipher code comes from Daniel Bernstein's submission to eSTREAM:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/ref/
The test vectors comes from:
http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/
It has been tested successfully with "modprobe tcrypt mode=34" on an
UML instance.
Signed-off-by: Tan Swee Heng <thesweeheng@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 7758454b9f17..8d6cac97021f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -454,6 +454,18 @@ config CRYPTO_SEED | |||
454 | See also: | 454 | See also: |
455 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> | 455 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> |
456 | 456 | ||
457 | config CRYPTO_SALSA20 | ||
458 | tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" | ||
459 | depends on EXPERIMENTAL | ||
460 | select CRYPTO_BLKCIPHER | ||
461 | help | ||
462 | Salsa20 stream cipher algorithm. | ||
463 | |||
464 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | ||
465 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | ||
466 | |||
467 | The Salsa20 stream cipher algorithm is designed by Daniel J. | ||
468 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | ||
457 | 469 | ||
458 | config CRYPTO_DEFLATE | 470 | config CRYPTO_DEFLATE |
459 | tristate "Deflate compression algorithm" | 471 | tristate "Deflate compression algorithm" |