linux/drivers/crypto
Lee Nipper 7260042b2d crypto: talitos - fix bug in sg_copy_end_to_buffer
In function sg_copy_end_to_buffer, too much data
is copied when a segment in the scatterlist
has .length greater than the requested copy length.

This patch adds the limit checks to fix this bug of over copying,
which affected only the ahash algorithms.

Signed-off-by: Lee Nipper <lee.nipper@gmail.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2010-07-19 14:11:24 +08:00
..
amcc crypto: crypto4xx - Fix build breakage 2010-06-03 16:57:24 +10:00
geode-aes.c crypto: geode-aes - Fix some code style issues 2010-04-19 21:02:41 +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 - Rename ablkcipher_walk to hifn_cipher_walk 2010-05-19 13:56:37 +10:00
ixp4xx_crypto.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Kconfig crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
Makefile crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
mv_cesa.c crypto: mv_cesa - Use resource_size 2010-05-14 14:58:05 +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 n2_crypto: Plumb fallback ahash requests properly. 2010-05-25 17:37:15 -07:00
n2_core.h crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
omap-sham.c crypto: omap - sha1 & md5 driver 2010-05-03 11:10:59 +08:00
padlock-aes.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
padlock-sha.c crypto: padlock-sha - Add import/export support 2010-02-02 06:50:25 +11:00
padlock.h
talitos.c crypto: talitos - fix bug in sg_copy_end_to_buffer 2010-07-19 14:11:24 +08:00
talitos.h crypto: talitos - add support for sha224 2010-05-19 19:21:53 +10:00