From: Herbert Xu Date: Tue, 6 Sep 2005 21:49:44 +0000 (-0700) Subject: [CRYPTO] Fix boundary check in standard multi-block cipher processors X-Git-Tag: v2.6.14-rc1~529^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe2d5295a11e2ab2d6f4e7ea074816000b32eba3;p=pandora-kernel.git [CRYPTO] Fix boundary check in standard multi-block cipher processors The boundary check in the standard multi-block cipher processors are broken when nbytes is not a multiple of bsize. In those cases it will always process an extra block. This patch corrects the check so that it processes at most nbytes of data. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed