linux/drivers/crypto
Horia Geanta 60542505b0 crypto: talitos - fix icv management on outbound direction
For IPsec encryption, in the case when:
-the input buffer is fragmented (edesc->src_nents > 0)
-the output buffer is not fragmented (edesc->dst_nents = 0)
the ICV is not output in the link table, but after the encrypted payload.

Copying the ICV must be avoided in this case; consequently the condition
edesc->dma_len > 0 must be more specific, i.e. must depend on the type
of the output buffer - fragmented or not.

Testing was performed by modifying testmgr to support src != dst,
since currently native kernel IPsec does in-place encryption
(src == dst).

Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2012-08-28 23:56:26 +08:00
..
amcc
caam crypto: caam - set descriptor sharing type to SERIAL 2012-08-01 17:47:31 +08:00
nx crypto: nx - Remove virt_to_abs() usage in nx-842.c 2012-08-20 16:28:12 +08:00
ux500 PM / crypto / ux500: Use struct dev_pm_ops for power management 2012-07-10 21:37:33 +02:00
atmel-aes-regs.h crypto: atmel - add Atmel AES driver 2012-07-11 11:07:40 +08:00
atmel-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
atmel-sha-regs.h crypto: atmel - add Atmel SHA1/SHA256 driver 2012-07-11 11:08:28 +08:00
atmel-sha.c crypto: atmel - add Atmel SHA1/SHA256 driver 2012-07-11 11:08:28 +08:00
atmel-tdes-regs.h crypto: atmel - add Atmel DES/TDES driver 2012-07-11 11:08:14 +08:00
atmel-tdes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
bfin_crc.c crypto: bfin_crc - CRC hardware driver for BF60x family processors. 2012-06-12 16:37:19 +08:00
geode-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
geode-aes.h
hifn_795x.c
ixp4xx_crypto.c
Kconfig crypto: atmel - Remove possible typo error 2012-08-20 16:28:13 +08:00
Makefile crypto: atmel - add Atmel SHA1/SHA256 driver 2012-07-11 11:08:28 +08:00
mv_cesa.c ARM: SoC fixes 2012-07-26 20:29:52 -07:00
mv_cesa.h
n2_asm.S
n2_core.c n2_crypto: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:39:12 -04:00
n2_core.h
omap-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
omap-sham.c
padlock-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
padlock-sha.c
picoxcell_crypto_regs.h
picoxcell_crypto.c
s5p-sss.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
talitos.c crypto: talitos - fix icv management on outbound direction 2012-08-28 23:56:26 +08:00
talitos.h crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms 2012-07-11 11:08:29 +08:00
tegra-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
tegra-aes.h