]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - crypto/Kconfig
[CRYPTO] twofish: x86-64 assembly version
[linux-3.10.git] / crypto / Kconfig
index 89299f4ffe1243ae190ac5134cf8fc1d86474bf8..fa927a287a1d2d324eb662c9306ee7f438118108 100644 (file)
@@ -40,10 +40,11 @@ config CRYPTO_SHA1
        help
          SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
 
-config CRYPTO_SHA1_Z990
-       tristate "SHA1 digest algorithm for IBM zSeries z990"
-       depends on CRYPTO && ARCH_S390
+config CRYPTO_SHA1_S390
+       tristate "SHA1 digest algorithm (s390)"
+       depends on CRYPTO && S390
        help
+         This is the s390 hardware accelerated implementation of the
          SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
 
 config CRYPTO_SHA256
@@ -55,6 +56,16 @@ config CRYPTO_SHA256
          This version of SHA implements a 256 bit hash with 128 bits of
          security against collision attacks.
 
+config CRYPTO_SHA256_S390
+       tristate "SHA256 digest algorithm (s390)"
+       depends on CRYPTO && S390
+       help
+         This is the s390 hardware accelerated implementation of the
+         SHA256 secure hash standard (DFIPS 180-2).
+
+         This version of SHA implements a 256 bit hash with 128 bits of
+         security against collision attacks.
+
 config CRYPTO_SHA512
        tristate "SHA384 and SHA512 digest algorithms"
        depends on CRYPTO
@@ -98,9 +109,9 @@ config CRYPTO_DES
        help
          DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
 
-config CRYPTO_DES_Z990
-       tristate "DES and Triple DES cipher algorithms for IBM zSeries z990"
-       depends on CRYPTO && ARCH_S390
+config CRYPTO_DES_S390
+       tristate "DES and Triple DES cipher algorithms (s390)"
+       depends on CRYPTO && S390
        help
          DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
 
@@ -120,6 +131,7 @@ config CRYPTO_BLOWFISH
 config CRYPTO_TWOFISH
        tristate "Twofish cipher algorithm"
        depends on CRYPTO
+       select CRYPTO_TWOFISH_COMMON
        help
          Twofish cipher algorithm.
          
@@ -131,6 +143,43 @@ config CRYPTO_TWOFISH
          See also:
          <http://www.schneier.com/twofish.html>
 
+config CRYPTO_TWOFISH_COMMON
+       tristate
+       depends on CRYPTO
+       help
+         Common parts of the Twofish cipher algorithm shared by the
+         generic c and the assembler implementations.
+
+config CRYPTO_TWOFISH_586
+       tristate "Twofish cipher algorithms (i586)"
+       depends on CRYPTO && ((X86 || UML_X86) && !64BIT)
+       select CRYPTO_TWOFISH_COMMON
+       help
+         Twofish cipher algorithm.
+
+         Twofish was submitted as an AES (Advanced Encryption Standard)
+         candidate cipher by researchers at CounterPane Systems.  It is a
+         16 round block cipher supporting key sizes of 128, 192, and 256
+         bits.
+
+         See also:
+         <http://www.schneier.com/twofish.html>
+
+config CRYPTO_TWOFISH_X86_64
+       tristate "Twofish cipher algorithm (x86_64)"
+       depends on CRYPTO && ((X86 || UML_X86) && 64BIT)
+       select CRYPTO_TWOFISH_COMMON
+       help
+         Twofish cipher algorithm (x86_64).
+
+         Twofish was submitted as an AES (Advanced Encryption Standard)
+         candidate cipher by researchers at CounterPane Systems.  It is a
+         16 round block cipher supporting key sizes of 128, 192, and 256
+         bits.
+
+         See also:
+         <http://www.schneier.com/twofish.html>
+
 config CRYPTO_SERPENT
        tristate "Serpent cipher algorithm"
        depends on CRYPTO
@@ -146,7 +195,7 @@ config CRYPTO_SERPENT
 
 config CRYPTO_AES
        tristate "AES cipher algorithms"
-       depends on CRYPTO && !(X86 || UML_X86)
+       depends on CRYPTO
        help
          AES cipher algorithms (FIPS-197). AES uses the Rijndael 
          algorithm.
@@ -204,6 +253,26 @@ config CRYPTO_AES_X86_64
 
          See <http://csrc.nist.gov/encryption/aes/> for more information.
 
+config CRYPTO_AES_S390
+       tristate "AES cipher algorithms (s390)"
+       depends on CRYPTO && S390
+       help
+         This is the s390 hardware accelerated implementation of the
+         AES cipher algorithms (FIPS-197). AES uses the Rijndael
+         algorithm.
+
+         Rijndael appears to be consistently a very good performer in
+         both hardware and software across a wide range of computing
+         environments regardless of its use in feedback or non-feedback
+         modes. Its key setup time is excellent, and its key agility is
+         good. Rijndael's very low memory requirements make it very well
+         suited for restricted-space environments, in which it also
+         demonstrates excellent performance. Rijndael's operations are
+         among the easiest to defend against power and timing attacks.
+
+         On s390 the System z9-109 currently only supports the key size
+         of 128 bit.
+
 config CRYPTO_CAST5
        tristate "CAST5 (CAST-128) cipher algorithm"
        depends on CRYPTO
@@ -306,7 +375,7 @@ config CRYPTO_CRC32C
 
 config CRYPTO_TEST
        tristate "Testing module"
-       depends on CRYPTO
+       depends on CRYPTO && m
        help
          Quick & dirty crypto test module.