summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-07-24 16:12:46 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-03 12:06:05 +0200
commitf53ad3e1b35a558528f6d0041568016d1f623a9d (patch)
tree4c6f81ba55590b241c53df405f1ae43b20478a1e /arch
parentcrypto: ccree - zero all of request ctx before use (diff)
downloadlinux-f53ad3e1b35a558528f6d0041568016d1f623a9d.tar.xz
linux-f53ad3e1b35a558528f6d0041568016d1f623a9d.zip
crypto: ccree - allow bigger than sector XTS op
The ccree driver had a sanity check that we are not asked to encrypt an XTS buffer bigger than a sane sector size since XTS IV needs to include the sector number in the IV so this is not expected in any real use case. Unfortunately, this breaks cryptsetup benchmark test which has a synthetic performance test using 64k buffer of data with the same IV. Remove the sanity check and allow the user to hang themselves and/or run benchmarks if they so wish. Reported-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions