linux_dsm_epyc7002/drivers/crypto/ccree
Gilad Ben-Yossef f53ad3e1b3 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>
2018-08-03 18:06:05 +08:00
..
cc_aead.c crypto: ccree - drop useless type flag during reg 2018-08-03 18:06:05 +08:00
cc_aead.h crypto: ccree - add AEAD support 2018-02-15 23:26:42 +08:00
cc_buffer_mgr.c crypto: ccree - remove cipher ivgen left overs 2018-08-03 18:06:05 +08:00
cc_buffer_mgr.h crypto: ccree - add AEAD support 2018-02-15 23:26:42 +08:00
cc_cipher.c crypto: ccree - allow bigger than sector XTS op 2018-08-03 18:06:05 +08:00
cc_cipher.h crypto: ccree - remove cipher ivgen left overs 2018-08-03 18:06:05 +08:00
cc_crypto_ctx.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_debugfs.c crypto: ccree - correct host regs offset 2018-05-31 00:13:49 +08:00
cc_debugfs.h
cc_driver.c crypto: ccree - rate limit debug print 2018-07-09 00:33:36 +08:00
cc_driver.h crypto: ccree - drop useless type flag during reg 2018-08-03 18:06:05 +08:00
cc_fips.c crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_fips.h crypto: ccree - add FIPS support 2018-02-15 23:26:42 +08:00
cc_hash.c crypto: ccree - fix finup 2018-07-09 00:33:35 +08:00
cc_hash.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_host_regs.h crypto: ccree - correct host regs offset 2018-05-31 00:13:49 +08:00
cc_hw_queue_defs.h crypto: ccree - remove unused enums 2018-03-31 01:34:19 +08:00
cc_ivgen.c
cc_ivgen.h
cc_kernel_regs.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_lli_defs.h
cc_pm.c crypto: ccree - add ahash support 2018-02-15 23:26:41 +08:00
cc_pm.h
cc_request_mgr.c crypto: ccree - replace memset+kfree with kzfree 2018-03-03 00:03:16 +08:00
cc_request_mgr.h
cc_sram_mgr.c crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_sram_mgr.h
Makefile crypto: ccree - add FIPS support 2018-02-15 23:26:42 +08:00