Crypto Update for 3.16

2014-06-05 Thread Herbert Xu
Hi Linus: Here is the crypto update for 3.16: * Added test vectors for SHA/AES-CCM/DES-CBC/3DES-CBC. * Fixed a number of error-path memory leaks in tcrypt. * Fixed error-path memory leak in caam. * Removed unnecessary global mutex from mxs-dcp. * Added ahash walk interface that can actually be

[QUESTION] authenc(hmac(sha 1 or 256),cbc(aes)) fallback

2014-06-05 Thread Hsieh, Che-Min
Herbert: Did anyone report problem on the area of authen(hmac(sha1), cbc(aes)) fallback, since linux 3-10? I am working on android linux 3-10. Our hardware does not support aes 192. I am following the example from picoxcell_crypto.c. In the cra_init, driver does the following to allocate a

[PATCH V1 2/3] crypto: ccp - CCP device bindings documentation

2014-06-05 Thread Tom Lendacky
This patch provides the documentation of the device bindings for the AMD Cryptographic Coprocessor driver. Signed-off-by: Tom Lendacky thomas.lenda...@amd.com --- .../devicetree/bindings/crypto/amd-ccp.txt | 16 1 file changed, 16 insertions(+) create mode 100644

[PATCH V1 0/3] crypto: ccp - arm64 platform support

2014-06-05 Thread Tom Lendacky
The following series implements support for the CCP as a platform driver on ARM64. This patch series is based on the cryptodev-2.6 kernel tree. --- Tom Lendacky (3): crypto: ccp - Modify PCI support in prep for arm64 support crypto: ccp - CCP device bindings documentation

[PATCH V1 3/3] crypto: ccp - Add platform device support for arm64

2014-06-05 Thread Tom Lendacky
Add support for the CCP on arm64 as a platform device. Signed-off-by: Tom Lendacky thomas.lenda...@amd.com --- drivers/crypto/Kconfig|2 drivers/crypto/ccp/Makefile |5 + drivers/crypto/ccp/ccp-dev.c | 34 ++ drivers/crypto/ccp/ccp-dev.h |7 +

[PATCH V1 1/3] crypto: ccp - Modify PCI support in prep for arm64 support

2014-06-05 Thread Tom Lendacky
Modify the PCI device support in prep for supporting the CCP as a platform device for arm64. Signed-off-by: Tom Lendacky thomas.lenda...@amd.com --- drivers/crypto/ccp/ccp-dev.h |3 +-- drivers/crypto/ccp/ccp-pci.c | 39 ++- 2 files changed, 15

[RFC][PATCH 3/8 v4] crypto: Intel(R) QAT FW interface

2014-06-05 Thread Tadeusz Struk
This patch adds FW interface structure definitions. Acked-by: John Griffin john.grif...@intel.com Reviewed-by: Bruce W. Allan bruce.w.al...@intel.com Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com --- drivers/crypto/qat/qat_common/icp_qat_fw.h | 316

[RFC][PATCH 0/8 v4] crypto: Add support for Intel(R) QuickAssist

2014-06-05 Thread Tadeusz Struk
Hi, This patchset adds support for Intel(R) QuickAssist Technology (QAT) and DH895xCC hardware accelerator. First four patches add a common infractructure that will be used by all QAT devices. Patch five and six add a firmware loader module that is used to load the microcode to the acceleration

[RFC][PATCH 5/8 v4] crypto: Intel(R) QAT ucode part of fw loader

2014-06-05 Thread Tadeusz Struk
This patch adds microcode part of the firmware loader. v4 - splits FW loader part into two smaller patches. Acked-by: Bo Cui bo@intel.com Reviewed-by: Bruce W. Allan bruce.w.al...@intel.com Signed-off-by: Karen Xiang karen.xi...@intel.com Signed-off-by: Pingchaox Yang

[RFC][PATCH 7/8 v4] crypto: Intel(R) QAT DH895xcc accelerator

2014-06-05 Thread Tadeusz Struk
This patch adds DH895xCC hardware specific code. It hooks to the common infrastructure and provides acceleration for crypto algorithms. Acked-by: John Griffin john.grif...@intel.com Reviewed-by: Bruce W. Allan bruce.w.al...@intel.com Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com ---

[RFC][PATCH 8/8 v4] crypto: Update to makefiles

2014-06-05 Thread Tadeusz Struk
Update to makefiles etc. Don't update the firmware/Makefile yet since there is no FW binary in the crypto repo yet. This will be added later. v3 - removed change to ./firmware/Makefile Reviewed-by: Bruce W. Allan bruce.w.al...@intel.com Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com ---

Re: [PATCH] crypto/xor.c: use 2 pages for xor speed testing

2014-06-05 Thread Marek Vasut
On Thursday, June 05, 2014 at 03:11:33 AM, Amos Kong wrote: In crypto/xor.c: calibrate_xor_blocks(), we allocated total 4 pages to do xor speed testing, the BENCH_SIZE is 1 page, and we skipped 2 pages when we set b2. It seems that total 2 pages are enough without skipping 2 pages.