1 # SPDX-License-Identifier: GPL-2.0-only
20 select CRYPTO_SKCIPHER
24 tristate "Transformation user configuration interface"
27 Support for Transformation(XFRM) user configuration interface
28 like IPsec used by native Linux tools.
32 config XFRM_USER_COMPAT
33 tristate "Compatible ABI support"
34 depends on XFRM_USER && COMPAT_FOR_U64_ALIGNMENT && \
35 HAVE_EFFICIENT_UNALIGNED_ACCESS
36 select WANT_COMPAT_NETLINK_MESSAGES
38 Transformation(XFRM) user configuration interface like IPsec
39 used by compatible Linux applications.
44 tristate "Transformation virtual interface"
45 depends on XFRM && IPV6
47 This provides a virtual interface to route IPsec traffic.
51 config XFRM_SUB_POLICY
52 bool "Transformation sub policy support"
55 Support sub policy for developers. By using sub policy with main
56 one, two policies can be applied to the same packet at once.
57 Policy which lives shorter time in kernel should be a sub.
62 bool "Transformation migrate database"
65 A feature to update locator(s) of a given IPsec security
66 association dynamically. This feature is required, for
67 instance, in a Mobile IPv6 environment with IPsec configuration
68 where mobile nodes change their attachment point to the Internet.
72 config XFRM_STATISTICS
73 bool "Transformation statistics"
74 depends on XFRM && PROC_FS
76 This statistics is not a SNMP/MIB specification but shows
77 statistics about transformation error (or almost error) factor
78 at packet processing for developer.
82 # This option selects XFRM_ALGO along with the AH authentication algorithms that
83 # RFC 8221 lists as MUST be implemented.
91 # This option selects XFRM_ALGO along with the ESP encryption and authentication
92 # algorithms that RFC 8221 lists as MUST be implemented.
100 select CRYPTO_ECHAINIV
110 select CRYPTO_DEFLATE
113 tristate "PF_KEY sockets"
116 PF_KEYv2 socket family, compatible to KAME ones.
117 They are required if you are going to use IPsec tools ported
120 Say Y unless you know what you are doing.
122 config NET_KEY_MIGRATE
123 bool "PF_KEY MIGRATE"
127 Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
128 The PF_KEY MIGRATE message is used to dynamically update
129 locator(s) of a given IPsec security association.
130 This feature is required, for instance, in a Mobile IPv6
131 environment with IPsec configuration where mobile nodes
132 change their attachment point to the Internet. Detail
133 information can be found in the internet-draft
134 <draft-sugimoto-mip6-pfkey-migrate>.