1
linux/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 staging: ccree: remove descriptor context definitions 2017-06-04 10:16:26 +02:00
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 staging: ccree: remove custom bitfield macros 2017-06-04 10:16:25 +02:00
cc_regs.h staging: ccree: remove spurious blank line 2017-06-04 10:16:26 +02:00
dx_crys_kernel.h staging: ccree: fix wrong whitespace usage 2017-06-04 10:16:26 +02:00
dx_host.h staging: ccree: fix wrong whitespace usage 2017-06-04 10:16:26 +02:00
dx_reg_base_host.h
dx_reg_common.h
hash_defs.h staging: ccree: remove dead code 2017-06-04 10:16:25 +02:00
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 staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
ssi_cipher.c staging: ccree: save ciphertext for CTS IV 2017-08-23 16:22:35 -07:00
ssi_cipher.h staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
ssi_config.h staging: ccree: add DT bus coherency detection 2017-06-25 16:29:15 +02:00
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 staging: ccree: fix pointer location 2017-06-29 16:38:51 +02:00
ssi_ivgen.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_ivgen.h staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
ssi_pm.c staging: ccree: remove func name from log messages 2017-07-27 21:54:06 -07:00
ssi_pm.h staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
ssi_request_mgr.c staging: ccree: Use sizeof(variable) in memory allocs 2017-08-16 15:10:42 -07:00
ssi_request_mgr.h staging: ccree: fix missing or redundant spaces 2017-06-29 16:38:50 +02:00
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 staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
ssi_sysfs.c staging: ccree: remove whitespace before a quoted newline 2017-07-16 08:41:02 +02:00
ssi_sysfs.h staging: ccree: remove/add (un)needed blank lines 2017-06-29 16:38:51 +02:00
TODO