The crypto API requires saving the last blocks of ciphertext
in req->info for use as IV for CTS mode. The ccree driver
was not doing this. This patch fixes that.
The bug was manifested with cts(cbc(aes)) mode in tcrypt tests.
Fixes:
|
||
---|---|---|
.. | ||
Documentation/devicetree/bindings/crypto | ||
cc_crypto_ctx.h | ||
cc_hal.h | ||
cc_hw_queue_defs.h | ||
cc_lli_defs.h | ||
cc_regs.h | ||
dx_crys_kernel.h | ||
dx_host.h | ||
dx_reg_base_host.h | ||
dx_reg_common.h | ||
hash_defs.h | ||
Kconfig | ||
Makefile | ||
ssi_aead.c | ||
ssi_aead.h | ||
ssi_buffer_mgr.c | ||
ssi_buffer_mgr.h | ||
ssi_cipher.c | ||
ssi_cipher.h | ||
ssi_config.h | ||
ssi_driver.c | ||
ssi_driver.h | ||
ssi_fips.c | ||
ssi_fips.h | ||
ssi_hash.c | ||
ssi_hash.h | ||
ssi_ivgen.c | ||
ssi_ivgen.h | ||
ssi_pm.c | ||
ssi_pm.h | ||
ssi_request_mgr.c | ||
ssi_request_mgr.h | ||
ssi_sram_mgr.c | ||
ssi_sram_mgr.h | ||
ssi_sysfs.c | ||
ssi_sysfs.h | ||
TODO |