android_kernel_xiaomi_sdm845/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
geode-aes.h
hifn_795x.c
ixp4xx_crypto.c
Kconfig
Makefile
mv_cesa.c
mv_cesa.h
n2_asm.S
n2_core.c n2_crypto: Plumb fallback ahash requests properly. 2010-05-25 17:37:15 -07:00
n2_core.h
omap-sham.c
padlock-aes.c
padlock-sha.c
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