aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorKent Yoder <key@linux.vnet.ibm.com>2012-04-12 01:39:26 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-05-16 01:05:45 -0400
commitaef7b31c8833e7dd79c2320f6d0433861a6d3653 (patch)
tree7496b008b36d01adf21463096116254e8352f6e3 /drivers/crypto
parent175e0e23466185a861339796efc5b51958a48dc1 (diff)
powerpc/crypto: Build files for the nx device driver
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/Kconfig17
-rw-r--r--drivers/crypto/nx/Makefile11
2 files changed, 28 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index ab9abb46d01a..4319248761dd 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -295,4 +295,21 @@ config CRYPTO_DEV_TEGRA_AES
295 To compile this driver as a module, choose M here: the module 295 To compile this driver as a module, choose M here: the module
296 will be called tegra-aes. 296 will be called tegra-aes.
297 297
298config CRYPTO_DEV_NX
299 tristate "Support for Power7+ in-Nest cryptographic accleration"
300 depends on PPC64 && IBMVIO
301 select CRYPTO_AES
302 select CRYPTO_CBC
303 select CRYPTO_ECB
304 select CRYPTO_CCM
305 select CRYPTO_GCM
306 select CRYPTO_AUTHENC
307 select CRYPTO_XCBC
308 select CRYPTO_SHA256
309 select CRYPTO_SHA512
310 help
311 Support for Power7+ in-Nest cryptographic acceleration. This
312 module supports acceleration for AES and SHA2 algorithms. If you
313 choose 'M' here, this module will be called nx_crypto.
314
298endif # CRYPTO_HW 315endif # CRYPTO_HW
diff --git a/drivers/crypto/nx/Makefile b/drivers/crypto/nx/Makefile
new file mode 100644
index 000000000000..411ce59c80d1
--- /dev/null
+++ b/drivers/crypto/nx/Makefile
@@ -0,0 +1,11 @@
1obj-$(CONFIG_CRYPTO_DEV_NX) += nx-crypto.o
2nx-crypto-objs := nx.o \
3 nx_debugfs.o \
4 nx-aes-cbc.o \
5 nx-aes-ecb.o \
6 nx-aes-gcm.o \
7 nx-aes-ccm.o \
8 nx-aes-ctr.o \
9 nx-aes-xcbc.o \
10 nx-sha256.o \
11 nx-sha512.o