linux-uconsole/drivers/crypto
Herbert Xu 86a48e105f crypto: padlock - Fix AES-CBC handling on odd-block-sized input
commit c054a076a1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:27:10 -08:00
..
amcc crypto: crypto4xx - Disable SHA implementation 2009-07-15 15:11:08 +08:00
geode-aes.c [CRYPTO] geode: Add __dev{init,exit} annotations 2008-01-11 08:16:38 +11: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 - fix __dev{init,exit} markings 2009-06-02 14:04:59 +10:00
ixp4xx_crypto.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2009-05-17 15:48:05 -07:00
Kconfig crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
Makefile crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.c crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.h crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
padlock-aes.c crypto: padlock - Fix AES-CBC handling on odd-block-sized input 2010-12-09 13:27:10 -08:00
padlock-sha.c crypto: padlock-sha - Add import/export support 2010-02-23 07:37:54 -08:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00
talitos.c crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00
talitos.h crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00