]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/xfrm/Kconfig
Merge tag 'ecryptfs-5.3-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / net / xfrm / Kconfig
index 5d43aaa1702738670b593edfe182437dfd5b1d3b..51bb6018f3bf3d1e2cddf3273e36448b2a8fa6af 100644 (file)
@@ -1,9 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # XFRM configuration
 #
 config XFRM
        bool
-       depends on NET
+       depends on INET
        select GRO_CELLS
        select SKB_EXTENSIONS
 
@@ -14,10 +15,12 @@ config XFRM_ALGO
        tristate
        select XFRM
        select CRYPTO
+       select CRYPTO_HASH
+       select CRYPTO_BLKCIPHER
 
+if INET
 config XFRM_USER
        tristate "Transformation user configuration interface"
-       depends on INET
        select XFRM_ALGO
        ---help---
          Support for Transformation(XFRM) user configuration interface
@@ -56,7 +59,7 @@ config XFRM_MIGRATE
 
 config XFRM_STATISTICS
        bool "Transformation statistics"
-       depends on INET && XFRM && PROC_FS
+       depends on XFRM && PROC_FS
        ---help---
          This statistics is not a SNMP/MIB specification but shows
          statistics about transformation error (or almost error) factor
@@ -95,3 +98,5 @@ config NET_KEY_MIGRATE
          <draft-sugimoto-mip6-pfkey-migrate>.
 
          If unsure, say N.
+
+endif # INET