Hello
Hi, Am Micheal Ruthven please permit me to discuss an inheritance deal in my care as you share same second name,if interested. Reply to: ruthven02mich...@gmail.com for more details. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Crypto Update for 3.17
Hi Linus: Here is the crypto update for 3.17: * Added CTR(AES) optimisation on x86_64 using "by8" AVX. * Added arm64 support to ccp. * Added Intel QAT crypto driver. * Added Qualcomm crypto engine driver. * Added x86-64 assembly optimisation for 3DES. * Added CTR(3DES) speed test. * Moved FIPS panic from module.c so that it only triggers on crypto modules. * Added SP800-90A Deterministic Random Bit Generator (drbg). * Added more test vectors for ghash. * Tweaked self tests to catch partial block bugs. * Misc fixes. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Ard Biesheuvel (2): crypto: testmgr - add 4 more test vectors for GHASH crypto: testmgr - use chunks smaller than algo block size in chunk tests Arnd Bergmann (1): crypto: ux500 - make interrupt mode plausible Chen Gang (1): crypto: qce - Let 'DEV_QCE' depend on both HAS_DMA and HAS_IOMEM Dan Carpenter (2): crypto: caam - remove duplicate FIFOST_CONT_MASK define crypto: qat - remove an unneeded cast Eric Dumazet (2): crypto: lzo - try kmalloc() before vmalloc() crypto: lzo - use kvfree() helper Fengguang Wu (1): crypto: drbg - drbg_exit() can be static George Spelvin (1): crypto: crc32c-pclmul - Shrink K_table to 32-bit words Herbert Xu (2): crypto: qat - Fix build problem with O= crypto: drbg - Use Kconfig to ensure at least one RNG option is set Himangi Saraogi (1): crypto: caam - Introduce the use of the managed version of kzalloc Horia Geanta (12): crypto: testmgr - avoid DMA mapping from text, rodata, stack crypto: caam - set coherent_dma_mask crypto: caam - fix typo in dma_mapping_error crypto: caam - fix "failed to check map error" DMA warnings crypto: caam - fix DMA unmapping error in hash_digest_key crypto: caam - fix DMA direction mismatch in ahash_done_ctx_dst crypto: caam - fix DMA direction mismatch in ahash_done_ctx_src crypto: caam - fix uninitialized S/G table size in ahash_digest crypto: caam - fix uninitialized edesc->dst_dma field crypto: caam - fix uninitialized state->buf_dma field crypto: caam - set DK (Decrypt Key) bit only for AES accelerator crypto: caam - fix DECO RSR polling Jarod Wilson (2): crypto: fips - only panic on bad/missing crypto mod signatures crypto: testmgr - add missing spaces to drbg error strings Jean Delvare (1): crypto: drivers - Add 2 missing __exit_p Jussi Kivilinna (3): crypto: tcrypt - add ctr(des3_ede) sync speed test crypto: des_3des - add x86-64 assembly implementation crypto: des3_ede-x86_64 - fix parse warning Luca Clementi (1): crypto: tcrypt - print cra driver name in tcrypt tests output Marek Vasut (2): crypto: api - Move crypto_yield() to algapi.h crypto: skcipher - Don't use __crypto_dequeue_request() Mark Rustad (1): crypto: Resolve shadow warnings Nitesh Narayan Lal (2): crypto: dts - Addition of missing SEC compatibile property in c29x device tree crypto: caam - Enabling multiple caam debug support for C29x platform Pramod Gurav (2): crypto: atmel-sha - Switch to managed version of kzalloc crypto: atmel-tdes - Switch to managed version of kzalloc Ruchika Gupta (5): crypto: caam - Correct definition of registers in memory map crypto: caam - Configuration for platforms with virtualization enabled in CAAM crypto: caam - Add definition of rd/wr_reg64 for little endian platform crypto: caam - Correct the dma mapping for sg table crypto: caam - Check for CAAM block presence before registering with crypto layer Stanimir Varbanov (5): crypto: qce - Qualcomm crypto engine driver crypto: qce - Build Qualcomm crypto driver ARM: DT: qcom: Add Qualcomm crypto driver binding document crypto: qce - fix sparse warnings crypto: qce - add dependancy to Kconfig Stephan Mueller (16): crypto: drbg - SP800-90A Deterministic Random Bit Generator crypto: drbg - header file for DRBG crypto: drbg - DRBG kernel configuration options crypto: drbg - compile the DRBG code crypto: drbg - DRBG testmgr test vectors crypto: drbg - Add DRBG test code to testmgr crypto: drbg - simplify ordering of linked list in drbg_ctr_df crypto: drbg - fix memory corruption for AES192 crypto: drbg - use of kernel linked list crypto: drbg - cleanup of preprocessor macros crypto: drbg - Fix format string for debugging statements crypto: drbg - Call CTR DRBG DF function only once crypto: drbg - Select correct DRBG core for stdrng crypto: drbg - Mix a time stamp into DRBG state crypto: drbg - HMAC-SHA1 DRBG has crypto strength of 128 bits crypto: drbg - fix failure of generating multiple of 2**16 bytes Tadeusz Struk (22): crypto: qat - Intel(R) QAT driver framework crypto: qat
[PATCH 1/2] ARM: crypto: enable NEON SHA-1 for big endian
This tweaks the SHA-1 NEON code slightly so it works correctly under big endian, and removes the Kconfig condition preventing it from being selected if CONFIG_CPU_BIG_ENDIAN is set. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/sha1-armv7-neon.S | 8 crypto/Kconfig| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/crypto/sha1-armv7-neon.S b/arch/arm/crypto/sha1-armv7-neon.S index 50013c0e2864..49179e0653e6 100644 --- a/arch/arm/crypto/sha1-armv7-neon.S +++ b/arch/arm/crypto/sha1-armv7-neon.S @@ -150,9 +150,9 @@ #define W_PRECALC_00_15() \ add RWK, sp, #(WK_offs(0)); \ \ - vld1.32 {tmp0, tmp1}, [RDATA]!; \ + vld1.8{tmp0, tmp1}, [RDATA]!; \ vrev32.8 W0, tmp0; /* big => little */ \ - vld1.32 {tmp2, tmp3}, [RDATA]!; \ + vld1.8{tmp2, tmp3}, [RDATA]!; \ vadd.u32 tmp0, W0, curK; \ vrev32.8 W7, tmp1; /* big => little */ \ vrev32.8 W6, tmp2; /* big => little */ \ @@ -164,7 +164,7 @@ vst1.32 {tmp2, tmp3}, [RWK]; \ #define WPRECALC_00_15_0(i,W,W_m04,W_m08,W_m12,W_m16,W_m20,W_m24,W_m28) \ - vld1.32 {tmp0, tmp1}, [RDATA]!; \ + vld1.8{tmp0, tmp1}, [RDATA]!; \ #define WPRECALC_00_15_1(i,W,W_m04,W_m08,W_m12,W_m16,W_m20,W_m24,W_m28) \ add RWK, sp, #(WK_offs(0)); \ @@ -173,7 +173,7 @@ vrev32.8 W0, tmp0; /* big => little */ \ #define WPRECALC_00_15_3(i,W,W_m04,W_m08,W_m12,W_m16,W_m20,W_m24,W_m28) \ - vld1.32 {tmp2, tmp3}, [RDATA]!; \ + vld1.8{tmp2, tmp3}, [RDATA]!; \ #define WPRECALC_00_15_4(i,W,W_m04,W_m08,W_m12,W_m16,W_m20,W_m24,W_m28) \ vadd.u32 tmp0, W0, curK; \ diff --git a/crypto/Kconfig b/crypto/Kconfig index 749b1e05c490..deef2a4b6559 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -542,7 +542,7 @@ config CRYPTO_SHA1_ARM config CRYPTO_SHA1_ARM_NEON tristate "SHA1 digest algorithm (ARM NEON)" - depends on ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN + depends on ARM && KERNEL_MODE_NEON select CRYPTO_SHA1_ARM select CRYPTO_SHA1 select CRYPTO_HASH -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 2/2] ARM: crypto: enable NEON SHA-384/SHA-512 for big endian
The SHA-512 NEON works just fine under big endian, so remove the Kconfig condition preventing it from being selected if CONFIG_CPU_BIG_ENDIAN is set. Signed-off-by: Ard Biesheuvel --- crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index deef2a4b6559..d560c66125bd 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -602,7 +602,7 @@ config CRYPTO_SHA512_SPARC64 config CRYPTO_SHA512_ARM_NEON tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" - depends on ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN + depends on ARM && KERNEL_MODE_NEON select CRYPTO_SHA512 select CRYPTO_HASH help -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html