diff options
-rw-r--r-- | net/ipv4/Kconfig | 4 | ||||
-rw-r--r-- | net/ipv6/Kconfig | 4 | ||||
-rw-r--r-- | net/xfrm/Kconfig | 13 | ||||
-rw-r--r-- | net/xfrm/Makefile | 3 | ||||
-rw-r--r-- | net/xfrm/xfrm_algo.c | 2 |
5 files changed, 17 insertions, 9 deletions
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig index d183262943d9..2c8febd3ebda 100644 --- a/net/ipv4/Kconfig +++ b/net/ipv4/Kconfig | |||
@@ -312,7 +312,7 @@ config SYN_COOKIES | |||
312 | 312 | ||
313 | config INET_AH | 313 | config INET_AH |
314 | tristate "IP: AH transformation" | 314 | tristate "IP: AH transformation" |
315 | select XFRM | 315 | select XFRM_ALGO |
316 | select CRYPTO | 316 | select CRYPTO |
317 | select CRYPTO_HMAC | 317 | select CRYPTO_HMAC |
318 | select CRYPTO_MD5 | 318 | select CRYPTO_MD5 |
@@ -324,7 +324,7 @@ config INET_AH | |||
324 | 324 | ||
325 | config INET_ESP | 325 | config INET_ESP |
326 | tristate "IP: ESP transformation" | 326 | tristate "IP: ESP transformation" |
327 | select XFRM | 327 | select XFRM_ALGO |
328 | select CRYPTO | 328 | select CRYPTO |
329 | select CRYPTO_AUTHENC | 329 | select CRYPTO_AUTHENC |
330 | select CRYPTO_HMAC | 330 | select CRYPTO_HMAC |
diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig index 36d7437ac054..5728695b5449 100644 --- a/net/ipv6/Kconfig +++ b/net/ipv6/Kconfig | |||
@@ -69,7 +69,7 @@ config IPV6_OPTIMISTIC_DAD | |||
69 | 69 | ||
70 | config INET6_AH | 70 | config INET6_AH |
71 | tristate "IPv6: AH transformation" | 71 | tristate "IPv6: AH transformation" |
72 | select XFRM | 72 | select XFRM_ALGO |
73 | select CRYPTO | 73 | select CRYPTO |
74 | select CRYPTO_HMAC | 74 | select CRYPTO_HMAC |
75 | select CRYPTO_MD5 | 75 | select CRYPTO_MD5 |
@@ -81,7 +81,7 @@ config INET6_AH | |||
81 | 81 | ||
82 | config INET6_ESP | 82 | config INET6_ESP |
83 | tristate "IPv6: ESP transformation" | 83 | tristate "IPv6: ESP transformation" |
84 | select XFRM | 84 | select XFRM_ALGO |
85 | select CRYPTO | 85 | select CRYPTO |
86 | select CRYPTO_AUTHENC | 86 | select CRYPTO_AUTHENC |
87 | select CRYPTO_HMAC | 87 | select CRYPTO_HMAC |
diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 6d081674515f..ce90b8d92365 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig | |||
@@ -3,12 +3,17 @@ | |||
3 | # | 3 | # |
4 | config XFRM | 4 | config XFRM |
5 | bool | 5 | bool |
6 | select CRYPTO | ||
7 | depends on NET | 6 | depends on NET |
8 | 7 | ||
8 | config XFRM_ALGO | ||
9 | tristate | ||
10 | select XFRM | ||
11 | select CRYPTO | ||
12 | |||
9 | config XFRM_USER | 13 | config XFRM_USER |
10 | tristate "Transformation user configuration interface" | 14 | tristate "Transformation user configuration interface" |
11 | depends on INET && XFRM | 15 | depends on INET |
16 | select XFRM_ALGO | ||
12 | ---help--- | 17 | ---help--- |
13 | Support for Transformation(XFRM) user configuration interface | 18 | Support for Transformation(XFRM) user configuration interface |
14 | like IPsec used by native Linux tools. | 19 | like IPsec used by native Linux tools. |
@@ -48,13 +53,13 @@ config XFRM_STATISTICS | |||
48 | 53 | ||
49 | config XFRM_IPCOMP | 54 | config XFRM_IPCOMP |
50 | tristate | 55 | tristate |
51 | select XFRM | 56 | select XFRM_ALGO |
52 | select CRYPTO | 57 | select CRYPTO |
53 | select CRYPTO_DEFLATE | 58 | select CRYPTO_DEFLATE |
54 | 59 | ||
55 | config NET_KEY | 60 | config NET_KEY |
56 | tristate "PF_KEY sockets" | 61 | tristate "PF_KEY sockets" |
57 | select XFRM | 62 | select XFRM_ALGO |
58 | ---help--- | 63 | ---help--- |
59 | PF_KEYv2 socket family, compatible to KAME ones. | 64 | PF_KEYv2 socket family, compatible to KAME ones. |
60 | They are required if you are going to use IPsec tools ported | 65 | They are required if you are going to use IPsec tools ported |
diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile index aa429eefe919..c0e961983f17 100644 --- a/net/xfrm/Makefile +++ b/net/xfrm/Makefile | |||
@@ -3,8 +3,9 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \ | 5 | obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \ |
6 | xfrm_input.o xfrm_output.o xfrm_algo.o \ | 6 | xfrm_input.o xfrm_output.o \ |
7 | xfrm_sysctl.o xfrm_replay.o | 7 | xfrm_sysctl.o xfrm_replay.o |
8 | obj-$(CONFIG_XFRM_STATISTICS) += xfrm_proc.o | 8 | obj-$(CONFIG_XFRM_STATISTICS) += xfrm_proc.o |
9 | obj-$(CONFIG_XFRM_ALGO) += xfrm_algo.o | ||
9 | obj-$(CONFIG_XFRM_USER) += xfrm_user.o | 10 | obj-$(CONFIG_XFRM_USER) += xfrm_user.o |
10 | obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o | 11 | obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o |
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c index 791ab2e77f3f..ecd6d8d8a66c 100644 --- a/net/xfrm/xfrm_algo.c +++ b/net/xfrm/xfrm_algo.c | |||
@@ -752,3 +752,5 @@ void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) | |||
752 | } | 752 | } |
753 | EXPORT_SYMBOL_GPL(pskb_put); | 753 | EXPORT_SYMBOL_GPL(pskb_put); |
754 | #endif | 754 | #endif |
755 | |||
756 | MODULE_LICENSE("GPL"); | ||