1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# XFRM configuration 41da177e4SLinus Torvalds# 56a2e9b73SSam Ravnborgconfig XFRM 66a2e9b73SSam Ravnborg bool 7e54d1527SFlorian Westphal depends on INET 897e219b7SEric Dumazet select GRO_CELLS 9a84e3f53SFlorian Westphal select SKB_EXTENSIONS 106a2e9b73SSam Ravnborg 1125393d3fSSteffen Klassertconfig XFRM_OFFLOAD 1225393d3fSSteffen Klassert bool 1325393d3fSSteffen Klassert 147e152524SJan Beulichconfig XFRM_ALGO 157e152524SJan Beulich tristate 167e152524SJan Beulich select XFRM 177e152524SJan Beulich select CRYPTO 18597179b0SArnd Bergmann select CRYPTO_HASH 19b95bba5dSEric Biggers select CRYPTO_SKCIPHER 207e152524SJan Beulich 21e54d1527SFlorian Westphalif INET 221da177e4SLinus Torvaldsconfig XFRM_USER 23654b32c6SMasahide NAKAMURA tristate "Transformation user configuration interface" 247e152524SJan Beulich select XFRM_ALGO 25a7f7f624SMasahiro Yamada help 26654b32c6SMasahide NAKAMURA Support for Transformation(XFRM) user configuration interface 27654b32c6SMasahide NAKAMURA like IPsec used by native Linux tools. 281da177e4SLinus Torvalds 291da177e4SLinus Torvalds If unsure, say Y. 301da177e4SLinus Torvalds 31c9e7c76dSDmitry Safonovconfig XFRM_USER_COMPAT 32c9e7c76dSDmitry Safonov tristate "Compatible ABI support" 33*5106f4a8SDmitry Safonov depends on XFRM_USER && COMPAT_FOR_U64_ALIGNMENT && \ 34*5106f4a8SDmitry Safonov HAVE_EFFICIENT_UNALIGNED_ACCESS 35c9e7c76dSDmitry Safonov select WANT_COMPAT_NETLINK_MESSAGES 36c9e7c76dSDmitry Safonov help 37c9e7c76dSDmitry Safonov Transformation(XFRM) user configuration interface like IPsec 38c9e7c76dSDmitry Safonov used by compatible Linux applications. 39c9e7c76dSDmitry Safonov 40c9e7c76dSDmitry Safonov If unsure, say N. 41c9e7c76dSDmitry Safonov 42f203b76dSSteffen Klassertconfig XFRM_INTERFACE 43f203b76dSSteffen Klassert tristate "Transformation virtual interface" 44f203b76dSSteffen Klassert depends on XFRM && IPV6 45a7f7f624SMasahiro Yamada help 46f203b76dSSteffen Klassert This provides a virtual interface to route IPsec traffic. 47f203b76dSSteffen Klassert 48f203b76dSSteffen Klassert If unsure, say N. 49f203b76dSSteffen Klassert 50c11f1a15SMasahide NAKAMURAconfig XFRM_SUB_POLICY 51f215bf48SKees Cook bool "Transformation sub policy support" 52f215bf48SKees Cook depends on XFRM 53a7f7f624SMasahiro Yamada help 54c11f1a15SMasahide NAKAMURA Support sub policy for developers. By using sub policy with main 55c11f1a15SMasahide NAKAMURA one, two policies can be applied to the same packet at once. 56c11f1a15SMasahide NAKAMURA Policy which lives shorter time in kernel should be a sub. 57c11f1a15SMasahide NAKAMURA 58c11f1a15SMasahide NAKAMURA If unsure, say N. 59c11f1a15SMasahide NAKAMURA 60d0473655SShinta Sugimotoconfig XFRM_MIGRATE 61f215bf48SKees Cook bool "Transformation migrate database" 62f215bf48SKees Cook depends on XFRM 63a7f7f624SMasahiro Yamada help 64d0473655SShinta Sugimoto A feature to update locator(s) of a given IPsec security 65d0473655SShinta Sugimoto association dynamically. This feature is required, for 66d0473655SShinta Sugimoto instance, in a Mobile IPv6 environment with IPsec configuration 67d0473655SShinta Sugimoto where mobile nodes change their attachment point to the Internet. 68d0473655SShinta Sugimoto 69d0473655SShinta Sugimoto If unsure, say N. 70d0473655SShinta Sugimoto 718ea84349SMasahide NAKAMURAconfig XFRM_STATISTICS 72f215bf48SKees Cook bool "Transformation statistics" 73e54d1527SFlorian Westphal depends on XFRM && PROC_FS 74a7f7f624SMasahiro Yamada help 758ea84349SMasahide NAKAMURA This statistics is not a SNMP/MIB specification but shows 768ea84349SMasahide NAKAMURA statistics about transformation error (or almost error) factor 778ea84349SMasahide NAKAMURA at packet processing for developer. 788ea84349SMasahide NAKAMURA 798ea84349SMasahide NAKAMURA If unsure, say N. 808ea84349SMasahide NAKAMURA 81be013698SEric Biggers# This option selects XFRM_ALGO along with the AH authentication algorithms that 82be013698SEric Biggers# RFC 8221 lists as MUST be implemented. 837d4e3919SEric Biggersconfig XFRM_AH 847d4e3919SEric Biggers tristate 857d4e3919SEric Biggers select XFRM_ALGO 867d4e3919SEric Biggers select CRYPTO 877d4e3919SEric Biggers select CRYPTO_HMAC 88be013698SEric Biggers select CRYPTO_SHA256 897d4e3919SEric Biggers 90be013698SEric Biggers# This option selects XFRM_ALGO along with the ESP encryption and authentication 91be013698SEric Biggers# algorithms that RFC 8221 lists as MUST be implemented. 927d4e3919SEric Biggersconfig XFRM_ESP 937d4e3919SEric Biggers tristate 947d4e3919SEric Biggers select XFRM_ALGO 957d4e3919SEric Biggers select CRYPTO 96be013698SEric Biggers select CRYPTO_AES 977d4e3919SEric Biggers select CRYPTO_AUTHENC 987d4e3919SEric Biggers select CRYPTO_CBC 997d4e3919SEric Biggers select CRYPTO_ECHAINIV 100be013698SEric Biggers select CRYPTO_GCM 101be013698SEric Biggers select CRYPTO_HMAC 10237ea0f18SEric Biggers select CRYPTO_SEQIV 103be013698SEric Biggers select CRYPTO_SHA256 1047d4e3919SEric Biggers 1056fccab67SHerbert Xuconfig XFRM_IPCOMP 1066fccab67SHerbert Xu tristate 1077e152524SJan Beulich select XFRM_ALGO 1086fccab67SHerbert Xu select CRYPTO 1096fccab67SHerbert Xu select CRYPTO_DEFLATE 1106fccab67SHerbert Xu 1116a2e9b73SSam Ravnborgconfig NET_KEY 1126a2e9b73SSam Ravnborg tristate "PF_KEY sockets" 1137e152524SJan Beulich select XFRM_ALGO 114a7f7f624SMasahiro Yamada help 1156a2e9b73SSam Ravnborg PF_KEYv2 socket family, compatible to KAME ones. 1166a2e9b73SSam Ravnborg They are required if you are going to use IPsec tools ported 1176a2e9b73SSam Ravnborg from KAME. 1186a2e9b73SSam Ravnborg 1196a2e9b73SSam Ravnborg Say Y unless you know what you are doing. 1206a2e9b73SSam Ravnborg 121f6ed0ec0SShinta Sugimotoconfig NET_KEY_MIGRATE 122f215bf48SKees Cook bool "PF_KEY MIGRATE" 123f215bf48SKees Cook depends on NET_KEY 124f6ed0ec0SShinta Sugimoto select XFRM_MIGRATE 125a7f7f624SMasahiro Yamada help 126f6ed0ec0SShinta Sugimoto Add a PF_KEY MIGRATE message to PF_KEYv2 socket family. 127f6ed0ec0SShinta Sugimoto The PF_KEY MIGRATE message is used to dynamically update 128f6ed0ec0SShinta Sugimoto locator(s) of a given IPsec security association. 129f6ed0ec0SShinta Sugimoto This feature is required, for instance, in a Mobile IPv6 130f6ed0ec0SShinta Sugimoto environment with IPsec configuration where mobile nodes 131f6ed0ec0SShinta Sugimoto change their attachment point to the Internet. Detail 132f6ed0ec0SShinta Sugimoto information can be found in the internet-draft 133f6ed0ec0SShinta Sugimoto <draft-sugimoto-mip6-pfkey-migrate>. 134f6ed0ec0SShinta Sugimoto 135f6ed0ec0SShinta Sugimoto If unsure, say N. 136e54d1527SFlorian Westphal 13726333c37SSabrina Dubrocaconfig XFRM_ESPINTCP 13826333c37SSabrina Dubroca bool 13926333c37SSabrina Dubroca 140e54d1527SFlorian Westphalendif # INET 141