kernel-ark/drivers/staging/ccree
Gilad Ben-Yossef 737aed947f staging: ccree: save ciphertext for CTS IV
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: 302ef8ebb4 ("Add CryptoCell skcipher support")
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-23 16:22:35 -07:00
..
Documentation/devicetree/bindings/crypto
cc_crypto_ctx.h
cc_hal.h
cc_hw_queue_defs.h staging: ccree: move comment to fit coding style 2017-07-16 08:41:02 +02:00
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 staging: ccree: move FIPS support to kernel infrastructure 2017-07-16 08:40:57 +02:00
Makefile staging: ccree: move FIPS support to kernel infrastructure 2017-07-16 08:40:57 +02:00
ssi_aead.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_aead.h staging: ccree: CamelCase to snake_case in aead struct 2017-07-16 08:41:01 +02:00
ssi_buffer_mgr.c staging: ccree: Fix alignment issues in ssi_buffer_mgr.c 2017-07-27 21:53:21 -07:00
ssi_buffer_mgr.h
ssi_cipher.c staging: ccree: save ciphertext for CTS IV 2017-08-23 16:22:35 -07:00
ssi_cipher.h
ssi_config.h
ssi_driver.c staging: ccree: constify dev_pm_ops structures. 2017-08-16 15:10:42 -07:00
ssi_driver.h staging: ccree: move FIPS support to kernel infrastructure 2017-07-16 08:40:57 +02:00
ssi_fips.c staging: ccree: move FIPS support to kernel infrastructure 2017-07-16 08:40:57 +02:00
ssi_fips.h staging: ccree: move FIPS support to kernel infrastructure 2017-07-16 08:40:57 +02:00
ssi_hash.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_hash.h
ssi_ivgen.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_ivgen.h
ssi_pm.c staging: ccree: remove func name from log messages 2017-07-27 21:54:06 -07:00
ssi_pm.h
ssi_request_mgr.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_request_mgr.h
ssi_sram_mgr.c staging: ccree: Fix alignment issues in ssi_sram_mgr.c 2017-07-16 08:40:58 +02:00
ssi_sram_mgr.h
ssi_sysfs.c staging: ccree: remove whitespace before a quoted newline 2017-07-16 08:41:02 +02:00
ssi_sysfs.h
TODO