Star64_linux/drivers/crypto/ccree
Gilad Ben-Yossef 6f17e00f77 crypto: ccree - read next IV from HW
We were computing the next IV in software instead of reading it from HW
on the premise that this can be quicker due to the small size of IVs but
this proved to be much more hassle and bug ridden than expected.

Move to reading the next IV as computed by the HW.

This fixes a number of issue with next IV being wrong for OFB, CTS-CBC
and probably most of the other ciphers as well.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-04-25 15:38:13 +08:00
..
cc_aead.c crypto: ccree - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:14:59 +08:00
cc_aead.h crypto: ccree - add AEAD support 2018-02-15 23:26:42 +08:00
cc_buffer_mgr.c crypto: ccree - read next IV from HW 2019-04-25 15:38:13 +08:00
cc_buffer_mgr.h crypto: ccree - add AEAD support 2018-02-15 23:26:42 +08:00
cc_cipher.c crypto: ccree - read next IV from HW 2019-04-25 15:38:13 +08:00
cc_cipher.h crypto: ccree - read next IV from HW 2019-04-25 15:38:13 +08:00
cc_crypto_ctx.h crypto: ccree - add CPP completion handling 2019-04-25 15:38:13 +08:00
cc_debugfs.c crypto: ccree - no need to check return value of debugfs_create functions 2019-02-01 14:42:03 +08:00
cc_debugfs.h crypto: ccree - no need to check return value of debugfs_create functions 2019-02-01 14:42:03 +08:00
cc_driver.c crypto: ccree - add CPP completion handling 2019-04-25 15:38:13 +08:00
cc_driver.h crypto: ccree - add CPP completion handling 2019-04-25 15:38:13 +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 - add support for CryptoCell 703 2018-12-07 14:14:59 +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 - add CPP completion handling 2019-04-25 15:38:13 +08:00
cc_hw_queue_defs.h crypto: ccree - adapt CPP descriptor to new HW 2019-04-25 15:38:13 +08:00
cc_ivgen.c
cc_ivgen.h
cc_kernel_regs.h crypto: ccree - adapt CPP descriptor to new HW 2019-04-25 15:38:13 +08:00
cc_lli_defs.h
cc_pm.c crypto: ccree - fix resume race condition on init 2019-02-08 15:28:02 +08:00
cc_pm.h crypto: ccree - add missing inline qualifier 2019-02-22 12:40:56 +08:00
cc_request_mgr.c crypto: ccree - add CPP completion handling 2019-04-25 15:38:13 +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