linux-sg2042/drivers/crypto/caam
Kim Phillips a18b989a5c crypto: caam - fix operator precedence in shared descriptor allocation
setkey allocates 16 bytes (CAAM_CMD_SZ *
DESC_AEAD_SHARED_TEXT_LEN) shy of what is needed to
store the shared descriptor, resulting in memory
corruption.  Fix this.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-06-30 07:43:27 +08:00
..
Kconfig crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
Makefile crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
caamalg.c crypto: caam - fix operator precedence in shared descriptor allocation 2011-06-30 07:43:27 +08:00
compat.h crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
ctrl.c crypto: caam - platform_bus_type migration 2011-05-19 14:37:58 +10:00
desc.h crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
desc_constr.h crypto: caam - add support for sha512 variants of existing AEAD algorithms 2011-05-19 14:38:00 +10:00
error.c crypto: caam - ARRAY_SIZE() vs sizeof() 2011-03-27 10:45:17 +08:00
error.h crypto: caam - fix printk recursion for long error texts 2011-05-04 15:15:06 +10:00
intern.h crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
jr.c crypto: caam - handle interrupt lines shared across rings 2011-05-03 09:53:31 +10:00
jr.h crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
regs.h crypto: caam - fix queue interface detection 2011-05-03 09:53:35 +10:00