]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1da177e4 LT |
2 | # |
3 | # XFRM configuration | |
4 | # | |
6a2e9b73 | 5 | config XFRM |
43da1411 KK |
6 | bool |
7 | depends on INET | |
8 | select GRO_CELLS | |
9 | select SKB_EXTENSIONS | |
6a2e9b73 | 10 | |
25393d3f | 11 | config XFRM_OFFLOAD |
43da1411 | 12 | bool |
25393d3f | 13 | |
7e152524 JB |
14 | config XFRM_ALGO |
15 | tristate | |
16 | select XFRM | |
17 | select CRYPTO | |
597179b0 | 18 | select CRYPTO_HASH |
b95bba5d | 19 | select CRYPTO_SKCIPHER |
7e152524 | 20 | |
e54d1527 | 21 | if INET |
1da177e4 | 22 | config XFRM_USER |
654b32c6 | 23 | tristate "Transformation user configuration interface" |
7e152524 | 24 | select XFRM_ALGO |
a7f7f624 | 25 | help |
654b32c6 MN |
26 | Support for Transformation(XFRM) user configuration interface |
27 | like IPsec used by native Linux tools. | |
1da177e4 LT |
28 | |
29 | If unsure, say Y. | |
30 | ||
c9e7c76d DS |
31 | config XFRM_USER_COMPAT |
32 | tristate "Compatible ABI support" | |
5106f4a8 DS |
33 | depends on XFRM_USER && COMPAT_FOR_U64_ALIGNMENT && \ |
34 | HAVE_EFFICIENT_UNALIGNED_ACCESS | |
c9e7c76d DS |
35 | select WANT_COMPAT_NETLINK_MESSAGES |
36 | help | |
37 | Transformation(XFRM) user configuration interface like IPsec | |
38 | used by compatible Linux applications. | |
39 | ||
40 | If unsure, say N. | |
41 | ||
f203b76d SK |
42 | config XFRM_INTERFACE |
43 | tristate "Transformation virtual interface" | |
44 | depends on XFRM && IPV6 | |
a7f7f624 | 45 | help |
f203b76d SK |
46 | This provides a virtual interface to route IPsec traffic. |
47 | ||
48 | If unsure, say N. | |
49 | ||
c11f1a15 | 50 | config XFRM_SUB_POLICY |
f215bf48 KC |
51 | bool "Transformation sub policy support" |
52 | depends on XFRM | |
a7f7f624 | 53 | help |
c11f1a15 MN |
54 | Support sub policy for developers. By using sub policy with main |
55 | one, two policies can be applied to the same packet at once. | |
56 | Policy which lives shorter time in kernel should be a sub. | |
57 | ||
58 | If unsure, say N. | |
59 | ||
d0473655 | 60 | config XFRM_MIGRATE |
f215bf48 KC |
61 | bool "Transformation migrate database" |
62 | depends on XFRM | |
a7f7f624 | 63 | help |
d0473655 SS |
64 | A feature to update locator(s) of a given IPsec security |
65 | association dynamically. This feature is required, for | |
66 | instance, in a Mobile IPv6 environment with IPsec configuration | |
67 | where mobile nodes change their attachment point to the Internet. | |
68 | ||
69 | If unsure, say N. | |
70 | ||
8ea84349 | 71 | config XFRM_STATISTICS |
f215bf48 | 72 | bool "Transformation statistics" |
e54d1527 | 73 | depends on XFRM && PROC_FS |
a7f7f624 | 74 | help |
8ea84349 MN |
75 | This statistics is not a SNMP/MIB specification but shows |
76 | statistics about transformation error (or almost error) factor | |
77 | at packet processing for developer. | |
78 | ||
79 | If unsure, say N. | |
80 | ||
be013698 EB |
81 | # This option selects XFRM_ALGO along with the AH authentication algorithms that |
82 | # RFC 8221 lists as MUST be implemented. | |
7d4e3919 EB |
83 | config XFRM_AH |
84 | tristate | |
85 | select XFRM_ALGO | |
86 | select CRYPTO | |
87 | select CRYPTO_HMAC | |
be013698 | 88 | select CRYPTO_SHA256 |
7d4e3919 | 89 | |
be013698 EB |
90 | # This option selects XFRM_ALGO along with the ESP encryption and authentication |
91 | # algorithms that RFC 8221 lists as MUST be implemented. | |
7d4e3919 EB |
92 | config XFRM_ESP |
93 | tristate | |
94 | select XFRM_ALGO | |
95 | select CRYPTO | |
be013698 | 96 | select CRYPTO_AES |
7d4e3919 | 97 | select CRYPTO_AUTHENC |
7d4e3919 | 98 | select CRYPTO_CBC |
7d4e3919 | 99 | select CRYPTO_ECHAINIV |
be013698 EB |
100 | select CRYPTO_GCM |
101 | select CRYPTO_HMAC | |
37ea0f18 | 102 | select CRYPTO_SEQIV |
be013698 | 103 | select CRYPTO_SHA256 |
7d4e3919 | 104 | |
6fccab67 HX |
105 | config XFRM_IPCOMP |
106 | tristate | |
7e152524 | 107 | select XFRM_ALGO |
6fccab67 HX |
108 | select CRYPTO |
109 | select CRYPTO_DEFLATE | |
110 | ||
6a2e9b73 SR |
111 | config NET_KEY |
112 | tristate "PF_KEY sockets" | |
7e152524 | 113 | select XFRM_ALGO |
a7f7f624 | 114 | help |
6a2e9b73 SR |
115 | PF_KEYv2 socket family, compatible to KAME ones. |
116 | They are required if you are going to use IPsec tools ported | |
117 | from KAME. | |
118 | ||
119 | Say Y unless you know what you are doing. | |
120 | ||
f6ed0ec0 | 121 | config NET_KEY_MIGRATE |
f215bf48 KC |
122 | bool "PF_KEY MIGRATE" |
123 | depends on NET_KEY | |
f6ed0ec0 | 124 | select XFRM_MIGRATE |
a7f7f624 | 125 | help |
f6ed0ec0 SS |
126 | Add a PF_KEY MIGRATE message to PF_KEYv2 socket family. |
127 | The PF_KEY MIGRATE message is used to dynamically update | |
128 | locator(s) of a given IPsec security association. | |
129 | This feature is required, for instance, in a Mobile IPv6 | |
130 | environment with IPsec configuration where mobile nodes | |
131 | change their attachment point to the Internet. Detail | |
132 | information can be found in the internet-draft | |
133 | <draft-sugimoto-mip6-pfkey-migrate>. | |
134 | ||
135 | If unsure, say N. | |
e54d1527 | 136 | |
26333c37 SD |
137 | config XFRM_ESPINTCP |
138 | bool | |
139 | ||
e54d1527 | 140 | endif # INET |