GNU Linux-libre 4.9.309-gnu1
[releases.git] / net / xfrm / Kconfig
1 #
2 # XFRM configuration
3 #
4 config XFRM
5        bool
6        depends on NET
7
8 config XFRM_ALGO
9         tristate
10         select XFRM
11         select CRYPTO
12         select CRYPTO_HASH
13         select CRYPTO_BLKCIPHER
14
15 config XFRM_USER
16         tristate "Transformation user configuration interface"
17         depends on INET
18         select XFRM_ALGO
19         ---help---
20           Support for Transformation(XFRM) user configuration interface
21           like IPsec used by native Linux tools.
22
23           If unsure, say Y.
24
25 config XFRM_SUB_POLICY
26         bool "Transformation sub policy support"
27         depends on XFRM
28         ---help---
29           Support sub policy for developers. By using sub policy with main
30           one, two policies can be applied to the same packet at once.
31           Policy which lives shorter time in kernel should be a sub.
32
33           If unsure, say N.
34
35 config XFRM_MIGRATE
36         bool "Transformation migrate database"
37         depends on XFRM
38         ---help---
39           A feature to update locator(s) of a given IPsec security
40           association dynamically.  This feature is required, for
41           instance, in a Mobile IPv6 environment with IPsec configuration
42           where mobile nodes change their attachment point to the Internet.
43
44           If unsure, say N.
45
46 config XFRM_STATISTICS
47         bool "Transformation statistics"
48         depends on INET && XFRM && PROC_FS
49         ---help---
50           This statistics is not a SNMP/MIB specification but shows
51           statistics about transformation error (or almost error) factor
52           at packet processing for developer.
53
54           If unsure, say N.
55
56 config XFRM_IPCOMP
57         tristate
58         select XFRM_ALGO
59         select CRYPTO
60         select CRYPTO_DEFLATE
61
62 config NET_KEY
63         tristate "PF_KEY sockets"
64         select XFRM_ALGO
65         ---help---
66           PF_KEYv2 socket family, compatible to KAME ones.
67           They are required if you are going to use IPsec tools ported
68           from KAME.
69
70           Say Y unless you know what you are doing.
71
72 config NET_KEY_MIGRATE
73         bool "PF_KEY MIGRATE"
74         depends on NET_KEY
75         select XFRM_MIGRATE
76         ---help---
77           Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
78           The PF_KEY MIGRATE message is used to dynamically update
79           locator(s) of a given IPsec security association.
80           This feature is required, for instance, in a Mobile IPv6
81           environment with IPsec configuration where mobile nodes
82           change their attachment point to the Internet.  Detail
83           information can be found in the internet-draft
84           <draft-sugimoto-mip6-pfkey-migrate>.
85
86           If unsure, say N.
87