diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-06 14:49:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-06 14:49:44 -0700 |
commit | fe2d5295a11e2ab2d6f4e7ea074816000b32eba3 (patch) | |
tree | 6887fb3b2f406d5ed1247e7c77ef34f20a345e6d /drivers/ide | |
parent | b69aee04fbfc027fc4ddaddc809ea8711cef9511 (diff) | |
download | op-kernel-dev-fe2d5295a11e2ab2d6f4e7ea074816000b32eba3.zip op-kernel-dev-fe2d5295a11e2ab2d6f4e7ea074816000b32eba3.tar.gz |
[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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions