diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-09 19:42:51 -0700 |
---|---|---|
committer | Chris Wright <chrisw@osdl.org> | 2005-09-09 19:42:51 -0700 |
commit | e381a0a1169713ef4494d22693896e781b83fcbd (patch) | |
tree | bff3a4392aedf358ce7dab046db6739de9166d01 /drivers | |
parent | a49567a4dbfd414f19e5bf828a4b2c540f164ea8 (diff) |
[PATCH] Fix boundary check in standard multi-block cipher processors
[CRYPTO] Fix boundary check in standard multi-block cipher processors
Fixes Bug 5194 (IPSec related Oops in 2.6.13).
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 <herbert@gondor.apana.org.au>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions