crypto: Added Chelsio Menu to the Kconfig file
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 17 Aug 2016 07:03:06 +0000 (12:33 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 07:00:37 +0000 (00:00 -0700)
Adds the config entry for the Chelsio Crypto Driver, Makefile changes
for the same.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/chelsio/Kconfig [new file with mode: 0644]
drivers/crypto/chelsio/Makefile [new file with mode: 0644]

index 1af94e2d1a2596daa7f57f73b37a083ccd3c285d..9b035b7d7f4f9be60724b7b9678063f023923f64 100644 (file)
@@ -550,4 +550,6 @@ config CRYPTO_DEV_ROCKCHIP
          This driver interfaces with the hardware crypto accelerator.
          Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
 
+source "drivers/crypto/chelsio/Kconfig"
+
 endif # CRYPTO_HW
index 3c6432dd09d9de8e6ec499a1ab7454b2c3e8f395..ad7250fa1348a0c525c5894a6e8dd91676edf4d7 100644 (file)
@@ -31,3 +31,4 @@ obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
 obj-$(CONFIG_CRYPTO_DEV_VMX) += vmx/
 obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sunxi-ss/
 obj-$(CONFIG_CRYPTO_DEV_ROCKCHIP) += rockchip/
+obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chelsio/
diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig
new file mode 100644 (file)
index 0000000..4ce67fb
--- /dev/null
@@ -0,0 +1,19 @@
+config CRYPTO_DEV_CHELSIO
+       tristate "Chelsio Crypto Co-processor Driver"
+       depends on CHELSIO_T4
+       select CRYPTO_SHA1
+       select CRYPTO_SHA256
+       select CRYPTO_SHA512
+       ---help---
+         The Chelsio Crypto Co-processor driver for T6 adapters.
+
+         For general information about Chelsio and our products, visit
+         our website at <http://www.chelsio.com>.
+
+         For customer support, please visit our customer support page at
+         <http://www.chelsio.com/support.html>.
+
+         Please send feedback to <linux-bugs@chelsio.com>.
+
+         To compile this driver as a module, choose M here: the module
+         will be called chcr.
diff --git a/drivers/crypto/chelsio/Makefile b/drivers/crypto/chelsio/Makefile
new file mode 100644 (file)
index 0000000..bebdf06
--- /dev/null
@@ -0,0 +1,4 @@
+ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4
+
+obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
+chcr-objs :=  chcr_core.o chcr_algo.o