linux/drivers/crypto
Patrick McHardy 136f702f51 [HIFN]: Properly handle requests for less than the full scatterlist
The scatterlist may contain more data than the crypto request, causing
an underflow of the remaining byte count while walking the list.
    
Use the minimum of the scatterlist element size and the remaining byte
count specified in the crypto request to avoid this.
    
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-07-10 20:35:11 +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 [HIFN]: Properly handle requests for less than the full scatterlist 2008-07-10 20:35:11 +08:00
Kconfig [CRYPTO] padlock-aes: Use generic setkey function 2008-04-21 10:19:34 +08:00
Makefile [CRYPTO] hifn_795x: HIFN 795x driver 2008-01-11 08:16:01 +11:00
padlock-aes.c [CRYPTO] padlock-aes: Use generic setkey function 2008-04-21 10:19:34 +08:00
padlock-sha.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00