diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-07-19 10:42:38 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-08-01 05:47:52 -0400 |
commit | 322cacce0a3c36d3ad89d8836b9ed6fcb06e1a61 (patch) | |
tree | bfd6c5a941e31cece3c2cd75265e235567175bc1 /drivers/crypto/Kconfig | |
parent | 61bb86bba169507a5f223b94b9176c32c84b4721 (diff) |
powerpc/crypto: rework Kconfig
This patch creates a new submenu for the NX cryptographic
hardware accelerator and breaks the NX options into their own
Kconfig file under drivers/crypto/nx/Kconfig.
This will permit additional NX functionality to be easily
and more cleanly added in the future without touching
drivers/crypto/Makefile|Kconfig.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r-- | drivers/crypto/Kconfig | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 7d74d092aa8f..662588a1c41b 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -298,21 +298,15 @@ config CRYPTO_DEV_TEGRA_AES | |||
298 | will be called tegra-aes. | 298 | will be called tegra-aes. |
299 | 299 | ||
300 | config CRYPTO_DEV_NX | 300 | config CRYPTO_DEV_NX |
301 | tristate "Support for Power7+ in-Nest cryptographic acceleration" | 301 | bool "Support for IBM Power7+ in-Nest cryptographic acceleration" |
302 | depends on PPC64 && IBMVIO | 302 | depends on PPC64 && IBMVIO |
303 | select CRYPTO_AES | 303 | default n |
304 | select CRYPTO_CBC | ||
305 | select CRYPTO_ECB | ||
306 | select CRYPTO_CCM | ||
307 | select CRYPTO_GCM | ||
308 | select CRYPTO_AUTHENC | ||
309 | select CRYPTO_XCBC | ||
310 | select CRYPTO_SHA256 | ||
311 | select CRYPTO_SHA512 | ||
312 | help | 304 | help |
313 | Support for Power7+ in-Nest cryptographic acceleration. This | 305 | Support for Power7+ in-Nest cryptographic acceleration. |
314 | module supports acceleration for AES and SHA2 algorithms. If you | 306 | |
315 | choose 'M' here, this module will be called nx_crypto. | 307 | if CRYPTO_DEV_NX |
308 | source "drivers/crypto/nx/Kconfig" | ||
309 | endif | ||
316 | 310 | ||
317 | config CRYPTO_DEV_UX500 | 311 | config CRYPTO_DEV_UX500 |
318 | tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" | 312 | tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" |