summaryrefslogtreecommitdiff
path: root/drivers/crypto/ixp4xx_crypto.c
diff options
context:
space:
mode:
authorAndrei Botila <andrei.botila@nxp.com>2020-02-28 13:46:48 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 04:28:25 +0300
commit3f142b6a7b573bde6cff926f246da05652c61eb4 (patch)
treef07ba788cba7c70053e2071205db61dd20c52c14 /drivers/crypto/ixp4xx_crypto.c
parent3a5a9e1ef37b030b836d92df8264f840988f4a38 (diff)
downloadlinux-3f142b6a7b573bde6cff926f246da05652c61eb4.tar.xz
crypto: caam - update xts sector size for large input length
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>
Diffstat (limited to 'drivers/crypto/ixp4xx_crypto.c')
0 files changed, 0 insertions, 0 deletions