kernel-ark/drivers/crypto
Herbert Xu c054a076a1 crypto: padlock - Fix AES-CBC handling on odd-block-sized input
On certain VIA chipsets AES-CBC requires the input/output to be
a multiple of 64 bytes.  We had a workaround for this but it was
buggy as it sent the whole input for processing when it is meant
to only send the initial number of blocks which makes the rest
a multiple of 64 bytes.

As expected this causes memory corruption whenever the workaround
kicks in.

Reported-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2010-11-04 14:38:39 -04:00
..
amcc Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2010-10-24 12:44:34 -07:00
geode-aes.c crypto: geode_aes - Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used) 2010-07-19 13:50:21 +08:00
geode-aes.h [CRYPTO] geode: do not copy the IV too often 2008-01-11 08:16:26 +11:00
hifn_795x.c crypto: hifn_795x - use cancel_delayed_work_sync() 2010-10-19 20:50:23 +08:00
ixp4xx_crypto.c IXP4xx: Fix ixp4xx_crypto little-endian operation. 2010-05-27 13:02:42 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2010-10-24 12:44:34 -07:00
Makefile crypto: Makefile - replace the use of <module>-objs with <module>-y 2010-10-19 20:52:26 +08:00
mv_cesa.c crypto: mv_cesa - fixup error handling in mv_probe() 2010-05-26 10:45:22 +10:00
mv_cesa.h crypto: mv_cesa - Add sha1 and hmac(sha1) async hash drivers 2010-04-13 16:50:49 +08:00
n2_asm.S crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
n2_core.c crypto: n2 - dubious error check 2010-10-25 19:25:42 -04:00
n2_core.h crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
omap-aes.c crypto: omap-aes - OMAP2/3 AES hw accelerator driver 2010-09-03 19:16:02 +08:00
omap-sham.c crypto: omap-sham - Adjust DMA parameters 2010-09-03 19:20:19 +08:00
padlock-aes.c crypto: padlock - Fix AES-CBC handling on odd-block-sized input 2010-11-04 14:38:39 -04:00
padlock-sha.c crypto: padlock-sha - Add import/export support 2010-02-02 06:50:25 +11:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00
talitos.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2010-10-24 12:44:34 -07:00
talitos.h crypto: talitos - add support for sha224 2010-05-19 19:21:53 +10:00