mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
f53ad3e1b3
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> |
||
---|---|---|
.. | ||
cc_aead.c | ||
cc_aead.h | ||
cc_buffer_mgr.c | ||
cc_buffer_mgr.h | ||
cc_cipher.c | ||
cc_cipher.h | ||
cc_crypto_ctx.h | ||
cc_debugfs.c | ||
cc_debugfs.h | ||
cc_driver.c | ||
cc_driver.h | ||
cc_fips.c | ||
cc_fips.h | ||
cc_hash.c | ||
cc_hash.h | ||
cc_host_regs.h | ||
cc_hw_queue_defs.h | ||
cc_ivgen.c | ||
cc_ivgen.h | ||
cc_kernel_regs.h | ||
cc_lli_defs.h | ||
cc_pm.c | ||
cc_pm.h | ||
cc_request_mgr.c | ||
cc_request_mgr.h | ||
cc_sram_mgr.c | ||
cc_sram_mgr.h | ||
Makefile |