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