X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsctp%2FKconfig;h=d7757c951c38b2f95d2450f06f3b736606615748;hb=90ad8654ffeb336af8c878fdf7bc72e2ac72467a;hp=9cba49e2ad431895e202a96659252d3697c4696e;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig index 9cba49e2a..d7757c951 100644 --- a/net/sctp/Kconfig +++ b/net/sctp/Kconfig @@ -8,10 +8,6 @@ menu "SCTP Configuration (EXPERIMENTAL)" config IP_SCTP tristate "The SCTP Protocol (EXPERIMENTAL)" depends on IPV6 || IPV6=n - select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 - select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 - select CRYPTO_SHA1 if SCTP_HMAC_SHA1 - select CRYPTO_MD5 if SCTP_HMAC_MD5 ---help--- Stream Control Transmission Protocol @@ -75,12 +71,18 @@ config SCTP_HMAC_NONE config SCTP_HMAC_SHA1 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" + 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.