Improve fastd configuration, disable aes128-gcm by default.

This commit is contained in:
Matthias Schiffer 2013-02-13 02:54:24 +01:00
parent fb9883caf3
commit ceddf39a5e
1 changed files with 8 additions and 6 deletions

View File

@ -8,27 +8,29 @@ config FASTD_ENABLE_METHOD_XSALSA20_POLY1305
config FASTD_ENABLE_METHOD_AES128_GCM config FASTD_ENABLE_METHOD_AES128_GCM
bool "Enable aes128-gcm method" bool "Enable aes128-gcm method"
depends on PACKAGE_fastd && (FASTD_ENABLE_CRYPTO_AES128CTR_NACL || FASTD_ENABLE_CRYPTO_AES128CTR_LINUX) && (FASTD_ENABLE_CRYPTO_GHASH_BUILTIN || FASTD_ENABLE_CRYPTO_GHASH_LINUX) depends on PACKAGE_fastd
default y select FASTD_ENABLE_CRYPTO_AES128CTR_NACL if !FASTD_ENABLE_CRYPTO_AES128CTR_LINUX
select FASTD_ENABLE_CRYPTO_GHASH_BUILTIN if !FASTD_ENABLE_CRYPTO_GHASH_LINUX
default n
config FASTD_ENABLE_CRYPTO_AES128CTR_NACL config FASTD_ENABLE_CRYPTO_AES128CTR_NACL
bool "Include the AES128-CTR implementation from the NaCl library" bool "Include the AES128-CTR implementation from the NaCl library"
depends on PACKAGE_fastd depends on FASTD_ENABLE_METHOD_AES128_GCM
default y default y
config FASTD_ENABLE_CRYPTO_AES128CTR_LINUX config FASTD_ENABLE_CRYPTO_AES128CTR_LINUX
bool "Support using the AES128-CTR implementation in the Linux kernel" bool "Support using the AES128-CTR implementation in the Linux kernel"
depends on PACKAGE_fastd depends on FASTD_ENABLE_METHOD_AES128_GCM
default y default y
config FASTD_ENABLE_CRYPTO_GHASH_BUILTIN config FASTD_ENABLE_CRYPTO_GHASH_BUILTIN
bool "Include the built-in GHASH implementation" bool "Include the built-in GHASH implementation"
depends on PACKAGE_fastd depends on FASTD_ENABLE_METHOD_AES128_GCM
default y default y
config FASTD_ENABLE_CRYPTO_GHASH_LINUX config FASTD_ENABLE_CRYPTO_GHASH_LINUX
bool "Support using the GHASH implementation in the Linux kernel" bool "Support using the GHASH implementation in the Linux kernel"
depends on PACKAGE_fastd depends on FASTD_ENABLE_METHOD_AES128_GCM
default y default y
endmenu endmenu