linux-hardened/drivers/crypto
Horia Geant? 4aad0cc5c3 crypto: caam - fix rfc4106 encap shared descriptor
The encap shared descriptor was changed to use the new IV convention.
In the process some commands were shifted, making the output length
zero, caam effectively writing garbage in dst.

While here, update the decap descriptor to execute the "write" commands
before the "read"s (as it previously was).
This makes sure the input fifo is drained before becoming full.

Fixes: 46218750d5 ("crypto: caam - Use new IV convention")
Signed-off-by: Horia Geant? <horia.geanta@freescale.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-07-31 15:17:33 +08:00
..
amcc crypto: amcc - remove incorrect __init/__exit markups 2015-03-12 01:11:07 +11:00
caam crypto: caam - fix rfc4106 encap shared descriptor 2015-07-31 15:17:33 +08:00
ccp crypto: ccp - Provide support to autoload CCP driver 2015-07-06 16:32:01 +08:00
marvell crypto: marvell/cesa - Drop owner assignment from platform_driver 2015-07-14 14:56:48 +08:00
nx crypto: nx - use be32_to_cpu for __be32 field in debug msg 2015-07-30 21:49:41 +08:00
qat crypto: qat - remove unnecessary list iteration 2015-07-28 15:03:35 +08:00
qce crypto: replace scatterwalk_sg_next with sg_next 2015-01-26 11:34:22 +11:00
sunxi-ss crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
ux500 crypto: drivers - Fix Kconfig selects 2015-06-18 14:45:36 +08:00
vmx crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions 2015-07-14 14:56:48 +08:00
atmel-aes-regs.h crypto: atmel - add Atmel AES driver 2012-07-11 11:07:40 +08:00
atmel-aes.c crypto: atmel-aes - correct usage of dma_sync_* API 2015-04-08 22:20:05 +08:00
atmel-sha-regs.h crypto: atmel-sha - add support for latest release of the IP (0x410) 2013-03-10 16:46:42 +08:00
atmel-sha.c crypto: atmel-sha - correct the max burst size 2015-04-08 22:20:03 +08:00
atmel-tdes-regs.h crypto: atmel-tdes - add support for latest release of the IP (0x700) 2013-03-10 16:46:42 +08:00
atmel-tdes.c crypto: atmel-tdes - initialize spinlock in probe 2015-04-08 22:20:03 +08:00
bfin_crc.c crypto: replace scatterwalk_sg_next with sg_next 2015-01-26 11:34:22 +11:00
bfin_crc.h crypto: bfin_crc - access crc registers by readl and writel functions 2014-04-16 20:40:15 +08:00
geode-aes.c crypto: geode - Don't use tfm->__crt_alg->cra_name directly 2014-05-22 21:03:13 +08:00
geode-aes.h crypto: geode - Consistently use AES_KEYSIZE_128 2014-05-22 21:03:12 +08:00
hifn_795x.c crypto: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
img-hash.c crypto: img-hash - shift wrapping bug in img_hash_hw_init() 2015-03-23 22:06:50 +11:00
ixp4xx_crypto.c crypto: ixp4xx - Use crypto_aead_maxauthsize 2015-05-22 11:25:53 +08:00
Kconfig crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
Makefile crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
mv_cesa.c crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename 2015-07-03 11:37:02 -07:00
mv_cesa.h crypto: mv_cesa - Add missing #define 2014-08-29 21:46:36 +08:00
mxs-dcp.c crypto: mxs-dcp - fix type of ret for wait_for_completion_timeout 2015-02-28 23:31:36 +13:00
n2_asm.S crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
n2_core.c Merge branch 'mvebu/drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc 2015-06-19 22:07:07 +08:00
n2_core.h crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
omap-aes.c crypto: omap-aes - Use BIT() macro 2015-07-08 15:18:46 +08:00
omap-des.c crypto: omap-des - Fix unmapping of dma channels 2015-07-06 16:20:37 +08:00
omap-sham.c crypto: omap-sham - Add support for omap3 devices 2015-05-18 12:29:22 +08:00
padlock-aes.c x86/fpu: Rename i387.h to fpu/api.h 2015-05-19 15:47:30 +02:00
padlock-sha.c x86/fpu: Rename i387.h to fpu/api.h 2015-05-19 15:47:30 +02:00
picoxcell_crypto.c crypto: picoxcell - Update to the current clk API 2015-06-21 19:59:22 +08:00
picoxcell_crypto_regs.h crypto: picoxcell - add support for the picoxcell crypto engines 2011-02-21 22:42:40 +11:00
s5p-sss.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
sahara.c crypto: sahara - propagate the error on clk_disable_unprepare() failure 2015-06-21 19:59:28 +08:00
talitos.c crypto: talitos - static code checker fixes 2015-05-13 10:31:57 +08:00
talitos.h crypto: talitos - implement scatter/gather copy for SEC1 2015-04-21 09:14:42 +08:00