summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorAndrei Botila <andrei.botila@nxp.com>2020-02-28 13:46:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-17 11:50:18 +0300
commitf3f13f97944828b9a94dcddbc2d660df262f20e8 (patch)
treedf167e7d3480dcded9756ba53214a9063aa93b38 /drivers/phy
parentbc8413b626dde5d91fa4d6741a7da6727af38d27 (diff)
downloadlinux-f3f13f97944828b9a94dcddbc2d660df262f20e8.tar.xz
crypto: caam - update xts sector size for large input length
commit 3f142b6a7b573bde6cff926f246da05652c61eb4 upstream. Since in the software implementation of XTS-AES there is no notion of sector every input length is processed the same way. CAAM implementation has the notion of sector which causes different results between the software implementation and the one in CAAM for input lengths bigger than 512 bytes. Increase sector size to maximum value on 16 bits. Fixes: c6415a6016bf ("crypto: caam - add support for acipher xts(aes)") Cc: <stable@vger.kernel.org> # v4.12+ Signed-off-by: Andrei Botila <andrei.botila@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions