[PATCH] arm64/crypto: use crypto instructions for generating AES key schedule

2014-10-22 Thread Ard Biesheuvel
This patch implements the AES key schedule generation using ARMv8 Crypto Instructions. It replaces the table based C implementation in aes_generic.ko, which means we can drop the dependency on that module. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- arch/arm64/crypto/Kconfig

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-22 Thread Arnd Bergmann
On Sunday 19 October 2014 16:16:22 LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com

[PATCH v3 01/59] crypto: ux500: Use dmaengine_terminate_all API

2014-10-22 Thread Maxime Ripard
We are removing the dmaengine_device_control API, that shouldn't even have been exposed in the first place. Change the callers to use the proper API. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/crypto/ux500/cryp/cryp_core.c | 4 ++--

Re: [PATCH] arm64/crypto: use crypto instructions for generating AES key schedule

2014-10-22 Thread Catalin Marinas
On Wed, Oct 22, 2014 at 08:15:32AM +0100, Ard Biesheuvel wrote: This patch implements the AES key schedule generation using ARMv8 Crypto Instructions. It replaces the table based C implementation in aes_generic.ko, which means we can drop the dependency on that module. I don't really

Re: [PATCH] arm64/crypto: use crypto instructions for generating AES key schedule

2014-10-22 Thread Ard Biesheuvel
On 22 October 2014 18:25, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Oct 22, 2014 at 08:15:32AM +0100, Ard Biesheuvel wrote: This patch implements the AES key schedule generation using ARMv8 Crypto Instructions. It replaces the table based C implementation in aes_generic.ko, which

Re: [RFC] tcp md5 use of alloc_percpu

2014-10-22 Thread Crestez Dan Leonard
On 10/22/2014 10:12 PM, Eric Dumazet wrote: On Wed, 2014-10-22 at 21:55 +0300, Crestez Dan Leonard wrote: Hello, It seems that the TCP MD5 feature allocates a percpu struct tcp_md5sig_pool and uses part of that memory for a scratch buffer to do crypto on. Here is the relevant code: static int