summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRadu Solea <radu.solea@nxp.com>2018-10-02 19:01:52 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 15:54:46 +0100
commitb88fa52436cf15db28e65b75e9ed6fc5a4d9b0ab (patch)
tree1a32708c62e9fd531d500159f12ca1db76fd8da3 /net/unix/af_unix.c
parent33378afbd12b2e7f10b911dd2869b0ff7b21b1ed (diff)
crypto: mxs-dcp - Fix AES issues
[ Upstream commit fadd7a6e616b89c7f4f7bfa7b824f290bab32c3c ] The DCP driver does not obey cryptlen, when doing android CTS this results in passing to hardware input stream lengths which are not multiple of block size. Add a check to prevent future erroneous stream lengths from reaching the hardware and adjust the scatterlist walking code to obey cryptlen. Also properly copy-out the IV for chaining. Signed-off-by: Radu Solea <radu.solea@nxp.com> Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions