diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/Kconfig | 20 | ||||
-rw-r--r-- | drivers/crypto/nx/Kconfig | 17 | ||||
-rw-r--r-- | drivers/crypto/nx/Makefile | 2 |
3 files changed, 25 insertions, 14 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 7d74d092aa8..662588a1c41 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" |
diff --git a/drivers/crypto/nx/Kconfig b/drivers/crypto/nx/Kconfig new file mode 100644 index 00000000000..dedde535024 --- /dev/null +++ b/drivers/crypto/nx/Kconfig | |||
@@ -0,0 +1,17 @@ | |||
1 | config CRYPTO_DEV_NX_ENCRYPT | ||
2 | tristate "Encryption acceleration support" | ||
3 | depends on PPC64 && IBMVIO | ||
4 | default y | ||
5 | select CRYPTO_AES | ||
6 | select CRYPTO_CBC | ||
7 | select CRYPTO_ECB | ||
8 | select CRYPTO_CCM | ||
9 | select CRYPTO_GCM | ||
10 | select CRYPTO_AUTHENC | ||
11 | select CRYPTO_XCBC | ||
12 | select CRYPTO_SHA256 | ||
13 | select CRYPTO_SHA512 | ||
14 | help | ||
15 | Support for Power7+ in-Nest encryption acceleration. This | ||
16 | module supports acceleration for AES and SHA2 algorithms. If you | ||
17 | choose 'M' here, this module will be called nx_crypto. | ||
diff --git a/drivers/crypto/nx/Makefile b/drivers/crypto/nx/Makefile index 411ce59c80d..7f110e460da 100644 --- a/drivers/crypto/nx/Makefile +++ b/drivers/crypto/nx/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-$(CONFIG_CRYPTO_DEV_NX) += nx-crypto.o | 1 | obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o |
2 | nx-crypto-objs := nx.o \ | 2 | nx-crypto-objs := nx.o \ |
3 | nx_debugfs.o \ | 3 | nx_debugfs.o \ |
4 | nx-aes-cbc.o \ | 4 | nx-aes-cbc.o \ |