fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / crypto / Kconfig
index 4263935..879250d 100644 (file)
@@ -2,22 +2,66 @@ menu "Hardware crypto devices"
 
 config CRYPTO_DEV_PADLOCK
        tristate "Support for VIA PadLock ACE"
 
 config CRYPTO_DEV_PADLOCK
        tristate "Support for VIA PadLock ACE"
-       depends on CRYPTO && X86_32
+       depends on X86_32
+       select CRYPTO_ALGAPI
+       default m
        help
          Some VIA processors come with an integrated crypto engine
          (so called VIA PadLock ACE, Advanced Cryptography Engine)
        help
          Some VIA processors come with an integrated crypto engine
          (so called VIA PadLock ACE, Advanced Cryptography Engine)
-         that provides instructions for very fast {en,de}cryption 
-         with some algorithms.
+         that provides instructions for very fast cryptographic
+         operations with supported algorithms.
          
          The instructions are used only when the CPU supports them.
          
          The instructions are used only when the CPU supports them.
-         Otherwise software encryption is used. If you are unsure,
-         say Y.
+         Otherwise software encryption is used.
+
+         Selecting M for this option will compile a helper module
+         padlock.ko that should autoload all below configured
+         algorithms. Don't worry if your hardware does not support
+         some or all of them. In such case padlock.ko will
+         simply write a single line into the kernel log informing
+         about its failure but everything will keep working fine.
+
+         If you are unsure, say M. The compiled module will be
+         called padlock.ko
 
 config CRYPTO_DEV_PADLOCK_AES
 
 config CRYPTO_DEV_PADLOCK_AES
-       bool "Support for AES in VIA PadLock"
+       tristate "PadLock driver for AES algorithm"
        depends on CRYPTO_DEV_PADLOCK
        depends on CRYPTO_DEV_PADLOCK
-       default y
+       select CRYPTO_BLKCIPHER
+       default m
        help
          Use VIA PadLock for AES algorithm.
 
        help
          Use VIA PadLock for AES algorithm.
 
+         Available in VIA C3 and newer CPUs.
+
+         If unsure say M. The compiled module will be
+         called padlock-aes.ko
+
+config CRYPTO_DEV_PADLOCK_SHA
+       tristate "PadLock driver for SHA1 and SHA256 algorithms"
+       depends on CRYPTO_DEV_PADLOCK
+       select CRYPTO_SHA1
+       select CRYPTO_SHA256
+       default m
+       help
+         Use VIA PadLock for SHA1/SHA256 algorithms.
+
+         Available in VIA C7 and newer processors.
+
+         If unsure say M. The compiled module will be
+         called padlock-sha.ko
+
+config CRYPTO_DEV_GEODE
+       tristate "Support for the Geode LX AES engine"
+       depends on CRYPTO && X86_32 && PCI
+       select CRYPTO_ALGAPI
+       select CRYPTO_BLKCIPHER
+       default m
+       help
+         Say 'Y' here to use the AMD Geode LX processor on-board AES
+         engine for the CryptoAPI AES alogrithm.
+
+         To compile this driver as a module, choose M here: the module
+         will be called geode-aes.
+
 endmenu
 endmenu