blob: c09336b5a0280cb1490bd95efb301776d4c7c72a [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
Masahide NAKAMURAc11f1a12006-08-23 22:38:14 -070025config XFRM_SUB_POLICY
Kees Cookf215bf42012-10-02 11:20:07 -070026 bool "Transformation sub policy support"
27 depends on XFRM
Masahide NAKAMURAc11f1a12006-08-23 22:38:14 -070028 ---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
Shinta Sugimotod0473652007-02-08 13:13:07 -080035config XFRM_MIGRATE
Kees Cookf215bf42012-10-02 11:20:07 -070036 bool "Transformation migrate database"
37 depends on XFRM
Shinta Sugimotod0473652007-02-08 13:13:07 -080038 ---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
Masahide NAKAMURA8ea84342007-12-20 20:44:02 -080046config XFRM_STATISTICS
Kees Cookf215bf42012-10-02 11:20:07 -070047 bool "Transformation statistics"
48 depends on INET && XFRM && PROC_FS
Masahide NAKAMURA8ea84342007-12-20 20:44:02 -080049 ---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
Herbert Xu6fccab62008-07-25 02:54:40 -070056config XFRM_IPCOMP
57 tristate
Jan Beulich7e152522012-05-15 01:57:44 +000058 select XFRM_ALGO
Herbert Xu6fccab62008-07-25 02:54:40 -070059 select CRYPTO
60 select CRYPTO_DEFLATE
61
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070062config NET_KEY
63 tristate "PF_KEY sockets"
Jan Beulich7e152522012-05-15 01:57:44 +000064 select XFRM_ALGO
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070065 ---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
Shinta Sugimotof6ed0ec2007-02-08 13:15:05 -080072config NET_KEY_MIGRATE
Kees Cookf215bf42012-10-02 11:20:07 -070073 bool "PF_KEY MIGRATE"
74 depends on NET_KEY
Shinta Sugimotof6ed0ec2007-02-08 13:15:05 -080075 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.
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070087