]> git.hungrycats.org Git - linux/commitdiff
[CRYPTO]: Use appropriate defaults if AH/ESP is enabled.
authorDavid S. Miller <davem@nuts.ninka.net>
Thu, 9 Jan 2003 15:06:06 +0000 (07:06 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 9 Jan 2003 15:06:06 +0000 (07:06 -0800)
crypto/Kconfig

index 67072c96b3e5d832981f1e88c04556a06f6930d2..3fbb8e5108b6b33dbbe029fcc1d0492068d1e832 100644 (file)
@@ -6,12 +6,14 @@ menu "Cryptographic options"
 
 config CRYPTO
        bool "Cryptographic API"
+       default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
        help
          This option provides the core Cryptographic API.
 
 config CRYPTO_HMAC
        bool "HMAC support"
        depends on CRYPTO
+       default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
        help
          HMAC: Keyed-Hashing for Message Authentication (RFC2104).
          This is required for IPSec.
@@ -31,12 +33,14 @@ config CRYPTO_MD4
 config CRYPTO_MD5
        tristate "MD5 digest algorithm"
        depends on CRYPTO
+       default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
        help
          MD5 message digest algorithm (RFC1321).
 
 config CRYPTO_SHA1
        tristate "SHA1 digest algorithm"
        depends on CRYPTO
+       default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
        help
          SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
 
@@ -52,6 +56,7 @@ config CRYPTO_SHA256
 config CRYPTO_DES
        tristate "DES and Triple DES EDE cipher algorithms"
        depends on CRYPTO
+       default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
        help
          DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).