summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2004-02-17 01:37:27 -0800
committerSridhar Samudrala <sri@us.ibm.com>2004-02-17 01:37:27 -0800
commita1ec4338464ed0cfcbdb3648841ca64f90d15ac4 (patch)
tree7b85796a184e5fcdb0fedd7183a678f40da7c071
parent76a96102c602d56504f814b6918b203c36f4fd01 (diff)
[SCTP] Force enable Crypto options that are needed by SCTP config.
-rw-r--r--net/sctp/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig
index 061e989ebe42..24cfb6015802 100644
--- a/net/sctp/Kconfig
+++ b/net/sctp/Kconfig
@@ -74,13 +74,19 @@ config SCTP_HMAC_NONE
establishment. It is advised to use either HMAC-MD5 or HMAC-SHA1.
config SCTP_HMAC_SHA1
- bool "HMAC-SHA1" if CRYPTO_HMAC=y && CRYPTO_SHA1=y || CRYPTO_SHA1=m
+ bool "HMAC-SHA1"
+ select CRYPTO
+ select CRYPTO_HMAC
+ select CRYPTO_SHA1
help
Enable the use of HMAC-SHA1 during association establishment. It
is advised to use either HMAC-MD5 or HMAC-SHA1.
config SCTP_HMAC_MD5
- bool "HMAC-MD5" if CRYPTO_HMAC=y && CRYPTO_MD5=y || CRYPTO_MD5=m
+ bool "HMAC-MD5"
+ select CRYPTO
+ select CRYPTO_HMAC
+ select CRYPTO_MD5
help
Enable the use of HMAC-MD5 during association establishment. It is
advised to use either HMAC-MD5 or HMAC-SHA1.