blob: cf778a93c4fb11def13a3a6d8965ad438b4f8059 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# XFRM configuration
3#
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -07004config XFRM
5 bool
6 depends on NET
7
Jan Beulich7e152522012-05-15 01:57:44 +00008config XFRM_ALGO
9 tristate
10 select XFRM
11 select CRYPTO
Arnd Bergmanndfa3cee52019-06-18 13:22:13 +020012 select CRYPTO_HASH
13 select CRYPTO_BLKCIPHER
Jan Beulich7e152522012-05-15 01:57:44 +000014
Linus Torvalds1da177e2005-04-16 15:20:36 -070015config XFRM_USER
Masahide NAKAMURA654b32c2006-08-23 19:12:56 -070016 tristate "Transformation user configuration interface"
Jan Beulich7e152522012-05-15 01:57:44 +000017 depends on INET
18 select XFRM_ALGO
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 ---help---
Masahide NAKAMURA654b32c2006-08-23 19:12:56 -070020 Support for Transformation(XFRM) user configuration interface
21 like IPsec used by native Linux tools.
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23 If unsure, say Y.
24
Steffen Klassertf5bb9e92018-06-12 14:07:12 +020025config XFRM_INTERFACE
26 tristate "Transformation virtual interface"
27 depends on XFRM && IPV6
28 ---help---
29 This provides a virtual interface to route IPsec traffic.
30
31 If unsure, say N.
32
Masahide NAKAMURAc11f1a12006-08-23 22:38:14 -070033config XFRM_SUB_POLICY
Kees Cookf215bf42012-10-02 11:20:07 -070034 bool "Transformation sub policy support"
35 depends on XFRM
Masahide NAKAMURAc11f1a12006-08-23 22:38:14 -070036 ---help---
37 Support sub policy for developers. By using sub policy with main
38 one, two policies can be applied to the same packet at once.
39 Policy which lives shorter time in kernel should be a sub.
40
41 If unsure, say N.
42
Shinta Sugimotod0473652007-02-08 13:13:07 -080043config XFRM_MIGRATE
Kees Cookf215bf42012-10-02 11:20:07 -070044 bool "Transformation migrate database"
45 depends on XFRM
Shinta Sugimotod0473652007-02-08 13:13:07 -080046 ---help---
47 A feature to update locator(s) of a given IPsec security
48 association dynamically. This feature is required, for
49 instance, in a Mobile IPv6 environment with IPsec configuration
50 where mobile nodes change their attachment point to the Internet.
51
52 If unsure, say N.
53
Masahide NAKAMURA8ea84342007-12-20 20:44:02 -080054config XFRM_STATISTICS
Kees Cookf215bf42012-10-02 11:20:07 -070055 bool "Transformation statistics"
56 depends on INET && XFRM && PROC_FS
Masahide NAKAMURA8ea84342007-12-20 20:44:02 -080057 ---help---
58 This statistics is not a SNMP/MIB specification but shows
59 statistics about transformation error (or almost error) factor
60 at packet processing for developer.
61
62 If unsure, say N.
63
Herbert Xu6fccab62008-07-25 02:54:40 -070064config XFRM_IPCOMP
65 tristate
Jan Beulich7e152522012-05-15 01:57:44 +000066 select XFRM_ALGO
Herbert Xu6fccab62008-07-25 02:54:40 -070067 select CRYPTO
68 select CRYPTO_DEFLATE
69
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070070config NET_KEY
71 tristate "PF_KEY sockets"
Jan Beulich7e152522012-05-15 01:57:44 +000072 select XFRM_ALGO
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070073 ---help---
74 PF_KEYv2 socket family, compatible to KAME ones.
75 They are required if you are going to use IPsec tools ported
76 from KAME.
77
78 Say Y unless you know what you are doing.
79
Shinta Sugimotof6ed0ec2007-02-08 13:15:05 -080080config NET_KEY_MIGRATE
Kees Cookf215bf42012-10-02 11:20:07 -070081 bool "PF_KEY MIGRATE"
82 depends on NET_KEY
Shinta Sugimotof6ed0ec2007-02-08 13:15:05 -080083 select XFRM_MIGRATE
84 ---help---
85 Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
86 The PF_KEY MIGRATE message is used to dynamically update
87 locator(s) of a given IPsec security association.
88 This feature is required, for instance, in a Mobile IPv6
89 environment with IPsec configuration where mobile nodes
90 change their attachment point to the Internet. Detail
91 information can be found in the internet-draft
92 <draft-sugimoto-mip6-pfkey-migrate>.
93
94 If unsure, say N.
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070095