android_kernel_oneplus_msm8998/drivers/crypto/caam
Pankaj Gupta ef3e805c94 crypto: caam - fixed handling of sg list
commit 42e95d1f10dcf8b18b1d7f52f7068985b3dc5b79 upstream.

when the source sg contains more than 1 fragment and
destination sg contains 1 fragment, the caam driver
mishandle the buffers to be sent to caam.

Fixes: f2147b88b2 ("crypto: caam - Convert GCM to new AEAD interface")
Cc: <stable@vger.kernel.org> # 4.2+
Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Signed-off-by: Arun Pathak <arun.pathak@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 08:44:32 +01:00
..
caamalg.c crypto: caam - fixed handling of sg list 2019-03-23 08:44:32 +01:00
caamhash.c crypto: caam - fix signals handling 2017-07-21 07:44:59 +02:00
caamrng.c
compat.h
ctrl.c crypto: caam - fix endless loop when DECO acquire fails 2018-02-16 20:09:45 +01:00
ctrl.h
desc.h
desc_constr.h
error.c
error.h
intern.h
jr.c crypto: caam - fix caam_jr_alloc() ret code 2016-06-01 12:15:49 -07:00
jr.h
Kconfig
key_gen.c crypto: caam - fix signals handling 2017-07-21 07:44:59 +02:00
key_gen.h
Makefile
pdb.h
regs.h
sg_sw_sec4.h