]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/crypto/Kconfig
[CRYPTO] hifn795x: Disallow built-in hifn795x when HW_RANDOM is m
[linux-2.6-omap-h63xx.git] / drivers / crypto / Kconfig
index 74bd599dfb0ceeac53346c0d07241593a5e74c57..8a70a9edabdafd1d0e4795793e625ca2e645a3e8 100644 (file)
@@ -88,10 +88,16 @@ config CRYPTO_DEV_HIFN_795X
        select CRYPTO_DES
        select CRYPTO_ALGAPI
        select CRYPTO_BLKCIPHER
+       select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
        depends on PCI
        help
          This option allows you to have support for HIFN 795x crypto adapters.
 
-
+config CRYPTO_DEV_HIFN_795X_RNG
+       bool "HIFN 795x random number generator"
+       depends on CRYPTO_DEV_HIFN_795X
+       help
+         Select this option if you want to enable the random number generator
+         on the HIFN 795x crypto adapters.
 
 endif # CRYPTO_HW