[PATCH] crypto: caam: fix missing dma unmap on error path

2014-10-30 Thread Cristian Stoica
If dma mapping for dma_addr_out fails, the descriptor memory is freed but the previous dma mapping for dma_addr_in remains. This patch resolves the missing dma unmap and groups resource allocations at function start. Cc: sta...@vger.kernel.org # 3.13+ Signed-off-by: Cristian Stoica

[PATCH] crypto: caam - add support for rfc4543(gcm(aes))

2014-10-30 Thread Tudor Ambarus
Add AES-GMAC as an IPSec ESP mechanism to provide data origin authentication, but not confidentiality. This method is referred as ENCR_NULL_AUTH_AES_GMAC. Signed-off-by: Tudor Ambarus tudor.amba...@freescale.com --- drivers/crypto/caam/caamalg.c | 459 +-

[PATCH] crypto: caam - add support for rfc4543(gcm(aes))

2014-10-30 Thread Tudor Ambarus
Add AES-GMAC as an IPSec ESP mechanism to provide data origin authentication, but not confidentiality. This method is referred as ENCR_NULL_AUTH_AES_GMAC. Signed-off-by: Tudor Ambarus tudor.amba...@freescale.com --- removed a blank line introduced in aead_encrypt function.

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

2014-10-30 Thread Maxime Ripard
On Fri, Oct 24, 2014 at 08:52:26PM +0200, Corentin LABBE wrote: On 10/21/14 21:11, Maxime Ripard wrote: Hi Corentin, Thanks for resending it. On Sun, Oct 19, 2014 at 04:16:22PM +0200, LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The

Re: [PATCH] kernel crypto API interface specification

2014-10-30 Thread Marek Vasut
On Thursday, October 16, 2014 at 03:10:07 PM, Herbert Xu wrote: On Tue, Oct 14, 2014 at 09:46:50PM +0200, Stephan Mueller wrote: The update adds a complete interface documentation of the kernel crypto API. All cipher types supported by the kernel crypto API are documented. In addition,