diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 13:53:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 13:53:32 +0200 |
commit | 365066d25eaed1f5e47030d593888b922a84c11c (patch) | |
tree | a85abbe993b45aa65ed8444a69d925213780d427 /target | |
parent | 71582bdd2080c6d7fb446d4cea10c93cf781419d (diff) |
fix strongswan package, ESP now works.
Diffstat (limited to 'target')
-rw-r--r-- | target/Config.in | 6 | ||||
-rw-r--r-- | target/alix2d/kernel.config | 17 | ||||
-rw-r--r-- | target/linux/config/Config.in.crypto | 35 | ||||
-rw-r--r-- | target/linux/config/Config.in.ipsec | 3 |
4 files changed, 56 insertions, 5 deletions
diff --git a/target/Config.in b/target/Config.in index 9db5efed1..9e98d3fdd 100644 --- a/target/Config.in +++ b/target/Config.in @@ -161,6 +161,9 @@ config ADK_wag54g config ADK_shuttle tristate +config ADK_x86 + tristate + config ADK_TARGET string default "alix1c" if ADK_alix1c @@ -636,6 +639,7 @@ depends on ADK_LINUX_ALIX config ADK_LINUX_X86_ALIX1C bool "PC Engines Alix1C" + select ADK_x86 select ADK_alix1c select ADK_KERNEL_NLS select ADK_KERNEL_SCSI @@ -659,6 +663,7 @@ config ADK_LINUX_X86_ALIX1C config ADK_LINUX_X86_ALIX2D bool "PC Engines Alix2D" + select ADK_x86 select ADK_alix2d select ADK_KERNEL_NLS select ADK_KERNEL_SCSI @@ -682,6 +687,7 @@ config ADK_LINUX_X86_ALIX2D config ADK_LINUX_X86_ALIX2D13 bool "PC Engines Alix2D13" + select ADK_x86 select ADK_alix2d13 select ADK_KERNEL_NLS select ADK_KERNEL_SCSI diff --git a/target/alix2d/kernel.config b/target/alix2d/kernel.config index 9169d8037..cfe4a4653 100644 --- a/target/alix2d/kernel.config +++ b/target/alix2d/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.34 -# Mon Jul 5 23:07:16 2010 +# Fri Jul 16 05:47:44 2010 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -1177,10 +1177,19 @@ CONFIG_CRYPTO=y # # Crypto core or helper # -# CONFIG_CRYPTO_MANAGER is not set -# CONFIG_CRYPTO_MANAGER2 is not set +CONFIG_CRYPTO_ALGAPI=m +CONFIG_CRYPTO_ALGAPI2=m +CONFIG_CRYPTO_AEAD2=m +CONFIG_CRYPTO_BLKCIPHER2=m +CONFIG_CRYPTO_HASH=m +CONFIG_CRYPTO_HASH2=m +CONFIG_CRYPTO_RNG2=m +CONFIG_CRYPTO_PCOMP=m +CONFIG_CRYPTO_MANAGER=m +CONFIG_CRYPTO_MANAGER2=m # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_NULL is not set +CONFIG_CRYPTO_WORKQUEUE=m # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_AUTHENC is not set # CONFIG_CRYPTO_TEST is not set @@ -1207,7 +1216,7 @@ CONFIG_CRYPTO=y # Hash modes # # CONFIG_CRYPTO_HMAC is not set -# CONFIG_CRYPTO_XCBC is not set +CONFIG_CRYPTO_XCBC=m # CONFIG_CRYPTO_VMAC is not set # diff --git a/target/linux/config/Config.in.crypto b/target/linux/config/Config.in.crypto index cb6675468..b9d73aac2 100644 --- a/target/linux/config/Config.in.crypto +++ b/target/linux/config/Config.in.crypto @@ -150,6 +150,22 @@ config ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI help +config ADK_KPACKAGE_KMOD_CRYPTO_AUTHENC + prompt "kmod-crypto-authenc.................. AuthENC (IPsec)" + tristate + select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER + default n + help + +config ADK_KPACKAGE_KMOD_CRYPTO_SEQIV + prompt "kmod-crypto-seqiv.................... Sequence Number IV Generator" + select ADK_KPACKAGE_KMOD_CRYPTO_RNG2 + select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI + tristate + help + This IV generator generates an IV based on a sequence number by + xoring it with a salt. This algorithm is mainly useful for CTR + config ADK_KPACKAGE_KMOD_CRYPTO_CBC prompt "kmod-crypto-cbc...................... CBC support" tristate @@ -161,6 +177,25 @@ config ADK_KPACKAGE_KMOD_CRYPTO_CBC CBC: Cipher Block Chaining mode This block cipher algorithm is required for IPSec. +config ADK_KPACKAGE_KMOD_CRYPTO_CCM + prompt "kmod-crypto-ccm...................... CCM support" + tristate + select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER + select ADK_KPACKAGE_KMOD_CRYPTO_CTR + default n + help + Support for Counter with CBC MAC. Required for IPsec. + +config ADK_KPACKAGE_KMOD_CRYPTO_CTR + prompt "kmod-crypto-ctr...................... CTR support" + tristate + select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER + select ADK_KPACKAGE_KMOD_CRYPTO_SEQIV + default n + help + CTR: Counter mode + This block cipher algorithm is required for IPSec. + config ADK_KPACKAGE_KMOD_CRYPTO_ECB prompt "kmod-crypto-ecb...................... ECB support" tristate diff --git a/target/linux/config/Config.in.ipsec b/target/linux/config/Config.in.ipsec index f1b17327a..05c5da5ba 100644 --- a/target/linux/config/Config.in.ipsec +++ b/target/linux/config/Config.in.ipsec @@ -1,7 +1,7 @@ menu "IPSec support" config ADK_KPACKAGE_KMOD_NET_KEY - prompt "kmod-net-ipsec-netkey............. PF_KEYv2 socket family" + prompt "kmod-net-key..................... PF_KEYv2 socket family" tristate default n help @@ -32,6 +32,7 @@ config ADK_KPACKAGE_KMOD_INET_ESP config ADK_KPACKAGE_KMOD_INET_IPCOMP prompt "kmod-inet-ipcomp.................. IP Payload Compression" tristate + select ADK_KPACKAGE_KMOD_CRYPTO_DEFLATE default n help Support for IP Payload Compression Protocol (IPComp) (RFC3173), |