linux/drivers/crypto/caam
Victoria Milhoan dde20ae9d6 crypto: caam - Change kmalloc to kzalloc to avoid residual data
Since fields must be ORed in to operate correctly using any order of
operations, changed allocations of the combination of extended
descriptor structs + hardware scatterlists to use kzalloc() instead
of kmalloc(), so as to ensure that residue data would not be ORed in
with the correct data.

Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Tested-by: Horia Geantă <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-08-10 23:18:58 +08:00
..
caamalg.c crypto: caam - Change kmalloc to kzalloc to avoid residual data 2015-08-10 23:18:58 +08:00
caamhash.c crypto: caam - Change kmalloc to kzalloc to avoid residual data 2015-08-10 23:18:58 +08:00
caamrng.c crypto: caam - Add cache coherency support 2015-08-10 23:18:55 +08:00
compat.h crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
ctrl.c crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
ctrl.h
desc_constr.h crypto: caam - fix warning in APPEND_MATH_IMM_u64 2015-07-20 15:53:43 +08:00
desc.h crypto: caam - Modify Freescale CAAM driver Scatter Gather entry definition 2015-08-10 23:18:57 +08:00
error.c crypto: caam - don't emit ICV check failures to dmesg 2015-01-26 11:34:23 +11:00
error.h crypto: caam - Contain caam_jr_strstatus() ugliness 2014-05-08 21:58:06 +08:00
intern.h crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
jr.c crypto: caam - Add cache coherency support 2015-08-10 23:18:55 +08:00
jr.h
Kconfig crypto: drivers - Fix Kconfig selects 2015-06-18 14:45:36 +08:00
key_gen.c crypto: caam - fix missing dma unmap on error path 2014-11-06 23:10:20 +08:00
key_gen.h
Makefile
pdb.h
regs.h crypto: caam - Add setbits32/clrbits32/clrsetbits primitives for ARM compatibility 2015-08-10 23:18:56 +08:00
sg_sw_sec4.h crypto: caam - Modify Freescale CAAM driver Scatter Gather entry definition 2015-08-10 23:18:57 +08:00