xfrm: make xfrm_algo.c a module
[firefly-linux-kernel-4.4.55.git] / net / xfrm / Kconfig
index 6d081674515f0a7112580d1328c52bceda0386e5..ce90b8d923655ecfa3634ec864912734a2cd1a98 100644 (file)
@@ -3,12 +3,17 @@
 #
 config XFRM
        bool
-       select CRYPTO
        depends on NET
 
+config XFRM_ALGO
+       tristate
+       select XFRM
+       select CRYPTO
+
 config XFRM_USER
        tristate "Transformation user configuration interface"
-       depends on INET && XFRM
+       depends on INET
+       select XFRM_ALGO
        ---help---
          Support for Transformation(XFRM) user configuration interface
          like IPsec used by native Linux tools.
@@ -48,13 +53,13 @@ config XFRM_STATISTICS
 
 config XFRM_IPCOMP
        tristate
-       select XFRM
+       select XFRM_ALGO
        select CRYPTO
        select CRYPTO_DEFLATE
 
 config NET_KEY
        tristate "PF_KEY sockets"
-       select XFRM
+       select XFRM_ALGO
        ---help---
          PF_KEYv2 socket family, compatible to KAME ones.
          They are required if you are going to use IPsec tools ported