From: Patrick McHardy Date: Thu, 8 May 2008 11:27:47 +0000 (+0800) Subject: [CRYPTO] tcrypt: Catch cipher destination memory corruption X-Git-Tag: v2.6.27-rc1~1107^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a558f1d4f8730f055b004b4c8ca1605aeb957daa;p=pandora-kernel.git [CRYPTO] tcrypt: Catch cipher destination memory corruption Check whether the destination buffer is written to beyond the last byte contained in the scatterlist. Also change IDX1 of the cross-page access offsets to a multiple of 4. This triggers a corruption in the HIFN driver and doesn't seem to negatively impact other testcases. Signed-off-by: Patrick McHardy Signed-off-by: Herbert Xu --- Reading git-diff-tree failed